⚡ Full migration to esp-idf
This commit is contained in:
+12
-11
@@ -40,14 +40,13 @@ build_flags=
|
||||
|
||||
[env:esp32-wroom-camera]
|
||||
board = esp32-s3-devkitc-1
|
||||
board_build.arduino.memory_type = qio_opi
|
||||
board_build.flash_mode = qio
|
||||
board_upload.flash_size = 8MB
|
||||
upload_speed = 921600
|
||||
board_build.partitions = esp32/partition_table/default_8MB.csv
|
||||
build_flags =
|
||||
${env.build_flags}
|
||||
-DBOARD_HAS_PSRAM
|
||||
-mfix-esp32-psram-cache-issue
|
||||
-D USE_CAMERA=1
|
||||
-D CAMERA_MODEL_ESP32S3_EYE=1
|
||||
-D WS2812_PIN=48
|
||||
@@ -80,7 +79,7 @@ build_flags =
|
||||
|
||||
[env]
|
||||
platform = espressif32 @ 6.8.1
|
||||
framework = arduino
|
||||
framework = espidf
|
||||
monitor_speed = 115200
|
||||
monitor_filters =
|
||||
esp32_exception_decoder
|
||||
@@ -98,25 +97,27 @@ build_flags =
|
||||
-fdata-sections
|
||||
-Wl,--gc-sections
|
||||
-I submodules/nanopb
|
||||
-Wno-missing-braces ; Added to suppress protobufs extra nested braces causing warning
|
||||
-Wno-missing-braces
|
||||
-Wno-format
|
||||
-D CONFIG_HTTPD_WS_SUPPORT=1
|
||||
build_unflags = -std=gnu++11
|
||||
build_src_filter =
|
||||
+<*>
|
||||
+<../../submodules/nanopb/pb_*.c>
|
||||
build_src_flags =
|
||||
-Wformat=2
|
||||
-Wformat-truncation
|
||||
-Wstack-usage=4096
|
||||
-Wno-format
|
||||
test_ignore = test_embedded
|
||||
board_build.filesystem = littlefs
|
||||
board_build.embed_txtfiles =
|
||||
board_build.sdkconfig_defaults = esp32/sdkconfig.defaults
|
||||
lib_deps =
|
||||
ArduinoJson@>=7.0.0
|
||||
teckel12/NewPing@^1.9.7
|
||||
FastLED@3.5.0
|
||||
bblanchon/ArduinoJson@^7.0.0
|
||||
lib_ldf_mode = deep
|
||||
lib_compat_mode = off
|
||||
extra_scripts =
|
||||
pre:esp32/scripts/pre_build.py
|
||||
pre:esp32/scripts/build_app.py
|
||||
lib_compat_mode = strict
|
||||
; debug_tool = esp-builtin
|
||||
; debug_init_break =
|
||||
; upload_port = COM[13] # Only use this when upload port is not correctly detected due to multiple COM ports attached.
|
||||
; upload_port = COM[13] # Only use this when upload port is not correctly detected due to multiple COM ports attached.
|
||||
|
||||
Reference in New Issue
Block a user