-
Notifications
You must be signed in to change notification settings - Fork 743
boards: tutorials: add nrf52840dk-dynamic-apps-and-policies #4420
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
boards/tutorials/nrf52840dk-process-control/jtag/gdbinit_pca10040.jlink
Outdated
Show resolved
Hide resolved
boards/tutorials/nrf52840dk-process-control/jtag/jdbserver_pca10040.sh
Outdated
Show resolved
Hide resolved
boards/tutorials/nrf52840dk-dynamic-apps-and-policies/src/main.rs
Outdated
Show resolved
Hide resolved
boards/tutorials/nrf52840dk-dynamic-apps-and-policies/src/main.rs
Outdated
Show resolved
Hide resolved
boards/tutorials/nrf52840dk-dynamic-apps-and-policies/src/main.rs
Outdated
Show resolved
Hide resolved
boards/tutorials/nrf52840dk-dynamic-apps-and-policies/src/main.rs
Outdated
Show resolved
Hide resolved
boards/tutorials/nrf52840dk-dynamic-apps-and-policies/src/io.rs
Outdated
Show resolved
Hide resolved
boards/tutorials/nrf52840dk-dynamic-apps-and-policies/src/main.rs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't review too deeply; ultimately I assume that this is working for the tutorial it's written for. Just a few small things
|
||
This is the board definition for the nRF52840DK target used in the | ||
[Dynamic App Loading and Secure Policies] | ||
(https://github.com/tock/book/pull/60/files). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an unfortunate chicken-and-egg situation; fine for the moment, just make sure you have a note somewhere to update this when tock/book#60 lands
(non-blocking comment)
boards/tutorials/nrf52840dk-dynamic-apps-and-policies/src/main.rs
Outdated
Show resolved
Hide resolved
//-------------------------------------------------------------------------- | ||
// SCREEN | ||
//-------------------------------------------------------------------------- | ||
|
||
const SCREEN_I2C_SDA_PIN: Pin = Pin::P1_10; | ||
const SCREEN_I2C_SCL_PIN: Pin = Pin::P1_11; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oof; not a problem this PR needs to fix, but this is the third time we're copy-pasting this block; we should componentize this somehow
(non-blocking comment)
boards/tutorials/nrf52840dk-dynamic-apps-and-policies/src/main.rs
Outdated
Show resolved
Hide resolved
a8e525e
to
ca6ca9d
Compare
6d9c9ff
to
ca6ca9d
Compare
The seq. process loader component changed to move the unsafe operation to main.rs. Need to copy the change from #4436 |
…vm and make types for some capsules
b5549f6
to
d590be7
Compare
Uses the name and the verifying key index.
Try to make it clear
0 => Ok(()), | ||
1 => Ok(()), | ||
_ => Ok(()), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this WIP code, or is this a placeholder that tutorial participants are intended to update [if the latter, perhaps indicate with comments?]
…docs
Pull Request Overview
This pull request adds the tutorial board for the process control tutorial for mobisys '25.
Testing Strategy
It is untested because I did not want to upload the process-info capsule while it is still under review and is seeing changes. It worked with a previous iteration of the capsule.
TODO or Help Wanted
@bradjc can test with his local copy of process-info capsule
Documentation Updated
/docs
, or no updates are required.Formatting
make prepush
.