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

This commit is contained in:
bvernoux 2014-06-03 18:59:24 +02:00
parent 65a97e8d9c
commit c3c353d7f1
8 changed files with 15 additions and 16 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 KiB

View File

@ -1,6 +1,12 @@
The Micro Python project (HydraBus port Beta) [![Build Status][travis-img]][travis-repo]
============================================== [travis-img]: https://travis-ci.org/micropython/micropython.png?branch=master
![HydraBus board](https://github.com/bvernoux/hydrabus/blob/master/HydraBus_board.jpg) [travis-repo]: https://travis-ci.org/micropython/micropython
The Micro Python project
========================
<p align="center">
<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.
@ -19,8 +25,6 @@ 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.
@ -76,19 +80,16 @@ To build:
$ cd stmhal $ cd stmhal
$ 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 pyboard, connect the
3V3 pin to the BOOT0 pin with a wire. 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: Then to flash the code via USB DFU to your device:
$ make deploy $ 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 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
correct permissions. Try then: correct permissions. Try then:
$ sudo dfu-util -a 0 -D build-HYDRABUS/firmware.dfu $ sudo dfu-util -a 0 -D build-PYBV10/firmware.dfu

View File

@ -1,6 +1,6 @@
# Select the board to build for: if not given on the command line, # Select the board to build for: if not given on the command line,
# then default to HYDRABUS. # then default to PYBV10.
BOARD ?= HYDRABUS BOARD ?= PYBV10
ifeq ($(wildcard boards/$(BOARD)/.),) ifeq ($(wildcard boards/$(BOARD)/.),)
$(error Invalid BOARD specified) $(error Invalid BOARD specified)
endif endif

Binary file not shown.

Binary file not shown.

View File

@ -1,2 +0,0 @@
.\update_fw_dfu_hydrabus\DfuSeCommand.exe -c --de 0 -d --fn ./stmhal/build-HYDRABUS/firmware.dfu
Pause