mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-07 20:16:55 +03:00
Update platfromio.ini
This commit is contained in:
@@ -129,9 +129,7 @@ void CheckUpdate()
|
|||||||
LogFile.WriteToFile(ESP_LOG_INFO, TAG, "Update during boot triggered - Update File: " + _file_name_update);
|
LogFile.WriteToFile(ESP_LOG_INFO, TAG, "Update during boot triggered - Update File: " + _file_name_update);
|
||||||
|
|
||||||
|
|
||||||
BaseType_t xReturned;
|
xTaskCreate(&task_do_Update_ZIP, "task_do_Update_ZIP", configMINIMAL_STACK_SIZE * 35, NULL, tskIDLE_PRIORITY+1, NULL);
|
||||||
int _i = configMINIMAL_STACK_SIZE;
|
|
||||||
xReturned = xTaskCreate(&task_do_Update_ZIP, "task_do_Update_ZIP", configMINIMAL_STACK_SIZE * 35, NULL, tskIDLE_PRIORITY+1, NULL);
|
|
||||||
while(1) { // wait until reboot within task_do_Update_ZIP
|
while(1) { // wait until reboot within task_do_Update_ZIP
|
||||||
vTaskDelay(1000 / portTICK_PERIOD_MS);
|
vTaskDelay(1000 / portTICK_PERIOD_MS);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,29 +8,95 @@
|
|||||||
; Please visit documentation for the other options and examples
|
; Please visit documentation for the other options and examples
|
||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
|
|
||||||
[platformio]
|
[platformio]
|
||||||
src_dir = main
|
src_dir = main
|
||||||
|
default_envs = esp32cam
|
||||||
|
|
||||||
|
[common:idf]
|
||||||
|
build_flags =
|
||||||
|
-DUSE_ESP_IDF
|
||||||
|
lib_deps =
|
||||||
|
|
||||||
|
[common:arduino]
|
||||||
|
extends = common
|
||||||
|
lib_deps =
|
||||||
|
build_flags =
|
||||||
|
${common.build_flags}
|
||||||
|
-DUSE_ARDUINO
|
||||||
|
|
||||||
|
[common:esp32-idf]
|
||||||
|
extends = common:idf
|
||||||
|
platform = platformio/espressif32 @ 5.2.0
|
||||||
|
framework = espidf
|
||||||
|
lib_deps =
|
||||||
|
${common:idf.lib_deps}
|
||||||
|
build_flags =
|
||||||
|
${common:idf.build_flags}
|
||||||
|
-Wno-nonnull-compare
|
||||||
|
-DUSE_ESP32
|
||||||
|
-DUSE_ESP32_FRAMEWORK_ESP_IDF
|
||||||
|
|
||||||
|
|
||||||
|
[flags:runtime]
|
||||||
|
build_flags =
|
||||||
|
-Wno-nonnull-compare
|
||||||
|
-Wno-sign-compare
|
||||||
|
-Wno-unused-but-set-variable
|
||||||
|
-Wno-unused-variable
|
||||||
|
-fno-exceptions
|
||||||
|
|
||||||
|
[flags:clangtidy]
|
||||||
|
build_flags =
|
||||||
|
-Wall
|
||||||
|
-Wextra
|
||||||
|
-Wunreachable-code
|
||||||
|
-Wshadow-compatible-local
|
||||||
|
-fno-exceptions
|
||||||
|
|
||||||
[env:esp32cam]
|
[env:esp32cam]
|
||||||
platform = espressif32@5.2.0
|
extends = common:esp32-idf
|
||||||
;platform = espressif32@5.3.0
|
board = esp32cam
|
||||||
board = esp32cam
|
framework = espidf
|
||||||
;board = m5stack-core-esp32
|
build_flags =
|
||||||
framework = espidf
|
;Add macro definition ENABLE_MQTT, ENABLE_INFLUXDB, DEBUG_DETAIL_ON
|
||||||
|
;if ENABLE_SOFTAP = disabled, set CONFIG_ESP_WIFI_SOFTAP_SUPPORT=n in sdkconfig.defaults to save 28k of flash
|
||||||
|
-D ENABLE_MQTT -D ENABLE_INFLUXDB -D ENABLE_SOFTAP
|
||||||
|
${common:esp32-idf.build_flags}
|
||||||
|
${flags:runtime.build_flags}
|
||||||
|
board_build.partitions = partitions.csv
|
||||||
|
monitor_speed = 115200
|
||||||
|
monitor_rts = 0
|
||||||
|
monitor_dtr = 0
|
||||||
|
|
||||||
;Add macro definition ENABLE_MQTT, ENABLE_INFLUXDB, DEBUG_DETAIL_ON
|
[env:esp32cam-testing]
|
||||||
build_flags = -D ENABLE_MQTT -D ENABLE_INFLUXDB -D ENABLE_SOFTAP
|
extends = common:esp32-idf
|
||||||
|
board = node32s
|
||||||
;board_build.partitions = partitions_singleapp.csv
|
board_build.flash_mode = qio
|
||||||
board_build.partitions = partitions.csv
|
build_flags =
|
||||||
|
;Add macro definition ENABLE_MQTT, ENABLE_INFLUXDB, DEBUG_DETAIL_ON
|
||||||
monitor_speed = 115200
|
;if ENABLE_SOFTAP = disabled, set CONFIG_ESP_WIFI_SOFTAP_SUPPORT=n in sdkconfig.defaults to save 28k of flash
|
||||||
monitor_rts = 0
|
-D ENABLE_MQTT -D ENABLE_INFLUXDB -D ENABLE_SOFTAP
|
||||||
monitor_dtr = 0
|
${common:esp32-idf.build_flags}
|
||||||
|
${flags:clangtidy.build_flags}
|
||||||
debug_tool = esp-prog
|
-D CONFIG_ESP_TASK_WDT
|
||||||
|
;-D CONFIG_COMPILER_OPTIMIZATION_ASSERTION_LEVEL
|
||||||
; Enable and adapt for logging over USB
|
-D CONFIG_SPIRAM
|
||||||
;upload_port = /dev/ttyUSB0
|
-D CONFIG_ESP_TASK_WDT_TIMEOUT_S ; fix for CONFIG_ESP_INT_WDT_TIMEOUT_MS
|
||||||
;upload_port =com3
|
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
|
||||||
|
|||||||
1538
code/sdkconfig.esp32cam-testing
Normal file
1538
code/sdkconfig.esp32cam-testing
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user