41 lines
803 B
INI
41 lines
803 B
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
|
|
|