add cmake support for samd21.

update ci cmake
This commit is contained in:
hathach
2023-09-07 16:58:40 +07:00
parent bb5d43e9c5
commit 2dea4ce6a2
16 changed files with 378 additions and 4 deletions

View File

@@ -28,6 +28,12 @@
#include "bsp/board_api.h"
#include "board.h"
// Suppress warning caused by mcu driver
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wcast-qual"
#endif
#include "hal/include/hal_gpio.h"
#include "hal/include/hal_init.h"
#include "hri/hri_nvmctrl_d21.h"
@@ -36,6 +42,10 @@
#include "hpl_pm_config.h"
#include "hpl/pm/hpl_pm_base.h"
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
//--------------------------------------------------------------------+
// Forward USB interrupt events to TinyUSB IRQ Handler
//--------------------------------------------------------------------+