From 65114ca0153137ac47a726c06f84baeb42173c6d Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 9 May 2014 12:00:23 +0100 Subject: [PATCH] README: Add articles, and update doc for deploying firmware. --- README.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 9f168aae9f..3e81a655d7 100644 --- a/README.md +++ b/README.md @@ -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