From 75d57372115eb70ac22d16240c5c887df8ae1da8 Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Sat, 31 Mar 2018 15:34:59 +0200 Subject: Add STM32F103 port Add a fully functional STM32F1 port, currently mostly targeting STM32F103 microcontrollers. This requires an 8 MHz XTAL. The maximum possible step rate is around 282K steps per second. This uses stm32flash to burn the firmware. The bootloader needs to be started by setting BOOT0 to 1 and resetting the MCU. There is no automatic bootloader, unlike on Arduino. Signed-off-by: Grigori Goronzy --- klippy/pins.py | 1 + 1 file changed, 1 insertion(+) (limited to 'klippy/pins.py') diff --git a/klippy/pins.py b/klippy/pins.py index acc19b80..18e8b921 100644 --- a/klippy/pins.py +++ b/klippy/pins.py @@ -36,6 +36,7 @@ MCU_PINS = { "at90usb1286": port_pins(6), "at90usb646": port_pins(6), "atmega1280": port_pins(12), "atmega2560": port_pins(12), "sam3x8e": port_pins(4, 32), + "stm32f103": port_pins(5, 16), "pru": beaglebone_pins(), "linux": {"analog%d" % i: i for i in range(8)}, # XXX } -- cgit v1.2.3-70-g09d2