Embedded Rust support crate for several Microchip/Atmel XPlained development boards.
Currently the following boards are supported:
- SAM4E_XPlained_Pro
- SAM4N_XPlained_Pro
- SAM4S_XPlained_Pro
- Ensure your development board is connected.
- Change to the directory that corresponds to your development board.
- Start OpenOCD in a separate terminal window - This should show a valid connection to the board. This will be the terminal where the semihosting output is displayed.
- In the original terminal window, execute the following to flash and load an example.
$ # The following command will run the 'blinky' example.
$ cargo re blinky