aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/pins.py
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@chown.ath.cx>2018-03-31 15:34:59 +0200
committerKevinOConnor <kevin@koconnor.net>2018-04-09 18:08:29 -0400
commit75d57372115eb70ac22d16240c5c887df8ae1da8 (patch)
treed31b31d32f80916c8406fc663994260a1acaa786 /klippy/pins.py
parente097b085209e4737abc71dbb0fc06408a6e1f6d1 (diff)
downloadkutter-75d57372115eb70ac22d16240c5c887df8ae1da8.tar.gz
kutter-75d57372115eb70ac22d16240c5c887df8ae1da8.tar.xz
kutter-75d57372115eb70ac22d16240c5c887df8ae1da8.zip
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 <greg@kinoho.net>
Diffstat (limited to 'klippy/pins.py')
-rw-r--r--klippy/pins.py1
1 files changed, 1 insertions, 0 deletions
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
}