1
- The Micro Python project (HydraBus port Beta)
2
- ==============================================
3
- ![ HydraBus board] ( https://github.com/bvernoux/hydrabus/blob/master/HydraBus_board.jpg )
1
+ [ ![ Build Status] [ travis-img ]] [ travis-repo ]
2
+ [ travis-img ] : https://travis-ci.org/micropython/micropython.png?branch=master
3
+ [ travis-repo ] : https://travis-ci.org/micropython/micropython
4
+
5
+ The Micro Python project
6
+ ========================
7
+ <p align =" center " >
8
+ <img src =" https://raw2.github.com/micropython/micropython/master/logo/upython-with-micro.jpg " alt =" MicroPython Logo " />
9
+ </p >
4
10
5
11
This is the Micro Python project, which aims to put an implementation
6
12
of Python 3.x on a microcontroller.
@@ -19,8 +25,6 @@ Python 3.4 functionality implemented for the data types and modules.
19
25
See the repository www.github.com/micropython/pyboard for the Micro
20
26
Python board, the officially supported reference electronic circuit board.
21
27
22
- For HydraBus version see HydraBus website: http://hydrabus.com
23
-
24
28
Major components in this repository:
25
29
- py/ -- the core Python implementation, including compiler and runtime.
26
30
- unix/ -- a version of Micro Python that runs on Unix.
@@ -76,19 +80,16 @@ To build:
76
80
$ cd stmhal
77
81
$ make
78
82
79
- You then need to get your board into DFU mode. On the HydraBus, connect the
80
- 3V3 pin to the BOOT0 pin with a wire.
83
+ You then need to get your board into DFU mode. On the pyboard, connect the
84
+ 3V3 pin to the P1/DFU pin with a wire (on PYBv1.0 they are next to each other
85
+ on the bottom left of the board, second row from the bottom).
81
86
82
87
Then to flash the code via USB DFU to your device:
83
88
84
89
$ make deploy
85
90
86
- or for windows:
87
-
88
- by double clicking on update_fw_usb_dfu_hydrabus.bat
89
-
90
91
You will need the dfu-util program, on Arch Linux it's dfu-util-git in the
91
92
AUR. If the above does not work it may be because you don't have the
92
93
correct permissions. Try then:
93
94
94
- $ sudo dfu-util -a 0 -D build-HYDRABUS /firmware.dfu
95
+ $ sudo dfu-util -a 0 -D build-PYBV10 /firmware.dfu
0 commit comments