diff --git a/connectivity/drivers/emac/TARGET_NUVOTON_EMAC/TARGET_M460/m460_eth.c b/connectivity/drivers/emac/TARGET_NUVOTON_EMAC/TARGET_M460/m460_eth.c index 591de2204f2..275a3af904e 100644 --- a/connectivity/drivers/emac/TARGET_NUVOTON_EMAC/TARGET_M460/m460_eth.c +++ b/connectivity/drivers/emac/TARGET_NUVOTON_EMAC/TARGET_M460/m460_eth.c @@ -20,6 +20,7 @@ //#include #include "m460_eth.h" #include "mbed_toolchain.h" +#include "mbed_interface.h" //#define NU_TRACE #include "numaker_eth_hal.h" diff --git a/connectivity/drivers/emac/TARGET_NUVOTON_EMAC/TARGET_M480/m480_eth.c b/connectivity/drivers/emac/TARGET_NUVOTON_EMAC/TARGET_M480/m480_eth.c index 6543beac6fa..30de209f81c 100644 --- a/connectivity/drivers/emac/TARGET_NUVOTON_EMAC/TARGET_M480/m480_eth.c +++ b/connectivity/drivers/emac/TARGET_NUVOTON_EMAC/TARGET_M480/m480_eth.c @@ -20,6 +20,7 @@ #include #include "m480_eth.h" #include "mbed_toolchain.h" +#include "mbed_interface.h" //#define NU_TRACE #include "numaker_eth_hal.h" diff --git a/connectivity/drivers/emac/TARGET_NUVOTON_EMAC/TARGET_NUC472/nuc472_eth.c b/connectivity/drivers/emac/TARGET_NUVOTON_EMAC/TARGET_NUC472/nuc472_eth.c index 209fb024724..d9dbb51d779 100644 --- a/connectivity/drivers/emac/TARGET_NUVOTON_EMAC/TARGET_NUC472/nuc472_eth.c +++ b/connectivity/drivers/emac/TARGET_NUVOTON_EMAC/TARGET_NUC472/nuc472_eth.c @@ -20,6 +20,7 @@ #include #include "nuc472_eth.h" #include "mbed_toolchain.h" +#include "mbed_interface.h" //#define NU_TRACE #include "numaker_eth_hal.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/analogin_api.c b/targets/TARGET_NUVOTON/TARGET_M251/analogin_api.c index 3ffc27b4b26..127560816b2 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/analogin_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/analogin_api.c @@ -23,6 +23,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "hal/PinNameAliases.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/analogout_api.c b/targets/TARGET_NUVOTON/TARGET_M251/analogout_api.c index 96da2699db8..ee7e991b375 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/analogout_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/analogout_api.c @@ -23,6 +23,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" /* Maximum DAC modules */ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/i2c_api.c b/targets/TARGET_NUVOTON/TARGET_M251/i2c_api.c index e0ea4152717..42e32116f5f 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/i2c_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/i2c_api.c @@ -23,6 +23,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "nu_miscutil.h" #include "nu_bitutil.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/pwmout_api.c b/targets/TARGET_NUVOTON/TARGET_M251/pwmout_api.c index 8bf50a261b4..90f1d2d12e3 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/pwmout_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/pwmout_api.c @@ -23,6 +23,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "nu_miscutil.h" #include "nu_bitutil.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/serial_api.c b/targets/TARGET_NUVOTON/TARGET_M251/serial_api.c index aefd9673197..7b63fcf226f 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/serial_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/serial_api.c @@ -24,6 +24,7 @@ #include "mbed_error.h" #include "mbed_assert.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "nu_bitutil.h" #include diff --git a/targets/TARGET_NUVOTON/TARGET_M251/spi_api.c b/targets/TARGET_NUVOTON/TARGET_M251/spi_api.c index d8e9d378aca..ce879d13b74 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/spi_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/spi_api.c @@ -23,6 +23,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "nu_miscutil.h" #include "nu_bitutil.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M261/analogin_api.c b/targets/TARGET_NUVOTON/TARGET_M261/analogin_api.c index 36cea1f003a..ee8058807a4 100644 --- a/targets/TARGET_NUVOTON/TARGET_M261/analogin_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M261/analogin_api.c @@ -22,6 +22,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "hal/PinNameAliases.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M261/analogout_api.c b/targets/TARGET_NUVOTON/TARGET_M261/analogout_api.c index f4554122e7f..02aa47f32ef 100644 --- a/targets/TARGET_NUVOTON/TARGET_M261/analogout_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M261/analogout_api.c @@ -22,6 +22,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" /* Maximum DAC modules */ diff --git a/targets/TARGET_NUVOTON/TARGET_M261/can_api.c b/targets/TARGET_NUVOTON/TARGET_M261/can_api.c index fa04232ee46..dce5a76c50a 100644 --- a/targets/TARGET_NUVOTON/TARGET_M261/can_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M261/can_api.c @@ -23,6 +23,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" + #include "gpio_api.h" #include "nu_modutil.h" #include "nu_miscutil.h" #include "nu_bitutil.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M261/i2c_api.c b/targets/TARGET_NUVOTON/TARGET_M261/i2c_api.c index 4e1752fd29c..597326edeb0 100644 --- a/targets/TARGET_NUVOTON/TARGET_M261/i2c_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M261/i2c_api.c @@ -22,6 +22,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "nu_miscutil.h" #include "nu_bitutil.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M261/pwmout_api.c b/targets/TARGET_NUVOTON/TARGET_M261/pwmout_api.c index ef07b168e53..f62cba8ac60 100644 --- a/targets/TARGET_NUVOTON/TARGET_M261/pwmout_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M261/pwmout_api.c @@ -22,6 +22,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "nu_miscutil.h" #include "nu_bitutil.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M261/serial_api.c b/targets/TARGET_NUVOTON/TARGET_M261/serial_api.c index a57c20204d4..5fad8f8b97b 100644 --- a/targets/TARGET_NUVOTON/TARGET_M261/serial_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M261/serial_api.c @@ -23,6 +23,7 @@ #include "mbed_error.h" #include "mbed_assert.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "nu_bitutil.h" #include diff --git a/targets/TARGET_NUVOTON/TARGET_M261/spi_api.c b/targets/TARGET_NUVOTON/TARGET_M261/spi_api.c index ebf7da50f25..265ac7f43d8 100644 --- a/targets/TARGET_NUVOTON/TARGET_M261/spi_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M261/spi_api.c @@ -23,6 +23,7 @@ #include "mbed_error.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "nu_miscutil.h" #include "nu_bitutil.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M451/analogin_api.c b/targets/TARGET_NUVOTON/TARGET_M451/analogin_api.c index b559d77aa11..eb41c3257d6 100644 --- a/targets/TARGET_NUVOTON/TARGET_M451/analogin_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M451/analogin_api.c @@ -21,6 +21,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "hal/PinNameAliases.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M451/analogout_api.c b/targets/TARGET_NUVOTON/TARGET_M451/analogout_api.c index 54a0c633dc9..c0a72fa5c12 100644 --- a/targets/TARGET_NUVOTON/TARGET_M451/analogout_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M451/analogout_api.c @@ -22,6 +22,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" /* Maximum DAC modules */ diff --git a/targets/TARGET_NUVOTON/TARGET_M451/can_api.c b/targets/TARGET_NUVOTON/TARGET_M451/can_api.c index fa2e7c2e21e..83ed0890362 100644 --- a/targets/TARGET_NUVOTON/TARGET_M451/can_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M451/can_api.c @@ -23,6 +23,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" + #include "gpio_api.h" #include "nu_modutil.h" #include "nu_miscutil.h" #include "nu_bitutil.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M451/i2c_api.c b/targets/TARGET_NUVOTON/TARGET_M451/i2c_api.c index 452131c791c..5dac613f20f 100644 --- a/targets/TARGET_NUVOTON/TARGET_M451/i2c_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M451/i2c_api.c @@ -21,6 +21,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "nu_miscutil.h" #include "nu_bitutil.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M451/pwmout_api.c b/targets/TARGET_NUVOTON/TARGET_M451/pwmout_api.c index 74323159d4c..97b0896467e 100644 --- a/targets/TARGET_NUVOTON/TARGET_M451/pwmout_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M451/pwmout_api.c @@ -21,6 +21,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "nu_miscutil.h" #include "nu_bitutil.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M451/serial_api.c b/targets/TARGET_NUVOTON/TARGET_M451/serial_api.c index 7d7bce7e7a9..7a6b9f5d152 100644 --- a/targets/TARGET_NUVOTON/TARGET_M451/serial_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M451/serial_api.c @@ -22,6 +22,7 @@ #include "mbed_error.h" #include "mbed_assert.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "nu_bitutil.h" #include diff --git a/targets/TARGET_NUVOTON/TARGET_M451/spi_api.c b/targets/TARGET_NUVOTON/TARGET_M451/spi_api.c index 8b2de0ed2e4..ef0101e8fa5 100644 --- a/targets/TARGET_NUVOTON/TARGET_M451/spi_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M451/spi_api.c @@ -21,6 +21,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "nu_miscutil.h" #include "nu_bitutil.h" diff --git a/targets/TARGET_NUVOTON/TARGET_NANO100/analogin_api.c b/targets/TARGET_NUVOTON/TARGET_NANO100/analogin_api.c index 2ca7160ceee..1907ffb0358 100644 --- a/targets/TARGET_NUVOTON/TARGET_NANO100/analogin_api.c +++ b/targets/TARGET_NUVOTON/TARGET_NANO100/analogin_api.c @@ -22,6 +22,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "hal/PinNameAliases.h" diff --git a/targets/TARGET_NUVOTON/TARGET_NANO100/analogout_api.c b/targets/TARGET_NUVOTON/TARGET_NANO100/analogout_api.c index 896014e71c4..92119d8ca37 100644 --- a/targets/TARGET_NUVOTON/TARGET_NANO100/analogout_api.c +++ b/targets/TARGET_NUVOTON/TARGET_NANO100/analogout_api.c @@ -22,6 +22,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" /* Maximum DAC modules */ diff --git a/targets/TARGET_NUVOTON/TARGET_NANO100/i2c_api.c b/targets/TARGET_NUVOTON/TARGET_NANO100/i2c_api.c index 72aa9cda7a1..a8d5a6dbb2b 100644 --- a/targets/TARGET_NUVOTON/TARGET_NANO100/i2c_api.c +++ b/targets/TARGET_NUVOTON/TARGET_NANO100/i2c_api.c @@ -21,6 +21,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "nu_miscutil.h" #include "nu_bitutil.h" diff --git a/targets/TARGET_NUVOTON/TARGET_NANO100/pwmout_api.c b/targets/TARGET_NUVOTON/TARGET_NANO100/pwmout_api.c index 8ba1f40dd43..f4255e5c707 100644 --- a/targets/TARGET_NUVOTON/TARGET_NANO100/pwmout_api.c +++ b/targets/TARGET_NUVOTON/TARGET_NANO100/pwmout_api.c @@ -21,6 +21,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "nu_miscutil.h" #include "nu_bitutil.h" diff --git a/targets/TARGET_NUVOTON/TARGET_NANO100/serial_api.c b/targets/TARGET_NUVOTON/TARGET_NANO100/serial_api.c index 2da2c9d3606..2742a938f79 100644 --- a/targets/TARGET_NUVOTON/TARGET_NANO100/serial_api.c +++ b/targets/TARGET_NUVOTON/TARGET_NANO100/serial_api.c @@ -22,6 +22,7 @@ #include "mbed_error.h" #include "mbed_assert.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "nu_bitutil.h" #include diff --git a/targets/TARGET_NUVOTON/TARGET_NANO100/spi_api.c b/targets/TARGET_NUVOTON/TARGET_NANO100/spi_api.c index 3862edf5162..d77e0864ca0 100644 --- a/targets/TARGET_NUVOTON/TARGET_NANO100/spi_api.c +++ b/targets/TARGET_NUVOTON/TARGET_NANO100/spi_api.c @@ -21,6 +21,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "nu_miscutil.h" #include "nu_bitutil.h" diff --git a/targets/TARGET_NUVOTON/TARGET_NUC472/analogin_api.c b/targets/TARGET_NUVOTON/TARGET_NUC472/analogin_api.c index 88bfd03b919..753d7136be8 100644 --- a/targets/TARGET_NUVOTON/TARGET_NUC472/analogin_api.c +++ b/targets/TARGET_NUVOTON/TARGET_NUC472/analogin_api.c @@ -21,6 +21,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "hal/PinNameAliases.h" diff --git a/targets/TARGET_NUVOTON/TARGET_NUC472/can_api.c b/targets/TARGET_NUVOTON/TARGET_NUC472/can_api.c index 7ea08e771eb..5570b916367 100644 --- a/targets/TARGET_NUVOTON/TARGET_NUC472/can_api.c +++ b/targets/TARGET_NUVOTON/TARGET_NUC472/can_api.c @@ -23,6 +23,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" + #include "gpio_api.h" #include "nu_modutil.h" #include "nu_miscutil.h" #include "nu_bitutil.h" diff --git a/targets/TARGET_NUVOTON/TARGET_NUC472/i2c_api.c b/targets/TARGET_NUVOTON/TARGET_NUC472/i2c_api.c index e88835cc65e..941bd78d815 100644 --- a/targets/TARGET_NUVOTON/TARGET_NUC472/i2c_api.c +++ b/targets/TARGET_NUVOTON/TARGET_NUC472/i2c_api.c @@ -21,6 +21,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "nu_miscutil.h" #include "nu_bitutil.h" diff --git a/targets/TARGET_NUVOTON/TARGET_NUC472/pwmout_api.c b/targets/TARGET_NUVOTON/TARGET_NUC472/pwmout_api.c index aa81799abea..a981dff4794 100644 --- a/targets/TARGET_NUVOTON/TARGET_NUC472/pwmout_api.c +++ b/targets/TARGET_NUVOTON/TARGET_NUC472/pwmout_api.c @@ -21,6 +21,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "nu_miscutil.h" #include "nu_bitutil.h" diff --git a/targets/TARGET_NUVOTON/TARGET_NUC472/serial_api.c b/targets/TARGET_NUVOTON/TARGET_NUC472/serial_api.c index 6c1f8889b0c..029b944dde9 100644 --- a/targets/TARGET_NUVOTON/TARGET_NUC472/serial_api.c +++ b/targets/TARGET_NUVOTON/TARGET_NUC472/serial_api.c @@ -22,6 +22,7 @@ #include "mbed_error.h" #include "mbed_assert.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "nu_bitutil.h" #include diff --git a/targets/TARGET_NUVOTON/TARGET_NUC472/spi_api.c b/targets/TARGET_NUVOTON/TARGET_NUC472/spi_api.c index ddcf800de57..38c4ed2e241 100644 --- a/targets/TARGET_NUVOTON/TARGET_NUC472/spi_api.c +++ b/targets/TARGET_NUVOTON/TARGET_NUC472/spi_api.c @@ -21,6 +21,7 @@ #include "cmsis.h" #include "pinmap.h" #include "PeripheralPins.h" +#include "gpio_api.h" #include "nu_modutil.h" #include "nu_miscutil.h" #include "nu_bitutil.h"