DeskControl/platformio.ini

48 lines
1.1 KiB
INI
Raw Normal View History

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
[platformio]
default_envs = uno
[env]
lib_deps =
Bounce2
Adafruit GFX Library
Adafruit ST7735 and ST7789 Library
[env:uno]
platform = atmelavr
board = uno
framework = arduino
upload_port = COM3
2020-01-11 11:28:42 +00:00
[env:atmega328]
platform = atmelavr
board = pro8MHzatmega328
board_build.f_cpu = 8000000L
2020-01-11 11:28:42 +00:00
framework = arduino
upload_protocol = usbtiny
upload_flags = -e
upload_speed = 19200
; 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