From 7df9f313c687b5ff6965e01dcd2e9dfc50ffc354 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 25 Aug 2016 22:15:38 +0300 Subject: [PATCH] zephyr: Switch to microkernel, required for network to work in background. --- zephyr/Makefile.zephyr | 3 ++- zephyr/prj.mdef | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 zephyr/prj.mdef diff --git a/zephyr/Makefile.zephyr b/zephyr/Makefile.zephyr index 52904ff8d0..ad905a4dba 100644 --- a/zephyr/Makefile.zephyr +++ b/zephyr/Makefile.zephyr @@ -14,10 +14,11 @@ # limitations under the License. # -KERNEL_TYPE = nano +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) diff --git a/zephyr/prj.mdef b/zephyr/prj.mdef new file mode 100644 index 0000000000..5a7312f89f --- /dev/null +++ b/zephyr/prj.mdef @@ -0,0 +1,5 @@ +% Application : MicroPython + +% TASK NAME PRIO ENTRY STACK GROUPS +% ================================== + TASK MAIN 7 main 4096 [EXE]