Commit f1f2a3ce authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

zephyr: Remove deprecated .mdef file.

parent 58722103
......@@ -18,7 +18,6 @@ KERNEL_TYPE = micro
# BOARD must be passed on command line from main Makefile
#BOARD =
CONF_FILE = prj.conf
MDEF_FILE = prj.mdef
#export SOURCE_DIR = $(ZEPHYR_BASE)/samples/static_lib/hello_world
export LDFLAGS_zephyr += -L$(CURDIR)
......
......@@ -64,8 +64,8 @@ int real_main(void) {
int stack_dummy;
stack_top = (char*)&stack_dummy;
mp_stack_set_top(stack_top);
// Should be set to stack size in prj.mdef minus fuzz factor
mp_stack_set_limit(3584);
// Make MicroPython's stack limit somewhat smaller than full stack available
mp_stack_set_limit(CONFIG_MAIN_STACK_SIZE - 512);
soft_reset:
#if MICROPY_ENABLE_GC
......
......@@ -3,3 +3,4 @@ CONFIG_CONSOLE_HANDLER=y
CONFIG_UART_CONSOLE_DEBUG_SERVER_HOOKS=y
CONFIG_NEWLIB_LIBC=y
CONFIG_FLOAT=y
CONFIG_MAIN_STACK_SIZE=4096
% Application : MicroPython
% TASK NAME PRIO ENTRY STACK GROUPS
% ==================================
TASK MAIN 7 main 4096 [EXE]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment