Læser og kalder API som det skal. OTA virker Opsætning af wifi via ESP32's eget hotspot virker Mangler at få lavet skrivning, men det bliver v2.
42 lines
948 B
INI
42 lines
948 B
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
|
|
|
|
[platformio]
|
|
default_envs = dev
|
|
|
|
[env]
|
|
platform = espressif32
|
|
board = esp32dev
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
upload_port = COM3
|
|
monitor_port = COM3
|
|
board_build.filesystem = spiffs
|
|
lib_deps =
|
|
tzapu/WiFiManager
|
|
chrisjoyce911/esp32FOTA
|
|
https://github.com/wilson-elechouse/PN5180_ELECHOUSE.git#c413f0a91e8efa317256afb1e3bba074d3f122dc
|
|
soburi/TinyCBOR@^0.5.3-arduino2
|
|
|
|
[env:dev]
|
|
build_src_filter =
|
|
+<*>
|
|
-<pn5180_probe.cpp>
|
|
build_flags =
|
|
-D FILAMENT_GUARD_API_ENV=0
|
|
|
|
[env:prod]
|
|
build_src_filter =
|
|
+<*>
|
|
-<pn5180_probe.cpp>
|
|
build_flags =
|
|
-D FILAMENT_GUARD_API_ENV=1
|
|
|