Skip to content

Commit 3c1469b

Browse files
committed
Add port_fixed_stack for more builds
1 parent 6aaab00 commit 3c1469b

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

ports/mimxrt10xx/supervisor/port.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,10 @@ void reset_cpu(void) {
318318
reset();
319319
}
320320

321+
supervisor_allocation* port_fixed_stack(void) {
322+
return NULL;
323+
}
324+
321325
extern uint32_t _ld_heap_start, _ld_heap_end, _ld_stack_top, _ld_stack_bottom;
322326
uint32_t *port_stack_get_limit(void) {
323327
return &_ld_heap_start;

ports/nrf/supervisor/port.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,10 @@ uint32_t *port_heap_get_top(void) {
185185
return port_stack_get_top();
186186
}
187187

188+
supervisor_allocation* port_fixed_stack(void) {
189+
return NULL;
190+
}
191+
188192
uint32_t *port_stack_get_limit(void) {
189193
return &_ebss;
190194
}

ports/stm/supervisor/port.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ safe_mode_t port_init(void) {
176176
uint32_t tickstart = HAL_GetTick();
177177

178178
// H7/F7 untested with LSE, so autofail them until above move is done
179-
#if (CPY_STM32F4)
179+
#if (CPY_STM32F4)
180180
bool lse_setupsuccess = true;
181181
#else
182182
bool lse_setupsuccess = false;
@@ -281,6 +281,10 @@ uint32_t *port_heap_get_top(void) {
281281
return &_ld_heap_end;
282282
}
283283

284+
supervisor_allocation* port_fixed_stack(void) {
285+
return NULL;
286+
}
287+
284288
uint32_t *port_stack_get_limit(void) {
285289
return &_ld_stack_bottom;
286290
}

0 commit comments

Comments
 (0)