2019-08-22 21:33:36 +02:00
|
|
|
;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
|
|
|
|
|
2020-06-05 21:57:35 +02:00
|
|
|
[platformio]
|
|
|
|
data_dir = data
|
2021-07-22 18:38:28 +02:00
|
|
|
default_envs = esp32
|
|
|
|
|
2020-06-05 21:57:35 +02:00
|
|
|
|
|
|
|
[env:esp32]
|
|
|
|
platform = espressif32
|
2021-05-16 13:45:00 +02:00
|
|
|
#platform_packages =
|
|
|
|
# framework-arduinoespressif32@https://github.com/espressif/arduino-esp32
|
2020-06-05 21:57:35 +02:00
|
|
|
board = esp-wrover-kit
|
2021-07-30 14:39:03 +02:00
|
|
|
board_upload.flash_size = "16MB"
|
2020-06-05 21:57:35 +02:00
|
|
|
#platform = espressif8266
|
|
|
|
#board = esp_wroom_02
|
|
|
|
#build_flags = -Wl,-Teagle.flash.2m1m.ld
|
2020-06-21 11:10:45 +02:00
|
|
|
build_flags = -DPLATFORM_ESP32 -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue
|
2019-08-22 21:33:36 +02:00
|
|
|
framework = arduino
|
2023-09-14 16:16:17 +02:00
|
|
|
monitor_port = /dev/ttyUSB1
|
|
|
|
upload_port = /dev/ttyUSB1
|
2019-08-22 21:33:36 +02:00
|
|
|
monitor_speed = 115200
|
2023-09-14 16:16:17 +02:00
|
|
|
debug_tool = esp-prog
|
|
|
|
#upload_protocol = esp-prog
|
|
|
|
debug_init_break = tbreak setup
|
2019-08-22 21:33:36 +02:00
|
|
|
lib_deps =
|
|
|
|
NTPClient
|
2020-06-05 22:30:49 +02:00
|
|
|
HX711@0.7.4
|
2020-09-03 14:10:52 +02:00
|
|
|
ArduinoJson
|
2020-06-25 22:01:53 +02:00
|
|
|
https://github.com/gilmaimon/ArduinoWebsockets.git
|
2023-08-28 11:55:39 +02:00
|
|
|
build_src_filter = +<*> -<native_main.cpp>
|
2020-08-08 15:27:28 +02:00
|
|
|
board_build.partitions = partitions_custom.csv
|
|
|
|
board_build.embed_txtfiles =
|
|
|
|
certificate.pem
|
2019-08-22 21:33:36 +02:00
|
|
|
|
2019-09-08 20:28:27 +02:00
|
|
|
[env:native]
|
|
|
|
platform = native
|
|
|
|
test_ignore = test_embedded
|
2023-09-07 15:27:29 +02:00
|
|
|
build_flags = -g -DPLATFORM_NATIVE -std=c++17 -O0
|
|
|
|
build_src_filter = +<*> -<firmware_main.cpp> -<WifiManager.cpp> -<WifiAPI.cpp>
|
2023-09-08 10:26:49 +02:00
|
|
|
lib_compat_mode = off
|
|
|
|
|