offload platformio building

This allows the repo to live on an SD card / USB jump drive.
This commit is contained in:
2020-12-21 20:14:45 -08:00
parent 62a64d17c0
commit 99e9741837
2 changed files with 29 additions and 17 deletions

View File

@@ -8,8 +8,15 @@
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:adafruit_feather_m4]
[platformio]
workspace_dir = ~/.platformio/work/$PROJECT_HASH/stage2
build_cache_dir = ~/.platformio/work/cache
[env]
platform = atmelsam
board = adafruit_feather_m4
framework = arduino
lib_deps = arduino-libraries/SD
[env:adafruit_feather_m4]
board = adafruit_feather_m4