add lpc43 family

This commit is contained in:
hathach
2023-08-03 17:19:47 +07:00
parent a5768f52b4
commit a160da1f2b
16 changed files with 393 additions and 54 deletions

View File

@@ -27,9 +27,18 @@
#ifndef _CI_HS_LPC18_43_H_
#define _CI_HS_LPC18_43_H_
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#endif
// LPCOpen for 18xx & 43xx
#include "chip.h"
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
static const ci_hs_controller_t _ci_controller[] =
{
{ .reg_base = LPC_USB0_BASE, .irqnum = USB0_IRQn },