File tree 5 files changed +6
-230
lines changed
5 files changed +6
-230
lines changed Original file line number Diff line number Diff line change @@ -20,16 +20,11 @@ Then:
20
20
pip3 install . --user
21
21
```
22
22
23
- Build
24
- -----
25
-
26
- ```
27
- ./build.sh
28
- ```
29
-
30
23
Documentation
31
24
-------------
32
25
26
+ Documentation can be viewed at: https://buildhat.readthedocs.io
27
+
33
28
Instructions for regenerating the documentation can be found in
34
29
` docs/README.md ` . Briefly, assuming you have the appropriate python
35
30
modules installed:
@@ -78,29 +73,3 @@ motor.stop()
78
73
79
74
pause()
80
75
```
81
-
82
- Programming Bootloader
83
- ----------------------
84
-
85
- ```
86
- sudo apt install automake autoconf build-essential texinfo libtool libftdi-dev libusb-1.0-0-dev
87
- git clone https://github.com/raspberrypi/openocd.git --recursive --branch rp2040 --depth=1
88
- cd openocd
89
- ./bootstrap
90
- ./configure --enable-ftdi --enable-sysfsgpio --enable-bcm2835gpio
91
- make -j4
92
- sudo make install
93
- ```
94
-
95
- * Use the following command to program the bootloader:
96
-
97
- ```
98
- openocd -s /usr/local/share/openocd/scripts -f interface/raspberrypi-swd.cfg -f target/rp2040.cfg -c "program bootloader.elf verify reset exit"
99
- ```
100
-
101
- Install
102
- -------
103
-
104
- ```
105
- pip3 install buildhat-*.whl
106
- ```
Original file line number Diff line number Diff line change 2
2
3
3
python3 -m venv hat_env
4
4
source hat_env/bin/activate
5
- USE_DUMMY_I2C=1 ./setup.py build
6
- USE_DUMMY_I2C=1 ./setup.py install
5
+ ./setup.py build
6
+ ./setup.py install
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 20
20
long_description_content_type = "text/markdown" ,
21
21
author = 'Raspberry Pi Foundation' ,
22
22
author_email = '[email protected] ' ,
23
- url = 'https://github.com/RaspberryPiFoundation/buildhat ' ,
23
+ url = 'https://github.com/RaspberryPiFoundation/python-build-hat ' ,
24
24
project_urls = {
25
- 'Bug Tracker' : "https://github.com/RaspberryPiFoundation/buildhat /issues" ,
25
+ 'Bug Tracker' : "https://github.com/RaspberryPiFoundation/python-build-hat /issues" ,
26
26
},
27
27
packages = ['buildhat' ],
28
28
package_data = {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments