dzid26 / StepperServoCAN

Closed loop stepper motor controller with CANbus capabilities. This Project open source hardware and code, support platformio build and upload firmware.
https://shop.retropilot.org/product/stepperservocan
19 stars 5 forks source link

Convert to stm32f1xx_hal #24

Open dzid26 opened 7 months ago

dzid26 commented 7 months ago

Replace "STM32 standard peripheral libraries" ( with modern stm32 hal

STM32CubeMX file should be good starting point to generate code snippets for board.c.

Other approach would be to use CubeMX generated files entirely which would kind of replace board.c and maybe main.c.

Platformio has Hal included (if framework = stm32cube is set), but for safety it is better to include all hal libraries in the repo.