47 lines
1.2 KiB
INI
47 lines
1.2 KiB
INI
; 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
|
|
|
|
[common]
|
|
board_1m = esp01
|
|
ldscript_1m = eagle.flash.1m192.ld
|
|
board_2m = esp_wroom_02
|
|
ldscript_2m = eagle.flash.2m256.ld
|
|
board_4m = esp12e
|
|
ldscript_4m = eagle.flash.4m1m.ld
|
|
|
|
[env]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
upload_speed = 115200
|
|
board_build.flash_mode = dout
|
|
build_flags =
|
|
-DLOG_DEBUG=1
|
|
-DLOG_INFO=1
|
|
-DLOG_ERROR=1
|
|
-ID:/Project/irext/iris/src/iris-chipkit/src/lsoc_das2/include
|
|
platform_package =
|
|
https://github.com/esp8266/Arduino.git
|
|
|
|
[env:esp8266-4m-base]
|
|
board = ${common.board_4m}
|
|
board_build.ldscript = ${common.ldscript_4m}
|
|
lib_deps = xinyu198736/AliyunIoTSDK@^0.3.0
|
|
|
|
[env:esp8266-2m-base]
|
|
board = ${common.board_2m}
|
|
board_build.ldscript = ${common.ldscript_2m}
|
|
lib_deps = rweather/Crypto@^0.2.0
|
|
|
|
[env:esp8266-1m-base]
|
|
board = ${common.board_1m}
|
|
board_build.ldscript = ${common.ldscript_1m}
|
|
lib_deps = rweather/Crypto@^0.2.0
|