Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
c3c353d7
Commit
c3c353d7
authored
Jun 03, 2014
by
bvernoux
Browse files
Cleanup/removed specific stuff specific to HydraBus (except board).
parent
65a97e8d
Changes
8
Hide whitespace changes
Inline
Side-by-side
HydraBus_board.jpg
deleted
100644 → 0
View file @
65a97e8d
155 KB
README.md
View file @
c3c353d7
The Micro Python project (HydraBus port Beta)
==============================================

[
![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
========================
<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
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
stmhal/Makefile
View file @
c3c353d7
# 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
...
...
update_fw_dfu_hydrabus/STDFU.dll
deleted
100644 → 0
View file @
65a97e8d
File deleted
update_fw_dfu_hydrabus/STDFUFiles.dll
deleted
100644 → 0
View file @
65a97e8d
File deleted
update_fw_dfu_hydrabus/STDFUPRT.dll
deleted
100644 → 0
View file @
65a97e8d
File deleted
update_fw_dfu_hydrabus/STTubeDevice30.dll
deleted
100644 → 0
View file @
65a97e8d
File deleted
update_fw_usb_dfu_hydrabus.bat
deleted
100644 → 0
View file @
65a97e8d
.\update_fw_dfu_hydrabus\DfuSeCommand.exe
-c --de
0
-d --fn
./stmhal/build
-HYDRABUS/firmware
.dfu
Pause
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment