Skip to content

Commit d8dc57d

Browse files
committed
fix: Make lpc55xpresso/app-sprot.toml build pass, correctness be damned
1 parent c453676 commit d8dc57d

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

app/lpc55xpresso/app-sprot.toml

+5-3
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ start = true
5555
[tasks.update_server]
5656
name = "lpc55-update-server"
5757
priority = 3
58-
stacksize = 3000
58+
stacksize = 3200
5959
start = true
6060
sections = {bootstate = "usbsram"}
6161
uses = ["flash_controller", "hash_crypt"]
@@ -142,7 +142,7 @@ uses = ["flexcomm5", "iocon"]
142142
start = true
143143
stacksize = 1000
144144
task-slots = ["gpio_driver", "syscon_driver"]
145-
notifications = ["spi-irq"]
145+
notifications = ["spi-irq", "timer"]
146146
interrupts = {"flexcomm5.irq" = "spi-irq"}
147147

148148
[tasks.swd.config]
@@ -167,6 +167,8 @@ pins = [
167167
# SCK
168168
{ pin = { port = 0, pin = 7 }, alt = 3 },
169169
{ name = "SD0_CARD_DET", pin = { port = 0, pin = 17 }, alt = 0, direction = "input" },
170+
{ name = "SP_TO_ROT_JTAG_DETECT_L", pin = { port = 0, pin = 20 }, alt = 0, direction = "input" },
171+
{ name = "ROT_TO_SP_RESET_L", pin = { port = 0, pin = 13 }, alt = 0, value = true, direction = "output", opendrain = "opendrain" },
170172
]
171173
spi_num = 5
172174

@@ -208,7 +210,7 @@ pins = [
208210
[tasks.attest]
209211
name = "task-attest"
210212
priority = 5
211-
max-sizes = {flash = 33904, ram = 16384}
213+
max-sizes = {flash = 34336, ram = 16384}
212214
stacksize = 12304
213215
start = true
214216
extern-regions = ["dice_alias", "dice_certs"]

drv/lpc55-swd/src/main.rs

+5-4
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,11 @@ use idol_runtime::{
7070
};
7171
use lpc55_pac as device;
7272
use ringbuf::*;
73-
use userlib::{
74-
hl, set_timer_relative, sys_set_timer, task_slot, RecvMessage, TaskId,
75-
UnwrapLite,
76-
};
73+
// use userlib::{
74+
// hl, set_timer_relative, sys_set_timer, task_slot, RecvMessage, TaskId,
75+
// UnwrapLite,
76+
// };
77+
use userlib::*;
7778

7879
#[derive(Copy, Clone, PartialEq)]
7980
enum Trace {

0 commit comments

Comments
 (0)