aboutsummaryrefslogtreecommitdiffstats
path: root/src/lpc176x/serial.c
Commit message (Collapse)AuthorAgeFilesLines
* lpc176x: Update code to use armcm_boot mechanismKevin O'Connor2019-08-221-4/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lpc176x: Move irq handler code above irq setupKevin O'Connor2019-08-221-29/+29
| | | | | | Only code movement. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lpc176x: Reset LPC_UART0->FDR when using serialKevin O'Connor2019-07-101-0/+1
| | | | | | | | | | The popular "LPC17xx-DFU-Bootloader" alters the LPC_UART0->FDR register, so be sure to reset it back to its default when using serial in Klipper. Reported by @b-vs. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lpc176x: Use enumerations for buses and reserve pinsKevin O'Connor2019-04-041-1/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lpc176x: Pass gpio id to gpio_peripheral()Kevin O'Connor2019-01-041-2/+2
| | | | | | | Pass the gpio id instead of the bank/pin to gpio_peripheral(). This is in keeping with other ARM ports. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lpc176x: Move enable_peripheral_clock to main.cKevin O'Connor2019-01-041-1/+1
| | | | | | | Move and rename function to enable_pclock() - in keeping with other ARM ports. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lpc176x: Add an enable_peripheral_clock() helper functionKevin O'Connor2018-11-211-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lpc176x: Add initial support for LPC176x processorsKevin O'Connor2018-05-251-0/+79
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>