You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
954 B
40 lines
954 B
4 years ago
|
; 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
|
||
|
; https://docs.platformio.org/page/projectconf.html
|
||
|
|
||
|
[platformio]
|
||
|
default_envs = megaatmega2560
|
||
|
#default_envs = nano
|
||
|
|
||
|
[common]
|
||
|
lib_deps =
|
||
|
ToneLibrary
|
||
|
# TimerOne
|
||
|
# AccelStepper
|
||
|
# SpeedyStepper
|
||
|
|
||
|
[env]
|
||
|
framework = arduino
|
||
|
build_flags = -O2
|
||
|
#build_flags = ${common.build_flags}
|
||
|
lib_deps = ${common.lib_deps}
|
||
|
monitor_speed = 115200
|
||
|
|
||
|
[env:megaatmega2560]
|
||
|
platform = atmelavr
|
||
|
board = megaatmega2560
|
||
|
board_build.f_cpu = 16000000L
|
||
|
lib_deps = ${common.lib_deps}
|
||
|
|
||
|
[env:nano]
|
||
|
platform = atmelavr
|
||
|
board = nanoatmega328
|
||
|
board_build.f_cpu = 16000000L
|
||
|
lib_deps = ${common.lib_deps}
|