micropython/zephyr
Daniel Thompson 32d4b1eb0f zephyr: Switch sub-makes to use proper environment variables
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
2016-09-19 19:21:41 +01:00
..
src zephyr: Add mbedTLS config for the port. 2016-09-19 00:43:24 +03:00
Kbuild zephyr: Initial Zephyr RTOS port, Zephyr part. 2016-09-19 00:43:21 +03:00
Makefile zephyr: Switch sub-makes to use proper environment variables 2016-09-19 19:21:41 +01:00
Makefile.zephyr zephyr: Enable building ussl_mbedtls module. 2016-09-19 00:43:24 +03:00
README zephyr: Add README. 2016-09-19 00:43:21 +03:00
main.c zephyr: Bump heap size to 24K, as required for umqtt.simple. 2016-09-19 00:43:24 +03:00
modsocket.c zephyr/modsocket: socket_write: Send only data fitting in a netbuf. 2016-09-19 00:43:24 +03:00
mpconfigport.h zephyr: Enable ustruct module, required for umqtt.simple. 2016-09-19 00:43:24 +03:00
mphalport.h zephyr: Initial Zephyr RTOS port, MicroPython part. 2016-09-19 00:43:21 +03:00
prj.conf zephyr/prj.conf: Add network debug logging options (commented). 2016-09-19 00:43:23 +03:00
prj.mdef zephyr: Switch to microkernel, required for network to work in background. 2016-09-19 00:43:22 +03:00
uart_core.c zephyr: Initial Zephyr RTOS port, MicroPython part. 2016-09-19 00:43:21 +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