Thank you for sending your enquiry! One of our team members will contact you shortly.
Thank you for sending your booking! One of our team members will contact you shortly.
Duration 14 hours
Course Outline
Introduction to Embedded Rust
- Exploring the no_std, core, and embedded Rust ecosystems.
- Selecting appropriate targets and interpreting target triples.
- Configuring rustup, cargo, and specific target toolchains.
Tooling, Build, and Debugging Workflows
- Leveraging cargo, cargo-embed, probe-run, and OpenOCD workflows.
- Flashing and debugging processes using hardware probes like ST-Link and JLink.
- Addressing Continuous Integration (CI) requirements for building embedded Rust firmware.
Hardware Abstraction and Peripheral Interaction
- Analyzing embedded-hal traits and standard driver patterns.
- Utilizing Peripheral Access Crates (PACs) and device crates (svd2rust).
- Creating and utilizing HAL drivers and Board Support Crates (BSCs).
Memory Safety, Concurrency, and Real-Time Processing
- Implementing safe strategies for shared state and mutable references within interrupts.
- Applying RTIC and alternative concurrency models for real-time systems.
- Managing heap versus stack usage, allocators, and avoiding dynamic allocation.
Error Handling, Testing, and Reliability
- Defining error handling patterns suitable for constrained environments.
- Comparing unit testing on the host with integration testing on hardware.
- Conducting fault analysis, logging, and post-mortem investigations.
Performance, Power, and Resource Optimization
- Executing benchmarks, measurements, and optimization of critical code paths.
- Applying code size reduction techniques and managing linker scripts.
- Implementing power management strategies and low-power design patterns.
Deployment, Security, and Ecosystem Best Practices
- Establishing secure boot, firmware signing, and update strategies.
- Evaluating supply-chain risks and managing dependencies effectively.
- Planning the migration of C firmware to Rust and utilizing community resources.
Conclusion and Future Directions
Requirements
- A solid grasp of fundamental Rust concepts, including ownership, borrowing, and lifetimes.
- Proven experience in creating non-trivial Rust applications (intermediate level).
- Knowledge of embedded systems principles such as memory-mapped I/O, interrupts, and peripherals.
Target Audience
- Embedded firmware engineers seeking to integrate Rust into their workflow.
- Software developers with Rust experience who are transitioning to low-level systems programming.
- Technical leads assessing the viability of Rust for embedded product development.
Testimonials (1)
Being able to ask for advanced subjects even if there were not planned initially.