This template will provide you the way to work with the stm32-discovery board's sensor as an Gyroscope. This template is going to use the sensor of the stm32f3 board by extracting the readings of the Gyroscope Sensor.
It is going to generate the Gyro readings from the Gyroscope Sensor in all three x, y, z axis.
- Rust Programming Language
- A stm32f3 Discovery Board
- Few dependencies
Here in this mini project we are going to get the readings from the Gyroscope Sensor and will measure the gyroscope data.
All these readings are going to print on the itm-dump console.
**Now before building this project you need to solder your board. It will help in printing the data to itm terminal. Use this link to solder your f3 Board.
Open terminal from home directory and execute Command
cd /tmp && touch itm.txt
Then
itmdump -F -f itm.txt
Leave this terminal running. Now in new terminal run command.
cd /tmp && openocd -f interface/stlink-v2-1.cfg -f target/stm32f3x.cfg
Execute the Command
cargo run
Then we will be in gdb terminal. Now execute command:
step
continue