README: Add articles, and update doc for deploying firmware.

This commit is contained in:
Damien George 2014-05-09 12:00:23 +01:00
parent ad79ecdf96
commit 65114ca015

View File

@ -15,15 +15,15 @@ WARNING: this project is in early beta stage and is subject to large
changes of the code-base, including project-wide name changes and API
changes.
Micro Python implements entire Python 3.4 syntax (including exceptions,
"with", "yield from", etc.). Following core datatypes are provided:
Micro Python implements the entire Python 3.4 syntax (including exceptions,
"with", "yield from", etc.). The following core datatypes are provided:
str (no Unicode support yet), bytes, bytearray, tuple, list, dict, set,
array.array, collections.namedtuple, classes and instances. Builtin
modules include sys, time, and struct. Note that only subset of
array.array, collections.namedtuple, classes and instances. Builtin
modules include sys, time, and struct. Note that only subset of
Python 3.4 functionality implemented for the data types and modules.
See the repository www.github.com/micropython/pyboard for the Micro
Python board, officially supported reference electronic circuit board.
Python board, the officially supported reference electronic circuit board.
Major components in this repository:
- py/ -- the core Python implementation, including compiler and runtime.
@ -88,6 +88,10 @@ on the bottom left of the board, second row from the bottom).
Then to flash the code via USB DFU to your device:
$ dfu-util -a 0 -D build/flash.dfu
$ make deploy
You will need the dfu-util program, on Arch Linux it's dfu-util-git in the AUR.
You will need the dfu-util program, on Arch Linux it's dfu-util-git in the
AUR. If the above does not work it may be because you don't have the
correct permissions. Try then:
$ sudo dfu-util -a 0 -D build-PYBV10/firmware.dfu