add cmake for lpc11

This commit is contained in:
hathach
2024-05-02 17:54:44 +07:00
parent 4b537a4f8c
commit c717e52ab2
13 changed files with 482 additions and 258 deletions

View File

@@ -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"