2020-01-11 11:28:42 +00: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
|
|
|
|
; http://docs.platformio.org/page/projectconf.html
|
|
|
|
|
2020-01-27 18:34:08 +00:00
|
|
|
[platformio]
|
|
|
|
default_envs = uno
|
|
|
|
|
|
|
|
|
|
|
|
[env]
|
|
|
|
lib_deps =
|
|
|
|
Bounce2
|
|
|
|
Adafruit GFX Library
|
|
|
|
Adafruit ST7735 and ST7789 Library
|
|
|
|
|
|
|
|
|
|
|
|
[env:uno]
|
|
|
|
platform = atmelavr
|
2020-01-30 15:01:26 +00:00
|
|
|
board = uno
|
2020-01-27 18:34:08 +00:00
|
|
|
framework = arduino
|
|
|
|
|
|
|
|
upload_port = COM3
|
|
|
|
|
2020-01-11 11:28:42 +00:00
|
|
|
[env:atmega328]
|
|
|
|
platform = atmelavr
|
|
|
|
board = pro8MHzatmega328
|
2020-01-27 18:34:08 +00:00
|
|
|
board_build.f_cpu = 8000000L
|
2020-01-11 11:28:42 +00:00
|
|
|
framework = arduino
|
|
|
|
|
|
|
|
upload_protocol = usbtiny
|
|
|
|
upload_flags = -e
|
|
|
|
upload_speed = 19200
|
|
|
|
|
2020-01-30 14:16:52 +00:00
|
|
|
|
|
|
|
; This environment is not actually one I use for the hardware, but
|
|
|
|
; PlatformIO's Home includes a very useful Inspect feature that
|
|
|
|
; requires a debug build. These builds are significantly larger and
|
|
|
|
; will cause the build to fail on the "checkprogsize" step.
|
|
|
|
; Targetting a microprocessor with more space allows the build to succeed.
|
|
|
|
[env:platformio-home-debug]
|
|
|
|
platform = atmelavr
|
|
|
|
board = atmega2560
|
|
|
|
framework = arduino
|