mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 14:12:16 +03:00
esp32 compiling version
This commit is contained in:
7
.vscode/settings.json
vendored
7
.vscode/settings.json
vendored
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"files.associations": {
|
|
||||||
"functional": "cpp",
|
|
||||||
"bitset": "cpp",
|
|
||||||
"algorithm": "cpp"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
//#define WEBSOCKET_ENABLED
|
//#define WEBSOCKET_ENABLED
|
||||||
//#define LAYOUT_IN_RAM
|
//#define LAYOUT_IN_RAM
|
||||||
//#define UDP_ENABLED
|
//#define UDP_ENABLED
|
||||||
#define SSDP_ENABLED
|
//#define SSDP_ENABLED
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sensors enable/disable
|
// Sensors enable/disable
|
||||||
|
|||||||
@@ -1,16 +1,7 @@
|
|||||||
; PlatformIO Project Configuration File
|
|
||||||
;
|
|
||||||
; Build options: build flags, source filter
|
|
||||||
; Upload options: custom upload port, speed and extra flags
|
|
||||||
; Library options: dependencies, extra library storages
|
|
||||||
; Advanced options: extra scripting
|
|
||||||
;
|
|
||||||
; Please visit documentation for the other options and examples
|
|
||||||
; https://docs.platformio.org/page/projectconf.html
|
|
||||||
|
|
||||||
[platformio]
|
[platformio]
|
||||||
default_envs = esp8266
|
default_envs = esp32
|
||||||
|
;=============================================================================================================================================
|
||||||
[common_env_data]
|
[common_env_data]
|
||||||
lib_deps_external =
|
lib_deps_external =
|
||||||
bblanchon/ArduinoJson @5.*
|
bblanchon/ArduinoJson @5.*
|
||||||
@@ -24,7 +15,7 @@ lib_deps_internal =
|
|||||||
ESP Async WebServer
|
ESP Async WebServer
|
||||||
GyverFilters
|
GyverFilters
|
||||||
OneWire
|
OneWire
|
||||||
|
;=============================================================================================================================================
|
||||||
[env:esp32]
|
[env:esp32]
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
@@ -32,15 +23,16 @@ platform = https://github.com/platformio/platform-espressif32.git
|
|||||||
lib_deps =
|
lib_deps =
|
||||||
${common_env_data.lib_deps_external}
|
${common_env_data.lib_deps_external}
|
||||||
${common_env_data.lib_deps_internal}
|
${common_env_data.lib_deps_internal}
|
||||||
me-no-dev/ESPAsyncTCP
|
AsyncTCP
|
||||||
madhephaestus/ESP32Servo
|
madhephaestus/ESP32Servo
|
||||||
LITTLEFS
|
LITTLEFS
|
||||||
luc-github/ESP32SSDP
|
luc-github/ESP32SSDP
|
||||||
monitor_filters = esp32_exception_decoder
|
monitor_filters = esp32_exception_decoder
|
||||||
;upload_speed = 921600
|
upload_speed = 921600
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
board_build.filesystem = littlefs
|
board_build.filesystem = littlefs
|
||||||
|
extra_scripts = ./tools/littlefsbuilder.py
|
||||||
|
;=============================================================================================================================================
|
||||||
[env:esp8266_01_1m]
|
[env:esp8266_01_1m]
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = esp01_1m
|
board = esp01_1m
|
||||||
@@ -56,8 +48,7 @@ monitor_filters = esp8266_exception_decoder
|
|||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
board_build.filesystem = littlefs
|
board_build.filesystem = littlefs
|
||||||
;board_build.f_cpu = 160000000L
|
;=============================================================================================================================================
|
||||||
|
|
||||||
[env:esp8266]
|
[env:esp8266]
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = nodemcuv2
|
board = nodemcuv2
|
||||||
@@ -69,16 +60,7 @@ lib_deps =
|
|||||||
ESPAsyncUDP
|
ESPAsyncUDP
|
||||||
EspSoftwareSerial
|
EspSoftwareSerial
|
||||||
monitor_filters = esp8266_exception_decoder
|
monitor_filters = esp8266_exception_decoder
|
||||||
;upload_speed = 921600
|
upload_speed = 921600
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
board_build.filesystem = littlefs
|
board_build.filesystem = littlefs
|
||||||
board_build.f_cpu = 160000000L
|
;=============================================================================================================================================
|
||||||
|
|
||||||
; build_type = debug
|
|
||||||
; build_flags =
|
|
||||||
; -DDEBUG_ESP_CORE
|
|
||||||
; -DDEBUG_ESP_WIFI
|
|
||||||
; -DDEBUG_ESP_HTTP_UPDATE
|
|
||||||
; -DDEBUG_ESP_UPDATER
|
|
||||||
; -DDEBUG_ESP_OTA
|
|
||||||
; -DDEBUG_ESP_OOM
|
|
||||||
|
|||||||
Reference in New Issue
Block a user