71 Commits

Author SHA1 Message Date
Jan Niehusmann
951a29d348 Update dependencies to rp-pico=0.6, defmt-rtt=0.4
This indirectly updates rp2040-hal to version 0.7
2023-01-02 09:13:51 +11:00
9names
7eecdba004 Add rustdap usage instructions 2022-11-06 20:35:33 +11:00
Jan Niehusmann
be40e36a95
Update rp2040-hal to version 0.6 (#35) 2022-08-26 12:59:59 +01:00
9names
d204789394
Update docs to use probe-rs-debugger 0.13.0 (#32) 2022-07-12 22:20:25 +10:00
9names
2cd828949a
Update docs to use cargo-embed 0.13.0 (#31) 2022-07-12 21:49:09 +10:00
9names
2cadd4df41
Add a basic VSCode configuration for probe-rs-debugger (#29)
* Add a basic VSCode configuration for probe-rs-debugger

* VSCode: have launch build first and use debug binary

* Got defmt working in vs-code-debugger

* Add VSCode debugger setup to README
2022-06-29 11:58:46 +10:00
9names
be0c18130e Update README with cargo embed instructions 2022-06-26 14:12:39 +10:00
9names
3474f7b108 Add Embed.toml and runner settings for cargo embed 2022-06-26 14:12:39 +10:00
9names
0f070fd8f3 Switch to use bsp::entry to avoid deadlock on reset 2022-06-26 14:12:39 +10:00
9names
4f531c5a4e Remove authors, readme, resolver from Cargo.toml 2022-06-26 13:11:53 +10:00
9names
3577b398c1 Update to Rust edition 2021 2022-06-26 13:11:53 +10:00
9names
185285266c
Update HAL version to 0.5.0 and associated BSPs (#25)
* Update crate versions to latest HAL and BSPs

* Drop patch version from deps where not needed
2022-06-26 10:29:45 +10:00
9names
f4fd405c91 Bump HAL/BSP dep versions 2022-03-12 23:10:01 +11:00
9names
b6b037f609
Remove comments that implied J-Link works
The original comment "JLink probes sort of work" gave the impression that you could probably use a J-Link.  
Support for this was never good, but it's currently completely broken.
I've replaced these parts with stronger language to discourage people from trying.
2022-02-14 23:13:46 +11:00
9names
06180871b5
Improve layout + formatting of readme + runner info (#19)
* Improve layout and formatting of readme

* Update comments around elf2uf2

* Update for DEFMT_LOG in config.toml

* Minor formatting fixes

* Use italics for 'environment variable'
2022-01-19 19:33:08 +11:00
Jan Niehusmann
d78ae43893 Set DEFMT_LOG to "debug" from .cargo/config.toml 2022-01-10 23:56:03 +11:00
Jan Niehusmann
b03e3eef45 Update dependencies to released versions of crates 2021-12-28 19:47:01 +11:00
KernelErr
3e193672b8 typo: fix misspelled elf2uf2-rs
In `README.md`, elf2uf2-rs has been misspelled as elf2usb2-rs in installation commands. In `.cargo/config.toml`, a quotation mark need to be added.
For users who use VS Code with Rust Analyzer, setting target architecture could help them to avoid warning like no tests module.
2021-12-21 14:01:54 +11:00
Jonathan Pallant
b2f4df6965 Mention elf2usb2-rs in the README 2021-12-11 16:09:44 +11:00
Jonathan Pallant
a0fd4ff52e Update README with new Contact/CoC blocks
Taken from the rp-hal repo, for consistency.
2021-12-11 15:51:19 +11:00
Jonathan 'theJPster' Pallant
9d3b0cef3a
Merge pull request #12 from rp-rs/add_workflows
Add github workflow.
2021-12-06 07:28:24 +00:00
Jonathan 'theJPster' Pallant
3625260815 Formatting 2021-12-05 18:50:26 +00:00
Jonathan 'theJPster' Pallant
550578afde OK, fine. No testing. 2021-12-05 18:49:59 +00:00
Jonathan 'theJPster' Pallant
4e2c632485 Add a lib that you can test. 2021-12-05 18:47:34 +00:00
Jonathan 'theJPster' Pallant
3c87ecdbb7 Clippy needs core too. 2021-12-05 18:39:12 +00:00
Jonathan 'theJPster' Pallant
515afd53c0 No matrix for rustfmt. 2021-12-05 18:34:46 +00:00
Jonathan 'theJPster' Pallant
93c6da2dd1 Set the target for testing.
Having a .cargo/config.toml file is annoying if you want to run tests,
as it will attempt to compile the tests for the embedded target.
2021-12-05 18:33:33 +00:00
Jonathan 'theJPster' Pallant
1213a20d2c Clippy needs a valid target core file. 2021-12-05 18:29:25 +00:00
Jonathan 'theJPster' Pallant
44fc2a6d83 Oh, we need flip-link. 2021-12-05 18:28:19 +00:00
Jonathan 'theJPster' Pallant
5b961db0ad OK, it seems we have to specify a toolchain. 2021-12-05 18:26:44 +00:00
Jonathan 'theJPster' Pallant
e7ed6855c9 Need to add target 2021-12-05 18:25:26 +00:00
Jonathan 'theJPster' Pallant
cb4adcb1b6 Add github workflow. 2021-12-05 18:16:46 +00:00
9names
f766fcb031
Use pico bsp (#10)
* Switch from a HAL to a BSP based project

* Add comments about alternative runner in .cargo/config
2021-12-05 15:56:06 +11:00
Jan Niehusmann
34903fc263
Upgrade to defmt-0.3.0 & refer to upstream version of probe-run (#8)
* Upgrade to defmt-0.3.0

* Change references to probe-run-rp back to probe-run
2021-11-28 23:38:27 +11:00
Jonathan Pallant
061d76af3d Specify pinouts for RP2040 based probe 2021-10-22 21:07:51 +11:00
9names
cbf1691e1e
Update installation instructions for probe-run-rp
Since thejpster rebased our changes on upstream probe-run, probe-run-rp is now in the rp2040-support branch.
Updating the installation instructions to reflect that change.
2021-10-10 18:17:17 +11:00
9names
211f3c8704 Switch to c-m-rt 0.7, add resolver=2 2021-09-15 22:17:12 +10:00
9names
3d940a8e3f
Merge pull request #2 from 9names/panic-probe-0.2.0
Upgrade panic-probe to 0.2.0, enable print-defmt
2021-09-08 01:01:32 +10:00
9names
040a63a6d1 Upgrade panic-probe to 0.2.0, enable print-defmt 2021-09-08 00:58:04 +10:00
9names
eacdf84ee3
Merge pull request #1 from jannic/pr1
Upgrade dependency on defmt to 0.2.0
2021-09-08 00:48:48 +10:00
Jan Niehusmann
2f239d8211 Upgrade dependency on defmt to 0.2.0
When installing probe run using
`cargo install --git https://github.com/rp-rs/probe-run --branch main`
as suggested by README.md, one currently gets version 0.2.4, which uses
defmt 0.2.

So, when following the README.md, one gets the following error message:

```
Error: defmt version mismatch: firmware is using 0.1, `probe-run` supports 0.2
suggestion: `cargo install` a different non-git version of `probe-run` that supports defmt 0.1
```

This can be fixed by updating the template to defmt 0.2.
2021-09-05 12:53:10 +00:00
9names
a7fe2e9958 Add features rt to rp2040-hal 2021-08-22 22:50:38 +10:00
9names
3e356e7ce7 Switch to git rp2040-hal to avoid 0.2.0 i2c breakage 2021-08-21 23:32:45 +10:00
9names
d14dc934c0 Update to new bootloader naming 2021-08-21 23:31:13 +10:00
9names
cc0f24035c Use build profiles from knurling template 2021-08-21 19:58:58 +10:00
9names
8b55302179
Use published version of rp2040-hal 2021-08-15 14:08:53 +10:00
9names
7c6ee8a416
Update project name in Cargo.toml 2021-08-15 14:08:14 +10:00
9names
40ed7c48b8
Minor cleanup of readme.md 2021-08-15 14:01:04 +10:00
9names
486792b68f Add a list of CMSIS-DAP hardware to docs 2021-08-09 00:13:00 +10:00
9names
a3bbf31c43 Remove broken option from Cargo.toml 2021-08-04 23:24:40 +10:00