Get in Touch
 Duration 14 hours

Course Outline

Introduction to Embedded Rust

  • Exploration of no_std, core, and the broader Rust embedded ecosystem.
  • Selecting appropriate targets and comprehending target triples.
  • Installation and configuration of rustup, cargo, and specific target toolchains.

Tooling, Build, and Debug Workflows

  • Utilizing cargo, cargo-embed, probe-run, and OpenOCD for development workflows.
  • Flashing and debugging processes using hardware probes such as ST-Link and JLink.
  • Addressing CI requirements for building embedded Rust firmware.

Hardware Abstraction and Peripheral Interaction

  • Analyzing embedded-hal traits and standard driver patterns.
  • Working with Peripheral Access Crates (PACs) and device crates generated by svd2rust.
  • Creating and utilizing HAL drivers and Board Support Crates (BSCs).

Memory Safety, Concurrency, and Real-Time Systems

  • Establishing safe patterns for shared state and mutable references within interrupt contexts.
  • Implementing RTIC and alternative concurrency models for real-time applications.
  • Managing heap versus stack usage, allocators, and strategies to avoid dynamic allocation.

Error Handling, Testing, and Reliability

  • Applying error handling patterns suitable for constrained environments.
  • Conducting unit tests on the host and integration tests on target hardware.
  • Performing fault analysis, implementing logging, and developing post-mortem strategies.

Performance, Power, and Resource Optimization

  • Executing benchmarks, measurements, and optimization of critical code paths.
  • Employing code size reduction techniques and configuring linker scripts.
  • Implementing power management strategies and low-power design patterns.

Deployment, Security, and Ecosystem Best Practices

  • Implementing secure boot, firmware signing, and update strategies.
  • Addressing supply-chain risks and managing dependencies effectively.
  • Planning the migration from C firmware to Rust and utilizing community resources.

Conclusion and Future Steps

Requirements

  • A solid grasp of core Rust concepts, including ownership, borrowing, and lifetimes.
  • Practical experience in writing non-trivial Rust programs (intermediate level).
  • Knowledge of embedded system concepts such as memory-mapped I/O, interrupts, and peripherals.

Target Audience

  • Embedded firmware engineers seeking to integrate Rust into their workflow.
  • Software engineers with Rust expertise looking to transition into low-level systems development.
  • Technical leads assessing Rust for embedded product development initiatives.

Custom Corporate Training

Training solutions designed exclusively for businesses.

  • Customized Content: We adapt the syllabus and practical exercises to the real goals and needs of your project.
  • Flexible Schedule: Dates and times adapted to your team's agenda.
  • Format: Online (live), In-company (at your offices), or Hybrid.
Investment

Price per private group, online live training, starting from 2900 € + VAT*

Contact us for an exact quote and to hear our latest promotions

Testimonials (1)

Upcoming Courses

Related Categories