This is an experimental port of MicroPython for NXP VF6XX M4 Core.

Source code

Supported features include:

  • REPL (Python prompt) over UART2
  • Garbage collector
  • GPIO, UART support

Build

The toolchain required is the Linaro ARM Embedded toolchain (e.g. 4.9 2015 Q3):

tar xjf ${HOME}/gcc-arm-none-eabi-4_9-2015q3-20150921-linux.tar.bz2
export PATH=$PATH:$HOME/gcc-arm-none-eabi-4_9-2015q3/bin/

Then build:

cd ${HOME}/micropython/vf6xx
make

Booting the M4 Core

Two methods are supported:

1. From U-Boot using bootaux:

Colibri VFxx # fatload mmc 0:1 ${loadaddr} firmware.elf
Colibri VFxx # bootaux ${loadaddr}

2. From Linux using remoteproc: