Nuvoton: Enable no HXT/LXT configurabiliy
LXT/HXT are external crystl oscillator and can be absent on custom board. This enables configuring LXT/HXT presence: 1. By default, LXT/HXT are configured to be present, except M252 which has no HXT. 2. When LXT is configured to not present, lp_ticker/watchdog will clock by LIRC instead. 3. Limitations: (1) On all targets, LIRC-clocked lp_ticker gets inaccurate and fails to pass tests. (2) On NUC472/M453, HIRC-clocked PLL doesn't output 1MHz-aligned frequency. us_ticker gets slight inaccurate. (3) On all targets, LIRC-clocked RTC is not supported due to no H/W path/RTC clock source reset to LXT on reset/RTC not trimmed for other clock rates. 4. On M263, TRNG's clock source defaults to LXT and needs special handling without LXT. 5. On M252, replace target.hxt-enable with target.hxt-present for consistency. |
---|
|
targets/TARGET_NUVOTON/TARGET_M251/device/system_M251.h |
---|
targets/TARGET_NUVOTON/TARGET_M251/lp_ticker.c |
---|
targets/TARGET_NUVOTON/TARGET_M251/mbed_overrides.c |
---|
targets/TARGET_NUVOTON/TARGET_M251/rtc_api.c |
---|
targets/TARGET_NUVOTON/TARGET_M261/lp_ticker.c |
---|
targets/TARGET_NUVOTON/TARGET_M261/mbed_overrides.c |
---|
targets/TARGET_NUVOTON/TARGET_M261/rtc_api.c |
---|
targets/TARGET_NUVOTON/TARGET_M261/trng_api.cpp |
---|
targets/TARGET_NUVOTON/TARGET_M451/device/startup_M451Series.c |
---|
targets/TARGET_NUVOTON/TARGET_M451/device/system_M451Series.c |
---|
targets/TARGET_NUVOTON/TARGET_M451/device/system_M451Series.h |
---|
targets/TARGET_NUVOTON/TARGET_M451/lp_ticker.c |
---|
targets/TARGET_NUVOTON/TARGET_M451/mbed_overrides.c |
---|
targets/TARGET_NUVOTON/TARGET_M451/rtc_api.c |
---|
targets/TARGET_NUVOTON/TARGET_M451/us_ticker.c |
---|
targets/TARGET_NUVOTON/TARGET_M451/watchdog_api.c |
---|
targets/TARGET_NUVOTON/TARGET_M480/device/system_M480.c |
---|
targets/TARGET_NUVOTON/TARGET_M480/lp_ticker.c |
---|
targets/TARGET_NUVOTON/TARGET_M480/mbed_overrides.c |
---|
targets/TARGET_NUVOTON/TARGET_M480/rtc_api.c |
---|
targets/TARGET_NUVOTON/TARGET_M480/watchdog_api.c |
---|
targets/TARGET_NUVOTON/TARGET_NANO100/lp_ticker.c |
---|
targets/TARGET_NUVOTON/TARGET_NANO100/mbed_overrides.c |
---|
targets/TARGET_NUVOTON/TARGET_NANO100/rtc_api.c |
---|
targets/TARGET_NUVOTON/TARGET_NANO100/us_ticker.c |
---|
targets/TARGET_NUVOTON/TARGET_NANO100/watchdog_api.c |
---|
targets/TARGET_NUVOTON/TARGET_NUC472/lp_ticker.c |
---|
targets/TARGET_NUVOTON/TARGET_NUC472/mbed_overrides.c |
---|
targets/TARGET_NUVOTON/TARGET_NUC472/rtc_api.c |
---|
targets/TARGET_NUVOTON/TARGET_NUC472/us_ticker.c |
---|
targets/TARGET_NUVOTON/TARGET_NUC472/watchdog_api.c |
---|
targets/targets.json |
---|