-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
get pybadge building with zig-master branch of microzig
- Loading branch information
Showing
13 changed files
with
331 additions
and
304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
zig-cache/ | ||
zig-out/ | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,27 @@ | ||
# target extended-remote /dev/ttyACM{first} | ||
# SYCL 2024 PCB Badge | ||
|
||
# monitor swd_scan # searches for device | ||
# attach 1 | ||
# file zig-out/firmware/pybadge-io.elf | ||
# | ||
## Getting Started | ||
|
||
# $ sudo dfu-util -a 0 --dfuse-address 0x08000000:leave -R -D ~/Downloads/blackmagic-firmware-v1.10.0-rc1/blackpill-f401cc/blackmagic-blackpill-f401cc.bin ^C | ||
Temporarily this repo targets the `zig-master` branch of | ||
[MicroZig](https://github.com/ZigEmbeddedGroup/microzig). In order to build this | ||
repo, you must have it checked out, and `microzig` next to `sycl-badge-2024` in | ||
your filesystem. Once this branch is merged it won't be as janky to build this | ||
firmware. | ||
|
||
|
||
## Uploading firmware using a debugger | ||
|
||
``` | ||
target extended-remote /dev/ttyACM{first} | ||
monitor swd_scan # searches for device | ||
attach 1 | ||
file zig-out/firmware/pybadge-io.elf | ||
``` | ||
|
||
## Updating Black Magic Probe firmware | ||
|
||
``` | ||
sudo dfu-util -a 0 --dfuse-address 0x08000000:leave -R -D ~/Downloads/blackmagic-firmware-v1.10.0-rc1/blackpill-f401cc/blackmagic-blackpill-f401cc.bin ^C | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.