https://github.com/blueluna/circuit-playground-bluefruit
Experiments on the Adafruit Circuit Playground Bluefruit
https://github.com/blueluna/circuit-playground-bluefruit
adafruit-circuit-playground nrf52840 rust rust-embedded
Last synced: 5 days ago
JSON representation
Experiments on the Adafruit Circuit Playground Bluefruit
- Host: GitHub
- URL: https://github.com/blueluna/circuit-playground-bluefruit
- Owner: blueluna
- License: mit
- Created: 2019-10-19T09:40:35.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-22T15:25:31.000Z (almost 6 years ago)
- Last Synced: 2025-10-11T02:44:56.252Z (14 days ago)
- Topics: adafruit-circuit-playground, nrf52840, rust, rust-embedded
- Language: GDB
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rust experiments on the Adafruit Circuit Playground Bluefruit
## The Setup
Following setup was used when running these examples.
The Adafruit Circuit Playground Bluefruit (CPB) is connected to a J-Link EDU
through the SWD interface on the back of the CPB. A USB-to-serial adapter is
connected to the GNG/RX/TX connectors on the edge of the board.
## Debugging
[JLinkGDBServer] from Segger is used to debug, see the `jlinkgdb` shell script
on how JLinkGDBServer is invoked.
Start the GDB server with `jlinkgdb`.
```
$ ./jlinkgdb
```
Then run the program
```
$ cargo run --example neopixel
```
cargo will use the run definition found in `.cargo/config` to launch `gdb` with
the `jlink.gdb` script file.
Issue the gdb command `continue`/`c` to run the program in the debugger.
[JLinkGDBServer]: https://www.segger.com/products/debug-probes/j-link/tools/j-link-gdb-server/about-j-link-gdb-server/