1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 22:13:52 +01:00

cpu/samd5x: add support for SAM E51

This commit is contained in:
Benjamin Valentin 2024-12-25 23:48:13 +01:00
parent 2a511e47e1
commit 7fab445e94
2 changed files with 5 additions and 0 deletions

View File

@ -39,6 +39,8 @@
#include "vendor/samd21/include_d/samd21.h"
#elif defined(CPU_SAMD51)
#include "vendor/samd51/include/samd51.h"
#elif defined(CPU_SAME51)
#include "vendor/same51/include/same51.h"
#elif defined(CPU_SAME54)
#include "vendor/same54/include/same54.h"
#elif defined(CPU_SAML10)

View File

@ -1,6 +1,9 @@
ifneq (,$(filter samd51%,$(CPU_MODEL)))
CFLAGS += -DCPU_SAMD51
endif
ifneq (,$(filter same51%,$(CPU_MODEL)))
CFLAGS += -DCPU_SAME51
endif
ifneq (,$(filter same54%,$(CPU_MODEL)))
CFLAGS += -DCPU_SAME54
endif