|
|
|
@ -9,7 +9,8 @@
|
|
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
|
|
|
|
|
|
|
|
|
|
[platformio]
|
|
|
|
[platformio]
|
|
|
|
default_envs = leonardo
|
|
|
|
; default_envs = leonardo
|
|
|
|
|
|
|
|
default_envs = stm32-411
|
|
|
|
|
|
|
|
|
|
|
|
[common_env_data]
|
|
|
|
[common_env_data]
|
|
|
|
|
|
|
|
|
|
|
|
@ -21,14 +22,7 @@ lib_deps =
|
|
|
|
Nintendo Extension Ctrl
|
|
|
|
Nintendo Extension Ctrl
|
|
|
|
upload_port = /dev/ttyACM*
|
|
|
|
upload_port = /dev/ttyACM*
|
|
|
|
monitor_port = /dev/ttyACM*
|
|
|
|
monitor_port = /dev/ttyACM*
|
|
|
|
|
|
|
|
monitor_speed = 115200
|
|
|
|
|
|
|
|
|
|
|
|
; [env:pro_micro]
|
|
|
|
|
|
|
|
; board = sparkfun_promicro16
|
|
|
|
|
|
|
|
; framework = arduino
|
|
|
|
|
|
|
|
; platform = atmelavr
|
|
|
|
|
|
|
|
; upload_port = /dev/ttyACM*
|
|
|
|
|
|
|
|
; monitor_port = /dev/ttyACM*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[env:usbasp]
|
|
|
|
[env:usbasp]
|
|
|
|
platform = atmelavr
|
|
|
|
platform = atmelavr
|
|
|
|
@ -41,12 +35,26 @@ upload_protocol = usbasp
|
|
|
|
upload_flags =
|
|
|
|
upload_flags =
|
|
|
|
-Pusb
|
|
|
|
-Pusb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[env:stm32-411]
|
|
|
|
|
|
|
|
platform = ststm32
|
|
|
|
|
|
|
|
framework = arduino
|
|
|
|
|
|
|
|
board = nucleo_f411re
|
|
|
|
|
|
|
|
build_flags =
|
|
|
|
|
|
|
|
-Wno-deprecated
|
|
|
|
|
|
|
|
lib_deps =
|
|
|
|
|
|
|
|
Nintendo Extension Ctrl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
debug_tool = stlink
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
monitor_port = /dev/ttyACM*
|
|
|
|
|
|
|
|
monitor_speed = 115200
|
|
|
|
|
|
|
|
|
|
|
|
[env:stm32]
|
|
|
|
[env:stm32]
|
|
|
|
platform = ststm32
|
|
|
|
platform = ststm32
|
|
|
|
framework = arduino
|
|
|
|
framework = arduino
|
|
|
|
board = nucleo_l031k6
|
|
|
|
board = nucleo_l031k6
|
|
|
|
build_flags =
|
|
|
|
build_flags =
|
|
|
|
-Wno-deprecated
|
|
|
|
-Wno-deprecated
|
|
|
|
lib_deps =
|
|
|
|
lib_deps =
|
|
|
|
Nintendo Extension Ctrl
|
|
|
|
Nintendo Extension Ctrl
|
|
|
|
|
|
|
|
|
|
|
|
|