Skip to content

Commit f644085

Browse files
committed
Yay xbox 360 controller working
1 parent 5947c52 commit f644085

File tree

4 files changed

+156
-253
lines changed

4 files changed

+156
-253
lines changed

.cargo/config.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# Choose a default "cargo run" tool (see README for more info)
33
# - `probe-rs` provides flashing and defmt via a hardware debugger, and stack unwind on panic
44
# - elf2uf2-rs loads firmware over USB when the rp2040 is in boot mode
5-
# runner = "probe-rs run --chip RP2040 --protocol swd"
5+
runner = "probe-rs run --chip RP2040 --protocol swd"
6+
# runner = "elf2uf2-rs -d"
67
# runner = "elf2uf2-rs -d"
7-
runner = "elf2uf2-rs -d"
88
rustflags = [
99
"-C", "linker=flip-link",
1010
"-C", "link-arg=--nmagic",

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ cortex-m-rt = "0.7"
1010
embedded-hal = { version = "1.0.0" }
1111

1212
defmt = "0.3"
13-
# defmt-rtt = "0.4"
13+
defmt-rtt = "0.4"
1414
panic-probe = { version = "0.3", features = ["print-defmt"] }
15-
adafruit-kb2040 = "0.8.0"
15+
#adafruit-kb2040 = "0.8.0"
1616
usbd-hid = { path = "../usbd-hid" } # "0.8.2"
1717
usb-device = "0.3.2"
1818
critical-section = "1.2.0"
19-
defmt-serial = "0.10.0"
19+
#defmt-serial = "0.10.0"
2020
static_cell = "2.1.0"
2121
portable-atomic = { version = "1.9.0", features = ["critical-section"] }
2222

2323
# We're using a Pico by default on this template
24-
#rp-pico = "0.9"
24+
rp-pico = "0.9"
2525

2626
# but you can use any BSP. Uncomment this to use the pro_micro_rp2040 BSP instead
2727
# sparkfun-pro-micro-rp2040 = "0.8"

Embed.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ log_level = "WARN"
2424
connect_under_reset = false
2525

2626
[default.rtt]
27-
enabled = false #TODO: true
27+
enabled = true
2828
up_mode = "NoBlockSkip"
2929
channels = [
3030
{ up = 0, down = 0, name = "name", up_mode = "NoBlockSkip", format = "Defmt" },

0 commit comments

Comments
 (0)