Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mpy-cross/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ int main(int argc, char **argv) {
return main_(argc, argv);
}

uint mp_import_stat(const char *path) {
mp_import_stat_t mp_import_stat(const char *path) {
(void)path;
return MP_IMPORT_STAT_NO_EXIST;
}
Expand Down
1 change: 1 addition & 0 deletions py/stackctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include "py/runtime.h"
#include "py/stackctrl.h"

#pragma GCC diagnostic ignored "-Wdangling-pointer=1"
void mp_stack_ctrl_init(void) {
volatile int stack_dummy;
MP_STATE_THREAD(stack_top) = (char *)&stack_dummy;
Expand Down