Skip to content

Commit

Permalink
NUVOTON: SPI: Fix undeclared function gpio_set
Browse files Browse the repository at this point in the history
ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  • Loading branch information
ccli8 committed Mar 18, 2024
1 parent cf7a07f commit 4366b68
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
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/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/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/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/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 4366b68

Please sign in to comment.