sim2egor / STM32F1xx

grblHAL driver for ST STM32F1xx (Redpill, Bluepill)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

grblHAL driver for STM32F1xx processors

2021-08-08: Added support for F103RC variant that has more flash and RAM, added board map for BTT SKR MINI E3 V2.0 which has this processor and uses TMC2209 drivers in UART mode.

NOTE: STM32F3xx Blackpill can often be used as a drop-in replacement of STM32F103 based *pills. It is likely that grblHAL support for F103 will be frozen at some point due to lack of memory.

Loosely based on code from robomechs 6-AXIS-USBCNC-GRBL port, updated for STM32CubeIDE and the latest STM HAL drivers where appropriate.

See the Wiki-page for compiling grblHAL for instructions for how to import the project, configure the driver and compile.

Available driver options can be found here.

NOTE: Non F103 variants must have 128KB of flash! The .ioc design file is not included as modifying the project via the designer requires a bit of cleanup after. The STM HAL is bypassed for all time critical code and to avoid bloat.
NOTE: The SD card plugin requires the SPI1 port to be remapped, disabling the JTAG/SWJ programming interfaces. This will be done on the first mount operation (via a $FM system command) causing the processor to hang. A power cycle is then required to get it working again.

To reenable programming a special system command, $PGM, can be used - issue this followed by a hard reset or power cycle to do so.


2021-08-08

About

grblHAL driver for ST STM32F1xx (Redpill, Bluepill)

License:Other


Languages

Language:C 99.6%Language:Assembly 0.4%