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.
61 lines
1.2 KiB
61 lines
1.2 KiB
;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 = leonardo
|
|
default_envs = stm32-411
|
|
|
|
[common_env_data]
|
|
|
|
[env:leonardo]
|
|
board = leonardo
|
|
framework = arduino
|
|
platform = atmelavr
|
|
lib_deps =
|
|
Nintendo Extension Ctrl
|
|
monitor_port = /dev/ttyACM*
|
|
upload_port = /dev/ttyACM*
|
|
monitor_speed = 115200
|
|
|
|
[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
|
|
|
|
[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]
|
|
platform = ststm32
|
|
framework = arduino
|
|
board = nucleo_l031k6
|
|
build_flags =
|
|
-Wno-deprecated
|
|
lib_deps =
|
|
Nintendo Extension Ctrl
|
|
|