Skip to content

Commit

Permalink
Merge pull request ARMmbed#15500 from OpenNuvoton/nuvoton_fix_functio…
Browse files Browse the repository at this point in the history
…n_undeclare

NUVOTON: Fix undeclared function as error
  • Loading branch information
0xc0170 authored Apr 24, 2024
2 parents 98853ac + 11d9997 commit 95fee2f
Show file tree
Hide file tree
Showing 35 changed files with 35 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
//#include <stdbool.h>
#include "m460_eth.h"
#include "mbed_toolchain.h"
#include "mbed_interface.h"
//#define NU_TRACE
#include "numaker_eth_hal.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <stdbool.h>
#include "m480_eth.h"
#include "mbed_toolchain.h"
#include "mbed_interface.h"
//#define NU_TRACE
#include "numaker_eth_hal.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <stdbool.h>
#include "nuc472_eth.h"
#include "mbed_toolchain.h"
#include "mbed_interface.h"
//#define NU_TRACE
#include "numaker_eth_hal.h"

Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M251/analogin_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M251/analogout_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include "cmsis.h"
#include "pinmap.h"
#include "PeripheralPins.h"
#include "gpio_api.h"
#include "nu_modutil.h"

/* Maximum DAC modules */
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M251/i2c_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M251/pwmout_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M251/serial_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 <string.h>
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M251/spi_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M261/analogin_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M261/analogout_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include "cmsis.h"
#include "pinmap.h"
#include "PeripheralPins.h"
#include "gpio_api.h"
#include "nu_modutil.h"

/* Maximum DAC modules */
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M261/can_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M261/i2c_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M261/pwmout_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M261/serial_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 <string.h>
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M261/spi_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M451/analogin_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M451/analogout_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include "cmsis.h"
#include "pinmap.h"
#include "PeripheralPins.h"
#include "gpio_api.h"
#include "nu_modutil.h"

/* Maximum DAC modules */
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M451/can_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M451/i2c_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M451/pwmout_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M451/serial_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 <string.h>
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_M451/spi_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_NANO100/analogin_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_NANO100/analogout_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include "cmsis.h"
#include "pinmap.h"
#include "PeripheralPins.h"
#include "gpio_api.h"
#include "nu_modutil.h"

/* Maximum DAC modules */
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_NANO100/i2c_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_NANO100/pwmout_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_NANO100/serial_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 <string.h>
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_NANO100/spi_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_NUC472/analogin_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_NUC472/can_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_NUC472/i2c_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_NUC472/pwmout_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_NUC472/serial_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 <string.h>
Expand Down
1 change: 1 addition & 0 deletions targets/TARGET_NUVOTON/TARGET_NUC472/spi_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 95fee2f

Please sign in to comment.