File tree Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ # Tiny Grapefruit image, mostly for testing Humility
2+ board = " grapefruit"
3+ name = " grapefruit-mini"
4+ target = " thumbv7em-none-eabihf"
5+ chip = " ../../chips/stm32h7"
6+ memory = " memory-large.toml"
7+ stacksize = 512
8+
9+ [kernel ]
10+ name = " grapefruit"
11+ requires = {flash = 32768 , ram = 2048 }
12+ features = [" measurement-handoff" ]
13+ extern-regions = [" dtcm" ]
14+
15+ [tasks .jefe ]
16+ name = " task-jefe"
17+ priority = 0
18+ start = true
19+ notifications = [" fault" , " timer" ]
20+ extern-regions = [" sram1" , " sram2" , " sram3" , " sram4" ]
21+
22+ [tasks .jefe .config .allowed-callers ]
23+ set_reset_reason = [" sys" ]
24+
25+ [tasks .sys ]
26+ name = " drv-stm32xx-sys"
27+ features = [" h753" ]
28+ priority = 1
29+ uses = [" rcc" , " gpios" , " system_flash" , " syscfg" ]
30+ start = true
31+ task-slots = [" jefe" ]
32+
33+ [tasks .user_leds ]
34+ name = " drv-user-leds"
35+ features = [" stm32h7" ]
36+ priority = 5
37+ start = true
38+ task-slots = [" sys" ]
39+ notifications = [" timer" ]
40+
41+ [tasks .pong ]
42+ name = " task-pong"
43+ priority = 8
44+ start = true
45+ task-slots = [" user_leds" ]
46+ notifications = [" timer" ]
47+
48+ [tasks .idle ]
49+ name = " task-idle"
50+ priority = 9
51+ start = true
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ cfg_if::cfg_if! {
9797 target_board = "psc-b" ,
9898 target_board = "psc-c" ,
9999 target_board = "oxcon2023g0" ,
100+ target_board = "grapefruit" ,
100101 ) ) ] {
101102 #[ derive( enum_map:: Enum , Copy , Clone , FromPrimitive ) ]
102103 enum Led {
You can’t perform that action at this time.
0 commit comments