This is an old revision of the document!
This document mainly introduces UART. You will learn how to enable UART on 40-Pin Header on Khadas SBC.
Uart PIN in 40-Pin Header is PIN15 and PIN16. Refer to Device Tree Overlay.
Enable uart node via device tree overlays. Edit /boot/env.txt
to add uartX
to overlays. E.g.
overlays=uart4 pwm_ao_a pwm_f i2c0
Reboot to effect.
After reboot, you will see the uart device node.