Skip to content

Commit 437c053

Browse files
committed
Remove old SP sprot configurations
We now get all sprot pin configuration via the stm32xx-sys library
1 parent 2e19b1c commit 437c053

File tree

4 files changed

+0
-19
lines changed

4 files changed

+0
-19
lines changed

app/cosmo/base.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1456,10 +1456,6 @@ port = 11113
14561456
tx = { packets = 3, bytes = 1024 }
14571457
rx = { packets = 3, bytes = 1024 }
14581458

1459-
[config.sprot]
1460-
# ROT_IRQ (af=0 for GPIO, af=15 when EXTI is implemneted)
1461-
rot_irq = { port = "F", pin = 2, af = 0} # XXX can we use EXTI now?
1462-
14631459
[config.auxflash]
14641460
memory-size = 33_554_432 # 256 Mib / 32 MiB
14651461
slot-count = 16 # 2 MiB slots

app/gemini-bu/app.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,3 @@ mux = "port_e"
315315
cs = [{port = "E", pin = 4}]
316316
clock_divider = "DIV256"
317317

318-
[config.sprot]
319-
# ROT_IRQ (af=0 for GPIO, af=15 when EXTI is implemneted)
320-
rot_irq = { port = "E", pin = 3, af = 15}

app/gimlet/base.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,6 +1315,3 @@ port = 23547
13151315
tx = { packets = 3, bytes = 1024 }
13161316
rx = { packets = 3, bytes = 512 }
13171317

1318-
[config.sprot]
1319-
# ROT_IRQ (af=0 for GPIO, af=15 when EXTI is implemneted)
1320-
rot_irq = { port = "E", pin = 3, af = 0}

app/gimletlet/app.toml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -245,15 +245,6 @@ uses = ["spi3"]
245245
notifications = ["spi-irq", "rot-irq", "timer"]
246246
interrupts = {"spi3.irq" = "spi-irq"}
247247

248-
[config.sprot]
249-
# TODO: This config is inert. Need to implement STM32 build.rs like the LPC55 has.
250-
pins = [
251-
# ROT_IRQ (af=15 for EXTI)
252-
{ name = "ROT_IRQ", pin = { port = "D", pin = 0, af = 15, direction = "input"}},
253-
# SPI6 CS repurposed for debugging
254-
{ name = "DEBUG", pin = { port = "G", pin = 8, af = 0, direction = "output"}}
255-
]
256-
257248
#
258249
# This device definition is only provided as a way to test this driver absent
259250
# a larger board that has it; unless your Gimletlet is in a basement known

0 commit comments

Comments
 (0)