From c3c353d7f108fcef92943bcc9e0a7f8a75a6fa18 Mon Sep 17 00:00:00 2001 From: bvernoux Date: Tue, 3 Jun 2014 18:59:24 +0200 Subject: Cleanup/removed specific stuff specific to HydraBus (except board). --- HydraBus_board.jpg | Bin 158499 -> 0 bytes README.md | 25 +++++++++++++------------ stmhal/Makefile | 4 ++-- update_fw_dfu_hydrabus/STDFU.dll | Bin 53248 -> 0 bytes update_fw_dfu_hydrabus/STDFUFiles.dll | Bin 262144 -> 0 bytes update_fw_dfu_hydrabus/STDFUPRT.dll | Bin 225280 -> 0 bytes update_fw_dfu_hydrabus/STTubeDevice30.dll | Bin 225280 -> 0 bytes update_fw_usb_dfu_hydrabus.bat | 2 -- 8 files changed, 15 insertions(+), 16 deletions(-) delete mode 100644 HydraBus_board.jpg delete mode 100644 update_fw_dfu_hydrabus/STDFU.dll delete mode 100644 update_fw_dfu_hydrabus/STDFUFiles.dll delete mode 100644 update_fw_dfu_hydrabus/STDFUPRT.dll delete mode 100644 update_fw_dfu_hydrabus/STTubeDevice30.dll delete mode 100644 update_fw_usb_dfu_hydrabus.bat diff --git a/HydraBus_board.jpg b/HydraBus_board.jpg deleted file mode 100644 index dcbfb2a69..000000000 Binary files a/HydraBus_board.jpg and /dev/null differ diff --git a/README.md b/README.md index b39ba20c5..48942daa7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,12 @@ -The Micro Python project (HydraBus port Beta) -============================================== -![HydraBus board](https://github.com/bvernoux/hydrabus/blob/master/HydraBus_board.jpg) +[![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 +======================== +

+ 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 www.github.com/micropython/pyboard for the Micro Python board, the officially supported reference electronic circuit board. -For HydraBus version see HydraBus website: http://hydrabus.com - 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 diff --git a/stmhal/Makefile b/stmhal/Makefile index 45af8d1d1..e27dd7b6c 100644 --- a/stmhal/Makefile +++ b/stmhal/Makefile @@ -1,6 +1,6 @@ # Select the board to build for: if not given on the command line, -# then default to HYDRABUS. -BOARD ?= HYDRABUS +# then default to PYBV10. +BOARD ?= PYBV10 ifeq ($(wildcard boards/$(BOARD)/.),) $(error Invalid BOARD specified) endif diff --git a/update_fw_dfu_hydrabus/STDFU.dll b/update_fw_dfu_hydrabus/STDFU.dll deleted file mode 100644 index f0242cb00..000000000 Binary files a/update_fw_dfu_hydrabus/STDFU.dll and /dev/null differ diff --git a/update_fw_dfu_hydrabus/STDFUFiles.dll b/update_fw_dfu_hydrabus/STDFUFiles.dll deleted file mode 100644 index 4213b3af9..000000000 Binary files a/update_fw_dfu_hydrabus/STDFUFiles.dll and /dev/null differ diff --git a/update_fw_dfu_hydrabus/STDFUPRT.dll b/update_fw_dfu_hydrabus/STDFUPRT.dll deleted file mode 100644 index 946e0467e..000000000 Binary files a/update_fw_dfu_hydrabus/STDFUPRT.dll and /dev/null differ diff --git a/update_fw_dfu_hydrabus/STTubeDevice30.dll b/update_fw_dfu_hydrabus/STTubeDevice30.dll deleted file mode 100644 index 17697e73c..000000000 Binary files a/update_fw_dfu_hydrabus/STTubeDevice30.dll and /dev/null differ diff --git a/update_fw_usb_dfu_hydrabus.bat b/update_fw_usb_dfu_hydrabus.bat deleted file mode 100644 index 265c39371..000000000 --- a/update_fw_usb_dfu_hydrabus.bat +++ /dev/null @@ -1,2 +0,0 @@ -.\update_fw_dfu_hydrabus\DfuSeCommand.exe -c --de 0 -d --fn ./stmhal/build-HYDRABUS/firmware.dfu -Pause -- cgit v1.2.3