51 lines
1.2 KiB
INI
51 lines
1.2 KiB
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
|
|
; http://docs.platformio.org/page/projectconf.html
|
|
|
|
[platformio]
|
|
default_envs = uno
|
|
|
|
|
|
[env]
|
|
lib_deps =
|
|
Bounce2
|
|
Adafruit GFX Library
|
|
Adafruit ST7735 and ST7789 Library
|
|
Adafruit_VL53L0X
|
|
|
|
|
|
[env:uno]
|
|
platform = atmelavr
|
|
board = atmega328p
|
|
board_build.f_cpu = 16000000L
|
|
framework = arduino
|
|
|
|
upload_port = COM3
|
|
|
|
[env:atmega328]
|
|
platform = atmelavr
|
|
board = pro8MHzatmega328
|
|
board_build.f_cpu = 8000000L
|
|
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
|
|
board_build.f_cpu = 16000000L
|
|
framework = arduino |