Udemy – Embedded Rust on RISC-V Part 1 2024-12

Udemy – Embedded Rust on RISC-V Part 1 2024-12 Downloadly IRSpace

Udemy – Embedded Rust on RISC-V Part 1 2024-12
Udemy – Embedded Rust on RISC-V Part 1 2024-12

Embedded Rust on RISC-V Part 1 course. This course teaches you how to set up a RISC-V processor using the Rust programming language. The course starts with the basics and helps you boot a Hifive1-Rev B board with embedded Rust. In this course, code management is done using the Cargo workspace. What you will learn in this course:

  • Cargo Workspace: Create a Cargo workspace, create a binary repository to build an executable, create a library repository to hold reusable code, and manage dependencies using the Cargo.toml file.
  • Embedded Rust and Cargo setup for RISC-V target: Understanding features in Rust, concept of embedded Rust, providing a custom interrupt handler and input function, difference between Cargo.toml file and configuration file, how to configure Cargo workspace to build for RISC-V instead of host, how to pass additional flags to Rust compiler, how to pass custom linker file for target (Hifive1-RevB board).
  • Commands for ELF and RUSTFLAGS parsing: extracting information from an ELF file, using RUSTFLAGS to adjust compiler behavior, how to add a custom linker file with RUSTFLAGS.
  • Simple RISC-V boot code: Add an assembly (.S) file, disable interrupts at boot time, set the stack pointer to a valid location, jump from RISC-V assembly to the embedded Rust entry function, build an executable with boot code in RISC-V assembly and the entry function and interrupt handling in Rust.
  • UART Driver in Rust: Structures and implementations in Rust, UART driver functions, building an executable with boot code in RISC-V assembly and UART driver in Rust, connecting to Hifive1-RevB board with OpenOCD and GDB server, loading executable in Hifive1-RevB, reading messages from serial output with serial tools.

What you will learn in this course:

  • How to create a Rust workspace
  • How to configure Rust toolchain for RISC-V
  • How to combine RISC-V assembly with Rust
  • Bootstrapping the RISC-V target into embedded Rust

This course is suitable for people who:

  • Beginner Rust developers interested in running Rust on RISC-V

Embedded Rust on RISC-V Part 1 Course Specifications

Course headings

Embedded Rust on RISC-V Part 1

Prerequisites for the Embedded Rust on RISC-V Part 1 course

  • Knowledge on computer architecture and programming language

Course images

Embedded Rust on RISC-V Part 1

Sample course video

Installation Guide

After Extract, view with your favorite player.

Subtitles: None

Quality: 720p

Download link

Download Part 1 – 1 GB

Download Part 2 – 10 MB

File(s) password: www.downloadly.ir

File size

1.00 GB