[Nuvoton] Fix serial corruption due to deep sleep
Prevent deep sleep when there is still any character being transmitted on the UART.
This allows tickless to be safely enabled.
ls
1 parent 310b12a commit beb04a82dc77ee9e0fad60f31ddfae7fb7dd4708
@ccli8 ccli8 authored on 13 Aug 2018
Showing 10 changed files
View
targets/TARGET_NUVOTON/TARGET_M2351/serial_api.c
View
targets/TARGET_NUVOTON/TARGET_M2351/sleep.c
View
targets/TARGET_NUVOTON/TARGET_M451/serial_api.c
View
targets/TARGET_NUVOTON/TARGET_M451/sleep.c
View
targets/TARGET_NUVOTON/TARGET_M480/serial_api.c
View
targets/TARGET_NUVOTON/TARGET_M480/sleep.c
View
targets/TARGET_NUVOTON/TARGET_NANO100/serial_api.c
View
targets/TARGET_NUVOTON/TARGET_NANO100/sleep.c
View
targets/TARGET_NUVOTON/TARGET_NUC472/serial_api.c
View
targets/TARGET_NUVOTON/TARGET_NUC472/sleep.c