mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
esp32 compiling version
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[platformio]
|
||||
default_envs = esp32
|
||||
default_envs = esp8266
|
||||
|
||||
[common_env_data]
|
||||
lib_deps_external =
|
||||
@@ -25,21 +25,6 @@ lib_deps_internal =
|
||||
GyverFilters
|
||||
OneWire
|
||||
|
||||
[env:esp32]
|
||||
framework = arduino
|
||||
board = esp32dev
|
||||
platform = https://github.com/platformio/platform-espressif32.git
|
||||
lib_deps =
|
||||
${common_env_data.lib_deps_external}
|
||||
${common_env_data.lib_deps_internal}
|
||||
AsyncTCP
|
||||
ESP32Servo
|
||||
LITTLEFS
|
||||
monitor_filters = esp32_exception_decoder
|
||||
upload_speed = 921600
|
||||
monitor_speed = 115200
|
||||
board_build.filesystem = littlefs
|
||||
|
||||
[env:esp8266_01_1m]
|
||||
framework = arduino
|
||||
board = esp01_1m
|
||||
@@ -73,6 +58,23 @@ monitor_speed = 115200
|
||||
board_build.filesystem = littlefs
|
||||
board_build.f_cpu = 160000000L
|
||||
|
||||
[env:esp32]
|
||||
framework = arduino
|
||||
board = esp32dev
|
||||
platform = https://github.com/platformio/platform-espressif32.git
|
||||
build_flags = ${env.build_flags} -D=${PIOENV}
|
||||
extra_scripts = ./tools/littlefsbuilder.py
|
||||
lib_deps =
|
||||
${common_env_data.lib_deps_external}
|
||||
${common_env_data.lib_deps_internal}
|
||||
AsyncTCP
|
||||
ESP32Servo
|
||||
LITTLEFS
|
||||
monitor_filters = esp32_exception_decoder
|
||||
upload_speed = 921600
|
||||
monitor_speed = 115200
|
||||
board_build.filesystem = littlefs
|
||||
|
||||
; build_type = debug
|
||||
; build_flags =
|
||||
; -DDEBUG_ESP_CORE
|
||||
|
||||
Reference in New Issue
Block a user