Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add notes on program shape #222

Merged
merged 4 commits into from
Nov 5, 2024
Merged

Add notes on program shape #222

merged 4 commits into from
Nov 5, 2024

Conversation

jonathanpallant
Copy link
Member

  1. Flat Binaries
  2. Tasks are Libraries
  3. Tasks are Binaries (dynamic linking)
  4. Tasks are Binaries (static linking)

Tasks, static linking, etc.
Copy link

cloudflare-workers-and-pages bot commented Nov 4, 2024

Deploying ferrous-systems-rust-training with  Cloudflare Pages  Cloudflare Pages

Latest commit: e8ae2ff
Status: ✅  Deploy successful!
Preview URL: https://16e6422b.ferrous-systems-rust-training.pages.dev
Branch Preview URL: https://shape-of-an-embedded-program.ferrous-systems-rust-training.pages.dev

View logs

Copy link
Contributor

@miguelraz miguelraz left a comment

Choose a reason for hiding this comment

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

No blockers from my side, so I'm approving the generals structure. Nits can come in later as smaller fixes.

training-slides/src/shape-rust-program.md Outdated Show resolved Hide resolved

Note:

SVC is the Arm mnemonic for performing a system call. These are also known as
Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, great note, was about to ask for SVC to be clarified :)

Note:

As of 2024, TockOS only allows Rust applications to be installed in the first
flash slot, for this reason. C applications can be installed into any flash
Copy link
Contributor

Choose a reason for hiding this comment

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

", for this reason."

which reason is that, precisely?

Copy link
Member Author

Choose a reason for hiding this comment

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

Rust does not currently support [RWPI] or [ROPI] code

@miguelraz miguelraz merged commit 54c0c60 into main Nov 5, 2024
7 checks passed
@tshepang tshepang deleted the shape-of-an-embedded-program branch November 8, 2024 03:56
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.

2 participants