This commit is contained in:
bvernoux 2014-06-02 22:09:20 +02:00
commit 65a97e8d9c

View File

@ -1,12 +1,6 @@
[![Build Status][travis-img]][travis-repo]
[travis-img]: https://travis-ci.org/micropython/micropython.png?branch=master
[travis-repo]: https://travis-ci.org/micropython/micropython
The Micro Python project (HydraBus port Beta) The Micro Python project (HydraBus port Beta)
============================================== ==============================================
<p align="center"> ![HydraBus board](https://github.com/bvernoux/hydrabus/blob/master/HydraBus_board.jpg)
<img src="https://raw2.github.com/micropython/micropython/master/logo/upython-with-micro.jpg" alt="MicroPython Logo"/>
</p>
This is the Micro Python project, which aims to put an implementation This is the Micro Python project, which aims to put an implementation
of Python 3.x on a microcontroller. of Python 3.x on a microcontroller.
@ -25,6 +19,8 @@ Python 3.4 functionality implemented for the data types and modules.
See the repository www.github.com/micropython/pyboard for the Micro See the repository www.github.com/micropython/pyboard for the Micro
Python board, the officially supported reference electronic circuit board. Python board, the officially supported reference electronic circuit board.
For HydraBus version see HydraBus website: http://hydrabus.com
Major components in this repository: Major components in this repository:
- py/ -- the core Python implementation, including compiler and runtime. - py/ -- the core Python implementation, including compiler and runtime.
- unix/ -- a version of Micro Python that runs on Unix. - unix/ -- a version of Micro Python that runs on Unix.
@ -81,15 +77,15 @@ To build:
$ make $ make
You then need to get your board into DFU mode. On the HydraBus, connect the You then need to get your board into DFU mode. On the HydraBus, connect the
3V3 pin to the BOOT1 pin with a wire. 3V3 pin to the BOOT0 pin with a wire.
Then to flash the code via USB DFU to your device: Then to flash the code via USB DFU to your device:
$ make deploy $ make deploy
or or for windows:
for windows by double clicking on update_fw_usb_dfu_hydrabus.bat by double clicking on update_fw_usb_dfu_hydrabus.bat
You will need the dfu-util program, on Arch Linux it's dfu-util-git in the 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 AUR. If the above does not work it may be because you don't have the