setup build for platformio

This commit is contained in:
Chris Liebman 2019-07-18 08:36:52 -07:00
parent cf14b55d20
commit 5133f09bfd

40
platformio.ini Normal file
View File

@ -0,0 +1,40 @@
[platformio]
default_envs = default
src_dir = ESPNTPServer
[env]
board = esp12e
framework = arduino
upload_resetmethod = nodemcu
upload_speed = 115200
board_build.f_cpu = 80000000L
board_build.f_flash = 40000000L
board_build.flash_mode = qio
build_flags =
-Wall
-Wl,-Teagle.flash.4m1m.ld
-DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY_LOW_FLASH
-DBEARSSL_SSL_BASIC
-DVTABLES_IN_FLASH
lib_deps =
https://github.com/liebman/DLog.git
https://github.com/liebman/DLogNet.git
; https://github.com/liebman/MicroNMEA.git#handle-empty-date-or-time
MicroNMEA@2.0.1
; https://github.com/liebman/WiFiManager.git#stdfunc
https://github.com/tzapu/WiFiManager.git#development
; https://github.com/liebman/esp8266-oled-ssd1306.git#cleanup-warnings
https://github.com/ThingPulse/esp8266-oled-ssd1306.git#4fa903f
https://github.com/me-no-dev/ESPAsyncUDP.git#b592ac6
https://github.com/arcao/Syslog.git#e9c2eea
https://github.com/bblanchon/ArduinoJson.git#5.x
monitor_speed = 76800
[env:default]
platform = espressif8266@2.2.2
[env:staging]
platform = https://github.com/platformio/platform-espressif8266.git#feature/stage
platform_packages =
; use upstream Git version
framework-arduinoespressif8266 @ https://github.com/esp8266/Arduino.git