Skip to content

saml1x: add riotboot support#11248

Merged
dylad merged 2 commits intoRIOT-OS:masterfrom
emmanuelsearch:pr-riotboot-saml1x
Mar 26, 2019
Merged

saml1x: add riotboot support#11248
dylad merged 2 commits intoRIOT-OS:masterfrom
emmanuelsearch:pr-riotboot-saml1x

Conversation

@emmanuelsearch
Copy link
Copy Markdown
Member

@emmanuelsearch emmanuelsearch commented Mar 23, 2019

Contribution description

This PR adds riotboot support for the SAML10-xpro and SAML11-xpro boards.

Testing procedure

if tests/riotboot works, we're fine ;)

Issues/PRs references

needs #11249 to work (additional clock initialization patch in cpu/saml1x/cpu.c )

@dylad dylad mentioned this pull request Mar 23, 2019
5 tasks
@cladmi cladmi added the State: waiting for other PR State: The PR requires another PR to be merged first label Mar 24, 2019
@emmanuelsearch emmanuelsearch removed the State: waiting for other PR State: The PR requires another PR to be merged first label Mar 24, 2019
@emmanuelsearch
Copy link
Copy Markdown
Member Author

@dylad can you check if this works on saml10-xpro too?

@emmanuelsearch emmanuelsearch requested a review from dylad March 24, 2019 22:43
@dylad
Copy link
Copy Markdown
Member

dylad commented Mar 25, 2019

@emmanuelsearch I'll check on both boards. Could you rebase please ?

@emmanuelsearch
Copy link
Copy Markdown
Member Author

@dylad rebased

Copy link
Copy Markdown
Member

@dylad dylad left a comment

Choose a reason for hiding this comment

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

two nitpicks, you can squash at the same time !
Sorry I should have checked that sooner...

}

/* The following register is only present for Cortex-M0+, -M3, -M4 and -M7 CPUs */
/* The following register is only present for Cortex-M0+, -M3, -M4, -M7 and -M23 CPUs */
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Split in two lines.

# Put other features on these boards (in alphabetical order)
FEATURES_PROVIDED += riotboot


Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

remove extra newline

@dylad dylad added Type: new feature The issue requests / The PR implemements a new feature for RIOT Area: cpu Area: CPU/MCU ports labels Mar 25, 2019
@dylad dylad added this to the Release 2019.04 milestone Mar 25, 2019
@emmanuelsearch
Copy link
Copy Markdown
Member Author

@dylad done.

Copy link
Copy Markdown
Member

@dylad dylad left a comment

Choose a reason for hiding this comment

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

ACK.
tested work on SAML10-XPRO and SAML11-XPRO.

@dylad dylad added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Mar 26, 2019
@dylad
Copy link
Copy Markdown
Member

dylad commented Mar 26, 2019

@emmanuelsearch
static tests is failing

Copy link
Copy Markdown
Contributor

@cladmi cladmi left a comment

Choose a reason for hiding this comment

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

I successfully tested this PR with saml11-xpro used in combination with #11172 for the different riotboot/flash-slot1, riotboot/flash-slot0, riotboot/flash-extended-slot0, targets.

Only need to address the static-test remarks.

@emmanuelsearch
Copy link
Copy Markdown
Member Author

@cladmi @dylad thanks for testing!
Rebased and I think I fixed the trailing white space issue now.

@dylad
Copy link
Copy Markdown
Member

dylad commented Mar 26, 2019

All green -> here we go.

@dylad dylad merged commit b0a2559 into RIOT-OS:master Mar 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: cpu Area: CPU/MCU ports CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: new feature The issue requests / The PR implemements a new feature for RIOT

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants