File tree Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -6,18 +6,9 @@ set(ENV{IDF_PATH} ${CMAKE_SOURCE_DIR}/esp-idf)
6
6
7
7
# The component list here determines what options we get in menuconfig and what the ninja file
8
8
# can build.
9
- set (COMPONENTS esptool_py soc driver log main esp-tls mbedtls mdns esp_event esp_adc_cal esp_netif esp_wifi lwip ulp wpa_supplicant freertos bt usb )
9
+ set (COMPONENTS esptool_py soc driver log main esp-tls mbedtls mdns esp_event esp_adc_cal esp_netif esp_wifi lwip ulp wpa_supplicant freertos bt usb esp32-camera esp_lcd )
10
10
11
- if ("${CIRCUITPY_ESPCAMERA} " )
12
- message ("Including esp32-camera" )
13
- set (EXTRA_COMPONENT_DIRS "esp32-camera" )
14
- list (APPEND COMPONENTS "esp32-camera" )
15
- endif ()
16
-
17
- if ("${CIRCUITPY_DOTCLOCKFRAMEBUFFER} " )
18
- message ("Including esp32-camera" )
19
- list (APPEND COMPONENTS "esp_lcd" )
20
- endif ()
11
+ list (APPEND EXTRA_COMPONENT_DIRS "esp32-camera" )
21
12
22
13
include ($ENV{IDF_PATH} /tools/cmake/project.cmake )
23
14
project (circuitpython )
Original file line number Diff line number Diff line change @@ -360,7 +360,7 @@ endif
360
360
do-sdkconfig : $(BUILD ) /esp-idf/config/sdkconfig.h
361
361
QSTR_GLOBAL_REQUIREMENTS += $(BUILD ) /esp-idf/config/sdkconfig.h
362
362
$(BUILD ) /esp-idf/config/sdkconfig.h : boards/$(BOARD ) /sdkconfig CMakeLists.txt | $(BUILD ) /esp-idf
363
- IDF_PATH=$(IDF_PATH ) cmake -S . -B $(BUILD ) /esp-idf -DSDKCONFIG=$(BUILD ) /esp-idf/sdkconfig -DSDKCONFIG_DEFAULTS=" $( SDKCONFIGS) " -DCMAKE_TOOLCHAIN_FILE=$(IDF_PATH ) /tools/cmake/toolchain-$(IDF_TARGET ) .cmake -DIDF_TARGET=$(IDF_TARGET ) -GNinja -DCIRCUITPY_ESPCAMERA= $( CIRCUITPY_ESPCAMERA ) -DCIRCUITPY_DOTCLOCKFRAMEBUFFER= $( CIRCUITPY_DOTCLOCKFRAMEBUFFER )
363
+ IDF_PATH=$(IDF_PATH ) cmake -S . -B $(BUILD ) /esp-idf -DSDKCONFIG=$(BUILD ) /esp-idf/sdkconfig -DSDKCONFIG_DEFAULTS=" $( SDKCONFIGS) " -DCMAKE_TOOLCHAIN_FILE=$(IDF_PATH ) /tools/cmake/toolchain-$(IDF_TARGET ) .cmake -DIDF_TARGET=$(IDF_TARGET ) -GNinja
364
364
365
365
# build a lib
366
366
# Adding -d explain -j 1 -v to the ninja line will output debug info
You can’t perform that action at this time.
0 commit comments