|
|
|
|
@ -7,11 +7,17 @@
|
|
|
|
|
;
|
|
|
|
|
; Please visit documentation for the other options and examples
|
|
|
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
|
|
|
[platformio]
|
|
|
|
|
default_envs = leonardo
|
|
|
|
|
|
|
|
|
|
[common_env_data]
|
|
|
|
|
|
|
|
|
|
[env:leonardo]
|
|
|
|
|
board = leonardo
|
|
|
|
|
framework = arduino
|
|
|
|
|
platform = atmelavr
|
|
|
|
|
lib_deps =
|
|
|
|
|
Nintendo Extension Ctrl
|
|
|
|
|
upload_port = /dev/ttyACM*
|
|
|
|
|
monitor_port = /dev/ttyACM*
|
|
|
|
|
|
|
|
|
|
@ -22,3 +28,14 @@ monitor_port = /dev/ttyACM*
|
|
|
|
|
; platform = atmelavr
|
|
|
|
|
; upload_port = /dev/ttyACM*
|
|
|
|
|
; monitor_port = /dev/ttyACM*
|
|
|
|
|
|
|
|
|
|
[env:usbasp]
|
|
|
|
|
platform = atmelavr
|
|
|
|
|
framework = arduino
|
|
|
|
|
board = leonardo
|
|
|
|
|
lib_deps =
|
|
|
|
|
Nintendo Extension Ctrl
|
|
|
|
|
upload_protocol = usbasp
|
|
|
|
|
; each flag in a new line
|
|
|
|
|
upload_flags =
|
|
|
|
|
-Pusb
|
|
|
|
|
|