Northeastern-Electric-Racing / Cerberus

Our FreeRTOS-based vehicle control application
1 stars 0 forks source link

Adding MPU Interface #120

Closed nwdepatie closed 6 months ago

nwdepatie commented 6 months ago

Changes

To encapsulate a lot of the hardware that we are interacting with that is onboard the MPU itself, I made an MPU interface that will abstract the HAL calls that would otherwise need to be made, as well as adding in a nice place for mutexing to occur

Notes

My implementation of ADC reading is probably a bit too mixed with application layer, as I am making an assumption that the dev is calling the read_adc function from a task. But this was the best way I could think of.

To Do

Closes #112