Skip to content

Add support for SAM L22 family#776

Merged
hathach merged 3 commits into
hathach:masterfrom
joeycastillo:master
Apr 11, 2021
Merged

Add support for SAM L22 family#776
hathach merged 3 commits into
hathach:masterfrom
joeycastillo:master

Conversation

@joeycastillo
Copy link
Copy Markdown

Describe the PR
This pull request adds support for the SAM L22 family of microcontrollers.

Additional context
The SAM L22 is similar enough to the SAM D11/D21 that it's able to use the same implementation in dcd_samd.c, so I just added it to the platform checks in that file. Tested with just about all of the examples on the two boards I'm developing with, a SAM L22 Feather and the Sensor Watch (OSO-SWAT-A1-02).

I know that the porting guidelines say to use a readily available development board, but I don't have a SAM L22 Xplained board on hand. Both of these boards are open source designs, though.

Copy link
Copy Markdown
Owner

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super! This looks great, I have no problems with board that are in the making. It would be great if you could

  1. update boards.md with your boards link just to help people looking up schematcis/info.
  2. Update ci build to also include saml22 build.yml . Depending on the flash/ram some heavy example would fail, but we could easily add .skip.MCU_SAML22 file to those to skip building it

@joeycastillo
Copy link
Copy Markdown
Author

Thanks for the feedback! I made those changes, and all of the examples built with no issues.

Copy link
Copy Markdown
Owner

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, thank you very much for your PRs.

@hathach hathach merged commit cb1eee8 into hathach:master Apr 11, 2021
7FM pushed a commit to 7FM/tinyusb that referenced this pull request Aug 23, 2025
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.

3 participants