Commit c3c353d7 authored by bvernoux's avatar bvernoux
Browse files

Cleanup/removed specific stuff specific to HydraBus (except board).

parent 65a97e8d
The Micro Python project (HydraBus port Beta)
![HydraBus board](
[![Build Status][travis-img]][travis-repo]
The Micro Python project
<p align="center">
<img src="" alt="MicroPython Logo"/>
This is the Micro Python project, which aims to put an implementation
of Python 3.x on a microcontroller.
......@@ -19,8 +25,6 @@ Python 3.4 functionality implemented for the data types and modules.
See the repository for the Micro
Python board, the officially supported reference electronic circuit board.
For HydraBus version see HydraBus website:
Major components in this repository:
- py/ -- the core Python implementation, including compiler and runtime.
- unix/ -- a version of Micro Python that runs on Unix.
......@@ -76,19 +80,16 @@ To build:
$ cd stmhal
$ make
You then need to get your board into DFU mode. On the HydraBus, connect the
3V3 pin to the BOOT0 pin with a wire.
You then need to get your board into DFU mode. On the pyboard, connect the
3V3 pin to the P1/DFU pin with a wire (on PYBv1.0 they are next to each other
on the bottom left of the board, second row from the bottom).
Then to flash the code via USB DFU to your device:
$ make deploy
or for windows:
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
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-HYDRABUS/firmware.dfu
$ sudo dfu-util -a 0 -D build-PYBV10/firmware.dfu
# Select the board to build for: if not given on the command line,
# then default to HYDRABUS.
# then default to PYBV10.
ifeq ($(wildcard boards/$(BOARD)/.),)
$(error Invalid BOARD specified)
.\update_fw_dfu_hydrabus\DfuSeCommand.exe -c --de 0 -d --fn ./stmhal/build-HYDRABUS/firmware.dfu
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment