98 lines
3.0 KiB
INI
98 lines
3.0 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
|
|
|
|
; -DDISABLE_SERIAL_LOGGING
|
|
|
|
[env:waveshare]
|
|
platform = espressif32
|
|
board = esp32-s3-devkitc-1
|
|
framework = arduino
|
|
board_build.filesystem = littlefs
|
|
board_build.arduino.ldscript = esp32s3_out.ld
|
|
board_build.partitions = default_16MB.csv
|
|
board_build.arduino.memory_type = qio_opi
|
|
board_build.f_cpu = 240000000L
|
|
board_build.f_flash = 80000000L
|
|
board_build.flash_mode = qio
|
|
board_build.prsam_type = opi
|
|
board_build.mcu = esp32s3
|
|
board_build.variant = esp32s3
|
|
board_upload.flash_size = 16MB
|
|
board_upload.maximum_size = 16777216
|
|
board_upload.speed = 921600
|
|
build_flags =
|
|
-I src
|
|
board_build.extra_flags =
|
|
-DBOARD_HAS_PSRAM
|
|
-DARDUINO_ESP32S3_DEVll
|
|
|
|
-DARDUINO_USB_MODE=1
|
|
-DARDUINO_USB_CDC_ON_BOOT=1
|
|
-DLOG_LEVEL=LOG_LEVEL_INFO
|
|
lib_ignore = WebServer
|
|
lib_deps =
|
|
https://github.com/plerup/espsoftwareserial.git
|
|
https://github.com/eModbus/eModbus.git
|
|
https://github.com/janelia-arduino/Vector.git
|
|
https://github.com/thijse/Arduino-Log.git
|
|
https://github.com/bblanchon/ArduinoJson.git
|
|
https://github.com/me-no-dev/ESPAsyncWebServer.git
|
|
https://github.com/me-no-dev/AsyncTCP.git
|
|
https://github.com/adafruit/MAX6675-library.git
|
|
br3ttb/PID@^1.2.1
|
|
https://github.com/br3ttb/Arduino-PID-AutoTune-Library.git
|
|
adafruit/Adafruit NeoPixel@^1.12.5
|
|
debug_tool = esp-builtin
|
|
upload_protocol = esptool
|
|
debug_init_break = tbreak setup
|
|
|
|
[env:waveshare-release]
|
|
platform = espressif32
|
|
board = esp32-s3-devkitc-1
|
|
framework = arduino
|
|
board_build.filesystem = littlefs
|
|
board_build.arduino.ldscript = esp32s3_oleasut.ld
|
|
board_build.partitions = default_16MB.csv
|
|
board_build.arduino.memory_type = qio_opi
|
|
board_build.f_cpu = 240000000L
|
|
board_build.f_flash = 80000000L
|
|
board_build.flash_mode = qio
|
|
board_build.prsam_type = opi
|
|
board_build.mcu = esp32s3
|
|
board_build.variant = esp32s3
|
|
board_upload.flash_size = 16MB
|
|
board_upload.maximum_size = 16777216
|
|
board_upload.speed = 921600
|
|
build_flags =
|
|
-I src
|
|
board_build.extra_flags =
|
|
-DBOARD_HAS_PSRAM
|
|
-DARDUINO_ESP32S3_DEV
|
|
-DARDUINO_USB_MODE=1
|
|
-DARDUINO_USB_CDC_ON_BOOT=0
|
|
-DLOG_LEVEL=0
|
|
-DDISABLE_LOGGING
|
|
lib_ignore = WebServer
|
|
lib_deps =
|
|
https://github.com/plerup/espsoftwareserial.git
|
|
https://github.com/eModbus/eModbus.git
|
|
https://github.com/janelia-arduino/Vector.git
|
|
https://github.com/thijse/Arduino-Log.git
|
|
https://github.com/bblanchon/ArduinoJson.git
|
|
https://github.com/me-no-dev/ESPAsyncWebServer.git
|
|
https://github.com/me-no-dev/AsyncTCP.git
|
|
https://github.com/adafruit/MAX6675-library.git
|
|
br3ttb/PID@^1.2.1
|
|
https://github.com/br3ttb/Arduino-PID-AutoTune-Library.git
|
|
adafruit/Adafruit NeoPixel@^1.12.5
|
|
debug_tool = esp-builtin
|
|
upload_protocol = esptool
|
|
debug_init_break = tbreak setup
|