Merge pull request #6 from egnor/main
Add a platformio.ini file, for those so inclined
This commit is contained in:
commit
1f448130d0
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.pio
|
||||||
29
platformio.ini
Normal file
29
platformio.ini
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
; PlatformIO Project Configuration File
|
||||||
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
|
[env:watchy]
|
||||||
|
platform = espressif32
|
||||||
|
framework = arduino
|
||||||
|
|
||||||
|
; The current arduino-ESP32 platform (2.0.3) seems to have issues with
|
||||||
|
; esp_sleep_get_wakeup_cause() not working right, leading to boot loops.
|
||||||
|
; Pin to the previous version (2.0.2) which works better.
|
||||||
|
platform_packages = framework-arduinoespressif32 @ 3.20002.220503
|
||||||
|
|
||||||
|
board = esp32dev ; TODO: Make a board definition for Watchy?
|
||||||
|
board_build.partitions = min_spiffs.csv
|
||||||
|
board_build.hwids = 10C4, EA60 ; The CP2102N used on Watchy
|
||||||
|
monitor_speed = 115200
|
||||||
|
|
||||||
|
lib_ldf_mode = deep+ ; Needed to plumb the depths of library dependencies
|
||||||
|
lib_deps =
|
||||||
|
https://github.com/GuruSR/Olson2POSIX.git
|
||||||
|
https://github.com/GuruSR/SmallNTP.git
|
||||||
|
https://github.com/GuruSR/SmallRTC.git
|
||||||
|
https://github.com/GuruSR/StableBMA.git
|
||||||
|
https://github.com/tzapu/WiFiManager.git ; unused, needed to build Watchy
|
||||||
|
sqfmi/Watchy
|
||||||
|
|
||||||
|
;;; For debugging, try these
|
||||||
|
; build_type = debug
|
||||||
|
; monitor_filters = esp32_exception_decoder
|
||||||
Loading…
x
Reference in New Issue
Block a user