Skip to content

Dynamic PCLK source IDs#13

Open
jbeaurivage wants to merge 114 commits into
ianrrees:clock_v2_thumbv6mfrom
jbeaurivage:dyn-pclk-src-id
Open

Dynamic PCLK source IDs#13
jbeaurivage wants to merge 114 commits into
ianrrees:clock_v2_thumbv6mfrom
jbeaurivage:dyn-pclk-src-id

Conversation

@jbeaurivage

Copy link
Copy Markdown

This PR is a mirror of atsamd-rs#978 and should be merged here.

jbeaurivage and others added 20 commits November 16, 2025 20:21
…s#958)

The circuit-playground-express uses these pads as the Sda/Scl
pads.
* chore: release

* Minor version bump for all T1 boards

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Justin Beaurivage <code@beaurivage.io>
* chore(circuit_playground_express): release v0.12.0

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Justin Beaurivage <code@beaurivage.io>
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](actions/download-artifact@v6...v7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Make the cpe usb_serial example use rtic. This allows the removal of the static muts, which are not legal in
edition 2024.
* Add an blinky example that uses rtic.
* chore: release

* grand_central_m4 breaking bump

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Justin Beaurivage <code@beaurivage.io>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
rnd-ash and others added 5 commits February 6, 2026 09:32
* Add in option for more USB buffer sizes

* Simplify USB buffer allocation and prevent panic
Fix embedded_io::Read::read implementation for sercom::Uart

Signed-off-by: Justin Beaurivage <code@beaurivage.io>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
ianrrees and others added 25 commits June 2, 2026 18:14
Couldn't deduplicate with the feather_m4 and metro_m4 examples, because
the alias used for the LED is different.  Sorting that out seems like a
separate project.
Reading the GCLK GENCTRL register isn't possible on the thumbv6m chips,
on these there is only one GENCTRL register for the whole GCLK
peripheral, in contrast to one GENCTRL per generator on the thumbv7em
chips.  On the thumbv6m chips, modifying GENCTRL is done by atomically
writing the whole register, which has a field for the generator ID to be
modified.

The GENCTRL register had been modified from the GclkToken<> impl,
per-field, but the state required to fill the other fields for the
atomic register write wasn't available in the GclkToken<> scope.  So,
these GENCTRL accesses were moved up in to the Gclk<> impl.

One more bit of state was added to the settings to handle the Output
Enable bit.
PCLK source ID can be either type-checked or
runtime-checked. Also change ADC peripehral to
use dynamic source IDs.

Signed-off-by: Justin Beaurivage <code@beaurivage.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.