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: Requires 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-04-14