Skip to content
Snippets Groups Projects
Select Git revision
  • master default
1 result

README.md

Blame
  • Forked from Per Lindgren / e7020e_2020
    36 commits behind the upstream repository.
    README.md 39.37 KiB

    app

    Examples and exercises for the Nucleo STM32F401re/STM32F11re devkits.


    Dependencies

    • Rust 1.40, or later. Run the following commands to update you Rust tool-chain and add the target for Arm Cortex M4 with hardware floating point support.
    > rustup update
    > rustup target add thumbv7em-none-eabihf
    • For programming (flashing) and debugging

      • openocd debug host, (install using your package manager)

      • arm-none-eabi tool-chain (install using your package manager). In the following we refer the arm-none-eabi-gdb as just gdb for brevity.

      • stlink (optional) tools for erasing and programming ST microcontrollers (install using your package manager).

    • itm tools for ITM trace output, install by:

    > cargo install itm
    • vscode editor/ide and cortex-debug plugin. Install vscode using your package manager and follow the instructions at cortex-debug (optional for an integrated debugging experience)

    • rust-analyzer install following instructions at rust-analyzer (optional for Rust support in vscode)