Skip to content

Commit

Permalink
add project
Browse files Browse the repository at this point in the history
  • Loading branch information
aithinker committed Jan 29, 2018
1 parent ab667e4 commit 6feb5a1
Show file tree
Hide file tree
Showing 347 changed files with 11,801 additions and 675 deletions.
Binary file added ESP_cam_qr pin.pdf
Binary file not shown.
876 changes: 202 additions & 674 deletions LICENSE

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions Makefile
@@ -0,0 +1,4 @@
PROJECT_NAME := esp32-cam-demo

include $(IDF_PATH)/make/project.mk

334 changes: 333 additions & 1 deletion README.md

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions build/app_trace/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(IDF_PATH)/components/app_trace/include
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/app_trace -lapp_trace
COMPONENT_LINKER_DEPS +=
COMPONENT_SUBMODULES +=
COMPONENT_LIBRARIES += app_trace
component-app_trace-build:
7 changes: 7 additions & 0 deletions build/app_update/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(IDF_PATH)/components/app_update/include
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/app_update -lapp_update
COMPONENT_LINKER_DEPS +=
COMPONENT_SUBMODULES +=
COMPONENT_LIBRARIES += app_update
component-app_update-build:
7 changes: 7 additions & 0 deletions build/aws_iot/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES +=
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/aws_iot
COMPONENT_LINKER_DEPS +=
COMPONENT_SUBMODULES +=
COMPONENT_LIBRARIES += aws_iot
component-aws_iot-build:
Binary file added build/bootloader/bootloader.bin
Binary file not shown.
7 changes: 7 additions & 0 deletions build/bootloader/bootloader_support/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(IDF_PATH)/components/bootloader_support/include $(IDF_PATH)/components/bootloader_support/include_priv
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/bootloader_support -lbootloader_support
COMPONENT_LINKER_DEPS +=
COMPONENT_SUBMODULES +=
COMPONENT_LIBRARIES += bootloader_support
component-bootloader_support-build:
1 change: 1 addition & 0 deletions build/bootloader/component_project_vars.mk
@@ -0,0 +1 @@
# COMPONENT_CONFIG_ONLY target sets no variables here
1 change: 1 addition & 0 deletions build/bootloader/esptool_py/component_project_vars.mk
@@ -0,0 +1 @@
# COMPONENT_CONFIG_ONLY target sets no variables here
7 changes: 7 additions & 0 deletions build/bootloader/log/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(IDF_PATH)/components/log/include
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/log -llog
COMPONENT_LINKER_DEPS +=
COMPONENT_SUBMODULES +=
COMPONENT_LIBRARIES += log
component-log-build:
7 changes: 7 additions & 0 deletions build/bootloader/main/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(PROJECT_PATH)/main/include
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/main -lmain -L $(PROJECT_PATH)/main -T esp32.bootloader.ld -T $(IDF_PATH)/components/esp32/ld/esp32.rom.ld -T $(IDF_PATH)/components/esp32/ld/esp32.rom.spiram_incompatible_fns.ld -T $(IDF_PATH)/components/esp32/ld/esp32.peripherals.ld -T esp32.bootloader.rom.ld
COMPONENT_LINKER_DEPS += $(PROJECT_PATH)/main/esp32.bootloader.ld $(IDF_PATH)/components/esp32/ld/esp32.rom.ld $(IDF_PATH)/components/esp32/ld/esp32.rom.spiram_incompatible_fns.ld $(IDF_PATH)/components/esp32/ld/esp32.peripherals.ld $(PROJECT_PATH)/main/esp32.bootloader.rom.ld
COMPONENT_SUBMODULES +=
COMPONENT_LIBRARIES += main
component-main-build:
7 changes: 7 additions & 0 deletions build/bootloader/micro-ecc/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(IDF_PATH)/components/micro-ecc/micro-ecc
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/micro-ecc -lmicro-ecc
COMPONENT_LINKER_DEPS +=
COMPONENT_SUBMODULES += $(IDF_PATH)/components/micro-ecc/micro-ecc
COMPONENT_LIBRARIES += micro-ecc
component-micro-ecc-build:
7 changes: 7 additions & 0 deletions build/bootloader/soc/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(IDF_PATH)/components/soc/esp32/include $(IDF_PATH)/components/soc/include
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/soc -lsoc
COMPONENT_LINKER_DEPS +=
COMPONENT_SUBMODULES +=
COMPONENT_LIBRARIES += soc
component-soc-build:
7 changes: 7 additions & 0 deletions build/bootloader/spi_flash/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(IDF_PATH)/components/spi_flash/include
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/spi_flash -lspi_flash
COMPONENT_LINKER_DEPS +=
COMPONENT_SUBMODULES +=
COMPONENT_LIBRARIES += spi_flash
component-spi_flash-build:
7 changes: 7 additions & 0 deletions build/bootloader_support/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(IDF_PATH)/components/bootloader_support/include
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/bootloader_support -lbootloader_support
COMPONENT_LINKER_DEPS +=
COMPONENT_SUBMODULES +=
COMPONENT_LIBRARIES += bootloader_support
component-bootloader_support-build:
7 changes: 7 additions & 0 deletions build/bt/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(IDF_PATH)/components/bt/include
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/bt -lbt
COMPONENT_LINKER_DEPS +=
COMPONENT_SUBMODULES +=
COMPONENT_LIBRARIES += bt
component-bt-build:
7 changes: 7 additions & 0 deletions build/camera/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(PROJECT_PATH)/components/camera/. $(PROJECT_PATH)/components/camera/include
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/camera -lcamera
COMPONENT_LINKER_DEPS +=
COMPONENT_SUBMODULES +=
COMPONENT_LIBRARIES += camera
component-camera-build:
7 changes: 7 additions & 0 deletions build/coap/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(IDF_PATH)/components/coap/port/include $(IDF_PATH)/components/coap/port/include/coap $(IDF_PATH)/components/coap/libcoap/include $(IDF_PATH)/components/coap/libcoap/include/coap
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/coap -lcoap
COMPONENT_LINKER_DEPS +=
COMPONENT_SUBMODULES += $(IDF_PATH)/components/coap/libcoap
COMPONENT_LIBRARIES += coap
component-coap-build:
7 changes: 7 additions & 0 deletions build/console/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(IDF_PATH)/components/console/.
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/console -lconsole
COMPONENT_LINKER_DEPS +=
COMPONENT_SUBMODULES +=
COMPONENT_LIBRARIES += console
component-console-build:
7 changes: 7 additions & 0 deletions build/cxx/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(IDF_PATH)/components/cxx/include
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/cxx -lcxx -u __cxa_guard_dummy -u __cxx_fatal_exception
COMPONENT_LINKER_DEPS +=
COMPONENT_SUBMODULES +=
COMPONENT_LIBRARIES += cxx
component-cxx-build:
7 changes: 7 additions & 0 deletions build/driver/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(IDF_PATH)/components/driver/include
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/driver -ldriver
COMPONENT_LINKER_DEPS +=
COMPONENT_SUBMODULES +=
COMPONENT_LIBRARIES += driver
component-driver-build:
Binary file added build/esp32-cam-demo.bin
Binary file not shown.
7 changes: 7 additions & 0 deletions build/esp32/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(IDF_PATH)/components/esp32/include
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/esp32 -lesp32 $(IDF_PATH)/components/esp32/libhal.a -L$(IDF_PATH)/components/esp32/lib -lcore -lrtc -lnet80211 -lpp -lwpa -lsmartconfig -lcoexist -lwps -lwpa2 -lespnow -lphy -L $(IDF_PATH)/components/esp32/ld -T esp32_out.ld -u ld_include_panic_highint_hdl -T esp32.common.ld -T esp32.rom.ld -T esp32.peripherals.ld -T esp32.rom.spiram_incompatible_fns.ld
COMPONENT_LINKER_DEPS += $(IDF_PATH)/components/esp32/lib/libcore.a $(IDF_PATH)/components/esp32/lib/librtc.a $(IDF_PATH)/components/esp32/lib/libnet80211.a $(IDF_PATH)/components/esp32/lib/libpp.a $(IDF_PATH)/components/esp32/lib/libwpa.a $(IDF_PATH)/components/esp32/lib/libsmartconfig.a $(IDF_PATH)/components/esp32/lib/libcoexist.a $(IDF_PATH)/components/esp32/lib/libwps.a $(IDF_PATH)/components/esp32/lib/libwpa2.a $(IDF_PATH)/components/esp32/lib/libespnow.a $(IDF_PATH)/components/esp32/lib/libphy.a $(IDF_PATH)/components/esp32/ld/esp32.common.ld $(IDF_PATH)/components/esp32/ld/esp32.rom.ld $(IDF_PATH)/components/esp32/ld/esp32.peripherals.ld $(IDF_PATH)/components/esp32/ld/esp32.rom.spiram_incompatible_fns.ld
COMPONENT_SUBMODULES += $(IDF_PATH)/components/esp32/lib
COMPONENT_LIBRARIES += esp32
component-esp32-build:
64 changes: 64 additions & 0 deletions build/esp32/esp32_out.ld
@@ -0,0 +1,64 @@
/* ESP32 Linker Script Memory Layout

This file describes the memory layout (memory blocks) as virtual
memory addresses.

esp32.common.ld contains output sections to link compiler output
into these memory blocks.

***

This linker script is passed through the C preprocessor to include
configuration options.

Please use preprocessor features sparingly! Restrict
to simple macros with numeric values, and/or #if/#endif blocks.
*/
/*
*
* Automatically generated file; DO NOT EDIT.
* Espressif IoT Development Framework Configuration
*
*/
/* If BT is not built at all */
MEMORY
{
/* All these values assume the flash cache is on, and have the blocks this uses subtracted from the length
of the various regions. The 'data access port' dram/drom regions map to the same iram/irom regions but
are connected to the data port of the CPU and eg allow bytewise access. */
/* IRAM for PRO cpu. Not sure if happy with this, this is MMU area... */
iram0_0_seg (RX) : org = 0x40080000, len = 0x20000
/* Even though the segment name is iram, it is actually mapped to flash
*/
iram0_2_seg (RX) : org = 0x400D0018, len = 0x330000-0x18
/*
(0x18 offset above is a convenience for the app binary image generation. Flash cache has 64KB pages. The .bin file
which is flashed to the chip has a 0x18 byte file header. Setting this offset makes it simple to meet the flash
cache MMU's constraint that (paddr % 64KB == vaddr % 64KB).)
*/
/* Shared data RAM, excluding memory reserved for ROM bss/data/stack.

Enabling Bluetooth & Trace Memory features in menuconfig will decrease
the amount of RAM available.

Note: Length of this section *should* be 0x50000, and this extra DRAM is available
in heap at runtime. However due to static ROM memory usage at this 176KB mark, the
additional static memory temporarily cannot be used.
*/
dram0_0_seg (RW) : org = 0x3FFB0000 + 0x0,
len = 0x2c200 - 0x0
/* Flash mapped constant data */
drom0_0_seg (R) : org = 0x3F400018, len = 0x400000-0x18
/* (See iram0_2_seg for meaning of 0x18 offset in the above.) */
/* RTC fast memory (executable). Persists over deep sleep.
*/
rtc_iram_seg(RWX) : org = 0x400C0000, len = 0x2000
/* RTC slow memory (data accessible). Persists over deep sleep.

Start of RTC slow memory is reserved for ULP co-processor code + data, if enabled.
*/
rtc_slow_seg(RW) : org = 0x50000000 + 0,
len = 0x1000 - 0
}
/* Heap ends at top of dram0_0_seg */
_heap_end = 0x40000000 - 0x0;
7 changes: 7 additions & 0 deletions build/esp_adc_cal/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(IDF_PATH)/components/esp_adc_cal/include
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/esp_adc_cal -lesp_adc_cal
COMPONENT_LINKER_DEPS +=
COMPONENT_SUBMODULES +=
COMPONENT_LIBRARIES += esp_adc_cal
component-esp_adc_cal-build:
1 change: 1 addition & 0 deletions build/esptool_py/component_project_vars.mk
@@ -0,0 +1 @@
# COMPONENT_CONFIG_ONLY target sets no variables here
7 changes: 7 additions & 0 deletions build/ethernet/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(IDF_PATH)/components/ethernet/include
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/ethernet -lethernet
COMPONENT_LINKER_DEPS +=
COMPONENT_SUBMODULES +=
COMPONENT_LIBRARIES += ethernet
component-ethernet-build:
7 changes: 7 additions & 0 deletions build/expat/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(IDF_PATH)/components/expat/port/include $(IDF_PATH)/components/expat/include/expat
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/expat -lexpat
COMPONENT_LINKER_DEPS +=
COMPONENT_SUBMODULES +=
COMPONENT_LIBRARIES += expat
component-expat-build:
7 changes: 7 additions & 0 deletions build/fatfs/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(IDF_PATH)/components/fatfs/src
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/fatfs -lfatfs
COMPONENT_LINKER_DEPS +=
COMPONENT_SUBMODULES +=
COMPONENT_LIBRARIES += fatfs
component-fatfs-build:
7 changes: 7 additions & 0 deletions build/freertos/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(IDF_PATH)/components/freertos/include
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/freertos -lfreertos -Wl,--undefined=uxTopUsedPriority
COMPONENT_LINKER_DEPS +=
COMPONENT_SUBMODULES +=
COMPONENT_LIBRARIES += freertos
component-freertos-build:
7 changes: 7 additions & 0 deletions build/heap/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(IDF_PATH)/components/heap/include
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/heap -lheap
COMPONENT_LINKER_DEPS +=
COMPONENT_SUBMODULES +=
COMPONENT_LIBRARIES += heap
component-heap-build:
7 changes: 7 additions & 0 deletions build/http_server/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(PROJECT_PATH)/components/http_server/.
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/http_server -lhttp_server
COMPONENT_LINKER_DEPS +=
COMPONENT_SUBMODULES +=
COMPONENT_LIBRARIES += http_server
component-http_server-build:
7 changes: 7 additions & 0 deletions build/idf_test/component_project_vars.mk
@@ -0,0 +1,7 @@
# Automatically generated build file. Do not edit.
COMPONENT_INCLUDES += $(IDF_PATH)/components/idf_test/include
COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/idf_test -lidf_test
COMPONENT_LINKER_DEPS +=
COMPONENT_SUBMODULES +=
COMPONENT_LIBRARIES += idf_test
component-idf_test-build:
Empty file.

0 comments on commit 6feb5a1

Please sign in to comment.