Files
smartweatherstation_v2.0/platformio.ini
2025-08-25 11:32:00 +08:00

68 lines
2.1 KiB
INI
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

; 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
; [env:esp32dev]
; platform = espressif32
; board = esp32dev
; framework = arduino
; monitor_speed = 115200
; ;upload_speed=115200
; ; upload_port = COM31
; ;monitor_port = com5
; lib_deps =
; vshymanskyy/TinyGSM@^0.11.5
; knolleary/PubSubClient@^2.8
; plerup/EspSoftwareSerial@^6.15.2
; arduino-libraries/ArduinoHttpClient@^0.4.0
; janelia-arduino/Vector@^1.2.2
; build_flags:
; -DVERSION=${this.custom_prog_version}
; extra_scripts = pre:extra_script.py
; custom_prog_version = V2.6
[env:esp32-s3-devkitc-1]
; platformio/espressif32@^6.4.0
platform = espressif32 @ 6.8.0
board = esp32-s3-devkitc-1
framework = arduino
platform_packages =
toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
; framework-arduinoespressif32 @ 2.0.6+sha.099b432
; board_upload.flash_size=4MB
board_upload.flash_size=4MB
board_upload.maximum_size=327680
board_upload.maximum_ram_size=4194304
board_build.partitions = default.csv
board_build.flash_mode = dio
; board_upload.psram_size =2MB
; lib_deps =
; vshymanskyy/TinyGSM@^0.11.5
; knolleary/PubSubClient@^2.8
; plerup/EspSoftwareSerial@^6.15.2
; arduino-libraries/ArduinoHttpClient@^0.4.0
; janelia-arduino/Vector@^1.2.2
; paulstoffregen/OneWire@^2.3.7
; milesburton/DallasTemperature@^3.11.0
; adafruit/Adafruit MLX90614 Library@^2.1.3
; sparkfun/SparkFun u-blox Arduino Library@^1.8.11
; khoih-prog/WebServer_ESP32_W5500@^1.5.3
build_flags:
-DVERSION=${this.custom_prog_version}
-DARDUINO_USB_CDC_ON_BOOT=1
;-DDINBIAO
extra_scripts = pre:extra_script.py
custom_prog_version = V3.1DDY
debug_tool.upload_protocol = esp-builtin
monitor_speed = 115200 ; 你当前是 921600若改回 115200 请同时调整
monitor_filters = esp32_exception_decoder