Skip to content

Commit

Permalink
tweaked usb.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
MNS26 committed Apr 1, 2024
1 parent 10795e9 commit 818ab78
Showing 1 changed file with 30 additions and 11 deletions.
41 changes: 30 additions & 11 deletions config/usb.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[env:pico_usb]
board = rpipico
;board = rpipico
board = rpipicow
upload_protocol = cmsis-dap
;monitor_port=/dev/ttyACM1
debug_tool = cmsis-dap
;monitor_port=/dev/serial/by-id/*RP2040-HOTAS*

debug_build_flags =
debug_tool = cmsis-dap
debug_speed = 10000
debug_build_flags =
-Og
-O0
-ggdb
Expand All @@ -13,18 +15,35 @@ debug_build_flags =

build_src_filter = +<main.cpp>


build_flags =
;-D CFG_TUH_MSC=0
;-D CFG_TUD_VIDEO=0
;-D CFG_TUD_VENDOR=0
;-D CFG_TUD_MSC=0
;-D CFG_TUD_MIDI=0

; LINUX
-D STASSID=\"AP\"
-D STAPSK=\"PASS\"
; WINDOWS
; -D STASSID="AP"
; -D STAPSK="PASS"




-D MAX_COLLECTIONS=15
-D VID=0x1209
-D PID=0xedcc
;-D CFG_TUSB_CONFIG_FILE=\"tusb_config.h\"
;-D _TUSB_CONFIG_RP2040_H_=1
;-D CFG_TUSB_CONFIG_FILE=\"tusb_config_rp2040.h\"

-D USE_TINYUSB

lib_deps =
;${common.lib_deps}
Adafruit NeoPixel @ ^1.12.0
${pico_common.libs}
Adafruit TinyUSB Library @ ^3.0.0
robtillaart/CRC @ ^1.0.2




lib_ignore =
;-D LittleFS

0 comments on commit 818ab78

Please sign in to comment.