File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11The Micro Python project
22========================
33
4+ This is the Micro Python project, which aims to put an implementation
5+ of Python 3.x on a microcontroller.
6+
47Subdirectories:
58- py/ -- the core Python implementation, including compiler and runtime.
69- unix/ -- a version of Micro Python that runs on Unix.
@@ -17,10 +20,12 @@ only for 64-bit machines due to a small piece of x86-64 assembler for
1720the exception handling.
1821
1922To build:
23+
2024 $ cd unix
2125 $ make
2226
2327Then to test it:
28+
2429 $ ./py
2530 >>> list(5 * x + y for x in range(10) for y in [4, 2, 1])
2631
@@ -33,10 +38,12 @@ arm-none-eabi-gcc packages from the AUR. Otherwise, try here:
3338https://launchpad.net/gcc-arm-embedded
3439
3540To build:
41+
3642 $ cd stm
3743 $ make
3844
3945Then to flash it via USB DFU to your device:
46+
4047 $ dfu-util -a 0 -D build/flash.dfu
4148
4249You will need the dfu-util program, on Arch Linux it's dfu-util-git in the AUR.
You can’t perform that action at this time.
0 commit comments