初始化提交
This commit is contained in:
54
arduino-cli/libraries/NtpClientLib/platformio.ini
Normal file
54
arduino-cli/libraries/NtpClientLib/platformio.ini
Normal file
@@ -0,0 +1,54 @@
|
||||
;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]
|
||||
src_dir = ./examples/
|
||||
lib_dir = .
|
||||
|
||||
|
||||
[debug]
|
||||
debug = -D DEBUG_NTPCLIENT
|
||||
|
||||
[env]
|
||||
upload_speed = 921600
|
||||
monitor_speed = 115200
|
||||
;upload_port = COM17
|
||||
lib_deps =
|
||||
paulstoffregen/Time
|
||||
|
||||
|
||||
[esp32_common]
|
||||
platform = espressif32
|
||||
board = esp32dev
|
||||
framework = arduino
|
||||
build_flags = -std=c++11 ${debug.debug}
|
||||
;${debug.default_esp32_level}
|
||||
;debug_tool = esp-prog
|
||||
;upload_protocol = esp-prog
|
||||
;debug_init_break = tbreak setup
|
||||
|
||||
|
||||
[esp8266_common]
|
||||
platform = espressif8266
|
||||
board = esp12e
|
||||
framework = arduino
|
||||
upload_resetmethod = nodemcu
|
||||
build_flags = -std=c++11 -D PIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_191122 -D LED_BUILTIN=2 ${debug.debug}
|
||||
lib_deps =
|
||||
${env.lib_deps}
|
||||
me-no-dev/ESPAsyncUDP
|
||||
|
||||
[env:esp8266]
|
||||
extends = esp8266_common
|
||||
src_filter = -<*> +<NTPClientESP8266/>
|
||||
|
||||
[env:esp32]
|
||||
extends = esp32_common
|
||||
src_filter = -<*> +<NTPClientESP32/>
|
||||
Reference in New Issue
Block a user