Skip to content

Commit 808ca67

Browse files
committed
Fix unix
1 parent 288ec84 commit 808ca67

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

ports/unix/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ SRC_C = \
149149
alloc.c \
150150
coverage.c \
151151
fatfs_port.c \
152+
supervisor/stub/stack.c \
152153
supervisor/shared/translate.c \
153154
$(SRC_MOD)
154155

supervisor/stub/stack.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,7 @@
2424
* THE SOFTWARE.
2525
*/
2626

27-
#include <stdbool.h>
28-
#include <stdint.h>
29-
30-
void allocate_stack(void) {
31-
}
27+
#include "supervisor/shared/stack.h"
3228

3329
bool stack_ok(void) {
3430
return true;
@@ -44,6 +40,7 @@ void stack_resize(void) {
4440
}
4541

4642
void set_next_stack_size(uint32_t size) {
43+
(void) size;
4744
}
4845

4946
uint32_t get_current_stack_size(void) {

0 commit comments

Comments
 (0)