Fixed platform.io config
This commit is contained in:
@@ -8,20 +8,28 @@
|
||||
; Please visit documentation for the other options and examples
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[env:d1]
|
||||
platform = espressif8266
|
||||
board = esp_wroom_02
|
||||
[platformio]
|
||||
data_dir = data
|
||||
|
||||
[env:esp32]
|
||||
platform = espressif32
|
||||
board = esp-wrover-kit
|
||||
#platform = espressif8266
|
||||
#board = esp_wroom_02
|
||||
#build_flags = -Wl,-Teagle.flash.2m1m.ld
|
||||
build_flags = -DPLATFORM_ESP32
|
||||
framework = arduino
|
||||
monitor_port = /dev/ttyUSB0
|
||||
upload_port = /dev/ttyUSB0
|
||||
monitor_speed = 115200
|
||||
build_flags = -Wl,-Teagle.flash.2m1m.ld
|
||||
lib_deps =
|
||||
https://github.com/mabau/ESPAsyncWebServer.git
|
||||
AsyncTCP
|
||||
NTPClient
|
||||
src_filter = +<*> -<native_main.cpp>
|
||||
|
||||
[env:native]
|
||||
platform = native
|
||||
test_ignore = test_embedded
|
||||
build_flags = -g
|
||||
build_flags = -g -DPLATFORM_NATIVE
|
||||
src_filter = +<*> -<firmware_main.cpp>
|
||||
Reference in New Issue
Block a user