diff options
| author | hathach <[email protected]> | 2024-05-02 17:54:44 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-05-02 17:54:44 +0700 |
| commit | c717e52ab2453f7672b16f2d63cd70558950ef33 (patch) | |
| tree | b001befe5fb2df03e0acbf676ebcfe07009760fa /src | |
| parent | 4b537a4f8c96519a3e77a63ff8ddbb3c528bd857 (diff) | |
add cmake for lpc11
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c b/src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c index 022904a3a..6bb440743 100644 --- a/src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c +++ b/src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c @@ -42,7 +42,17 @@ #if TU_CHECK_MCU(OPT_MCU_LPC11UXX, OPT_MCU_LPC13XX, OPT_MCU_LPC15XX) // LPCOpen + #ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wunused-parameter" + #endif + #include "chip.h" + + #ifdef __GNUC__ + #pragma GCC diagnostic pop + #endif + #else // SDK #include "fsl_device_registers.h" |
