diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2020-05-15 16:22:33 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2020-05-15 16:22:33 -0700 |
| commit | 3c1469b0a507c104e6623290a20f13081e6a52a6 (patch) | |
| tree | 09e29fb00ac289c40f3fca77021e6bd4ac7fb28c /ports | |
| parent | 6aaab005c5f3a781fec229640c74bf44a601fc97 (diff) | |
Add port_fixed_stack for more builds
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/mimxrt10xx/supervisor/port.c | 4 | ||||
| -rw-r--r-- | ports/nrf/supervisor/port.c | 4 | ||||
| -rw-r--r-- | ports/stm/supervisor/port.c | 6 |
3 files changed, 13 insertions, 1 deletions
diff --git a/ports/mimxrt10xx/supervisor/port.c b/ports/mimxrt10xx/supervisor/port.c index 18cb408cb..b6ae00293 100644 --- a/ports/mimxrt10xx/supervisor/port.c +++ b/ports/mimxrt10xx/supervisor/port.c @@ -318,6 +318,10 @@ void reset_cpu(void) { reset(); } +supervisor_allocation* port_fixed_stack(void) { + return NULL; +} + extern uint32_t _ld_heap_start, _ld_heap_end, _ld_stack_top, _ld_stack_bottom; uint32_t *port_stack_get_limit(void) { return &_ld_heap_start; diff --git a/ports/nrf/supervisor/port.c b/ports/nrf/supervisor/port.c index 539a9cf90..87632fa4d 100644 --- a/ports/nrf/supervisor/port.c +++ b/ports/nrf/supervisor/port.c @@ -185,6 +185,10 @@ uint32_t *port_heap_get_top(void) { return port_stack_get_top(); } +supervisor_allocation* port_fixed_stack(void) { + return NULL; +} + uint32_t *port_stack_get_limit(void) { return &_ebss; } diff --git a/ports/stm/supervisor/port.c b/ports/stm/supervisor/port.c index 23ba7d874..9b62fa2eb 100644 --- a/ports/stm/supervisor/port.c +++ b/ports/stm/supervisor/port.c @@ -176,7 +176,7 @@ safe_mode_t port_init(void) { uint32_t tickstart = HAL_GetTick(); // H7/F7 untested with LSE, so autofail them until above move is done - #if (CPY_STM32F4) + #if (CPY_STM32F4) bool lse_setupsuccess = true; #else bool lse_setupsuccess = false; @@ -281,6 +281,10 @@ uint32_t *port_heap_get_top(void) { return &_ld_heap_end; } +supervisor_allocation* port_fixed_stack(void) { + return NULL; +} + uint32_t *port_stack_get_limit(void) { return &_ld_stack_bottom; } |
