lpc176x: Add hardware PWM support for LPC176x

This adds hardware PWM support for LPC176x processors.

Signed-off-by: Michael Kurz <michi.kurz@gmail.com>
This commit is contained in:
Michael Kurz
2021-03-21 19:13:47 +01:00
committed by Kevin O'Connor
parent d02c80ef08
commit 39188e1cf3
5 changed files with 107 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ src-$(CONFIG_HAVE_GPIO_SPI) += lpc176x/spi.c
src-$(CONFIG_USBSERIAL) += lpc176x/usbserial.c lpc176x/chipid.c
src-$(CONFIG_USBSERIAL) += generic/usb_cdc.c
src-$(CONFIG_SERIAL) += lpc176x/serial.c generic/serial_irq.c
src-$(CONFIG_HAVE_GPIO_HARD_PWM) += lpc176x/hard_pwm.c
# Build the additional bin output file
target-y += $(OUT)klipper.bin