mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-13 23:16:55 +03:00
plaformio [env:esp32cam-dev] : Add task analysis & test for 8m spiram real support (#1818)
add support of TASK_ANALYSIS_ON test full support of 8mb spiram board (https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/himem.html)
This commit is contained in:
@@ -68,35 +68,58 @@
|
|||||||
monitor_rts = 0
|
monitor_rts = 0
|
||||||
monitor_dtr = 0
|
monitor_dtr = 0
|
||||||
|
|
||||||
[env:esp32cam-testing]
|
[env:esp32cam-dev]
|
||||||
extends = common:esp32-idf
|
extends = common:esp32-idf
|
||||||
board = node32s
|
board = node32s
|
||||||
board_build.flash_mode = qio
|
board_build.flash_mode = qio
|
||||||
build_flags =
|
build_flags =
|
||||||
;Add macro definition ENABLE_MQTT, ENABLE_INFLUXDB, DEBUG_DETAIL_ON
|
; ### common imported :
|
||||||
;if ENABLE_SOFTAP = disabled, set CONFIG_ESP_WIFI_SOFTAP_SUPPORT=n in sdkconfig.defaults to save 28k of flash
|
${common:esp32-idf.build_flags}
|
||||||
-D ENABLE_MQTT -D ENABLE_INFLUXDB -D ENABLE_SOFTAP
|
${flags:clangtidy.build_flags}
|
||||||
${common:esp32-idf.build_flags}
|
; ### Sofware options :
|
||||||
${flags:clangtidy.build_flags}
|
-D ENABLE_MQTT
|
||||||
-D CONFIG_ESP_TASK_WDT
|
-D ENABLE_INFLUXDB
|
||||||
;-D CONFIG_COMPILER_OPTIMIZATION_ASSERTION_LEVEL
|
;-D ENABLE_SOFTAP
|
||||||
-D CONFIG_SPIRAM
|
;### test options
|
||||||
-D CONFIG_ESP_TASK_WDT_TIMEOUT_S ; fix for CONFIG_ESP_INT_WDT_TIMEOUT_MS
|
-D CONFIG_ESP_TASK_WDT
|
||||||
framework = espidf
|
;-D CONFIG_COMPILER_OPTIMIZATION_ASSERTION_LEVEL
|
||||||
lib_ldf_mode = deep+
|
-D CONFIG_SPIRAM
|
||||||
platform = platformio/espressif32 @ 5.2.0
|
-D CONFIG_ESP_TASK_WDT_TIMEOUT_S ; fix for CONFIG_ESP_INT_WDT_TIMEOUT_MS
|
||||||
platform_packages =
|
; ### Debug options :
|
||||||
;platformio/framework-espidf @ 3.40402.0 (4.4.2)
|
-D DEBUG_DETAIL_ON
|
||||||
;platformio/framework-espidf@^3.50000.0
|
;Task analysis
|
||||||
;platformio/tool-cmake @ 3.16.4
|
-D TASK_ANALYSIS_ON
|
||||||
;platformio/tool-cmake@^3.21.3
|
-D CONFIG_FREERTOS_USE_TRACE_FACILITY
|
||||||
;platformio/tool-esptoolpy @ 1.40201.0 (4.2.1)
|
-D CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS
|
||||||
platformio/tool-esptoolpy@^1.40400.0
|
-D CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID
|
||||||
;platformio/tool-idf @ 1.0.1
|
;#### enable support for 8Mb SPIRAM_ ; testing : https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/himem.html
|
||||||
;platformio/tool-mconf @ 1.4060000.20190628 (406.0.0)
|
-DBOARD_HAS_PSRAM
|
||||||
;platformio/tool-ninja @ 1.9.0
|
-mfix-esp32-psram-cache-issue
|
||||||
;platformio/tool-ninja @ 1.10.2
|
-D CONFIG_SPIRAM_TYPE_AUTO
|
||||||
;platformio/toolchain-esp32ulp @ 1.22851.191205 (2.28.51)
|
-D CONFIG_SPIRAM_USE_CAPS_ALLOC
|
||||||
espressif/toolchain-esp32ulp @ 2.35.0-20220830
|
-D CONFIG_SPIRAM_USE_MALLOC
|
||||||
;platformio/toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3
|
;-D CONFIG_SPIRAM_BANKSWITCH_ENABLE=y
|
||||||
;platformio/toolchain-xtensa-esp32 @ 11.2.0+2022r1
|
;-D CONFIG_SPIRAM_BANKSWITCH_RESERVE=4
|
||||||
|
framework = espidf
|
||||||
|
lib_ldf_mode = deep+
|
||||||
|
platform = platformio/espressif32 @ 5.2.0
|
||||||
|
platform_packages =
|
||||||
|
;platformio/framework-espidf @ 3.40402.0 (4.4.2)
|
||||||
|
;platformio/framework-espidf@^3.50000.0
|
||||||
|
;platformio/tool-cmake @ 3.16.4
|
||||||
|
;platformio/tool-cmake@^3.21.3
|
||||||
|
;platformio/tool-esptoolpy @ 1.40201.0 (4.2.1)
|
||||||
|
platformio/tool-esptoolpy@^1.40400.0
|
||||||
|
;platformio/tool-idf @ 1.0.1
|
||||||
|
;platformio/tool-mconf @ 1.4060000.20190628 (406.0.0)
|
||||||
|
;platformio/tool-ninja @ 1.9.0
|
||||||
|
;platformio/tool-ninja @ 1.10.2
|
||||||
|
;platformio/toolchain-esp32ulp @ 1.22851.191205 (2.28.51)
|
||||||
|
espressif/toolchain-esp32ulp @ 2.35.0-20220830
|
||||||
|
;platformio/toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3
|
||||||
|
;platformio/toolchain-xtensa-esp32 @ 11.2.0+2022r1
|
||||||
|
|
||||||
|
board_build.partitions = partitions.csv
|
||||||
|
monitor_speed = 115200
|
||||||
|
monitor_rts = 0
|
||||||
|
monitor_dtr = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user