diff --git a/ports/unix/Makefile b/ports/unix/Makefile index 79b203b6b0..ae87a16252 100644 --- a/ports/unix/Makefile +++ b/ports/unix/Makefile @@ -149,6 +149,7 @@ SRC_C = \ alloc.c \ coverage.c \ fatfs_port.c \ + supervisor/stub/stack.c \ supervisor/shared/translate.c \ $(SRC_MOD) diff --git a/supervisor/stub/stack.c b/supervisor/stub/stack.c index 4d88e51d23..9a9ecd32f6 100644 --- a/supervisor/stub/stack.c +++ b/supervisor/stub/stack.c @@ -24,11 +24,7 @@ * THE SOFTWARE. */ -#include -#include - -void allocate_stack(void) { -} +#include "supervisor/shared/stack.h" bool stack_ok(void) { return true; @@ -44,6 +40,7 @@ void stack_resize(void) { } void set_next_stack_size(uint32_t size) { + (void) size; } uint32_t get_current_stack_size(void) {