Skip to content

Commit ab3baf2

Browse files
committed
documentation updates (upload script)
1 parent c6c1e4e commit ab3baf2

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
11
# Shield Code 6.0
22
Documentation can be found [here](https://317lab.github.io/shield_code-6.0/index.html). Email s.k.wallace.09@gmail.com with questions.
3+
4+
For 317 members: GSE-D is configured to program the board. To build the project, run
5+
6+
pio run
7+
8+
To upload (without building), run
9+
10+
python 317_upload.py

src/main.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@ Members of the 317 lab can access my notes on designing the board and known prob
1515
## Programming the Board
1616
GSE-D is configured to program the board. Simply connect to the board with USB, cd into the project repository and run
1717
18-
pio run
18+
python 317_upload.py
1919
20-
Make sure you fetch and pull changes from git before programming the board. This will build the project again before uploading, but it should be very fast.
20+
Make sure you fetch and pull changes from git before programming the board. If there are firmware changes, run
21+
22+
pio run
23+
24+
to rebuild the project. We use the date on the binary file as the rev number, so don't rebuild unnecessarily.
2125
2226
## Notes and Quirks
2327
The board uses an external crystal oscillator, rather than the included ceramic oscillator on the Due. This required some changes that are not included in this documentation. First, a modded_system_sam3xa.c file is included in src/ to change the startup clock settings. Then, replace_libsam.py replaces the gcc_rel.a file that contains the precompiled startup code with our modded version. This required manually including the CMSIS libraries in /src/.

0 commit comments

Comments
 (0)