micropython/zephyr
Paul Sokolovsky d238f3a6e0 zephyr: Switch to microkernel, required for network to work in background. 2016-09-18 13:39:18 +03:00
..
src zephyr: Add zephyr_getchar module to handle console input. 2016-09-18 13:39:18 +03:00
Kbuild zephyr: Initial Zephyr RTOS port, Zephyr part. 2016-09-18 13:39:18 +03:00
Makefile zephyr: Initial Zephyr RTOS port, MicroPython part. 2016-09-18 13:39:17 +03:00
Makefile.zephyr zephyr: Switch to microkernel, required for network to work in background. 2016-09-18 13:39:18 +03:00
README zephyr: Add README. 2016-09-18 13:39:18 +03:00
main.c zephyr: Enable stack checking and micropython.mem_info(). 2016-09-18 13:39:18 +03:00
mpconfigport.h zephyr: Enable stack checking and micropython.mem_info(). 2016-09-18 13:39:18 +03:00
mphalport.h zephyr: Initial Zephyr RTOS port, MicroPython part. 2016-09-18 13:39:17 +03:00
prj.conf zephyr/prj.conf: Set main thread stack size to 4K. 2016-09-18 13:39:18 +03:00
prj.mdef zephyr: Switch to microkernel, required for network to work in background. 2016-09-18 13:39:18 +03:00
uart_core.c zephyr: Initial Zephyr RTOS port, MicroPython part. 2016-09-18 13:39:17 +03:00

README

This is initial proof of concept port of MicroPython to Zephyr RTOS
http://zephyrproject.org. It only integrates with Zephyr's console
subsystem so far.

Supported out of the box is Zephyr's armv7-m (Cortex-M3) architecture,
with qemu_cortex_m3 being a default target. Supporting others architectures
may require editing makefiles.

To build:

Intstall Zephyr SDK and Zephyr source from the link above. Configure
Zephyr environment as described in its instructions. Then:

    make

To run in QEMU:

    make qemu

To build for a real board (see link above for supported Cortex-M boards):

    make BOARD=frdm_k64f