Skip to content

Commit

Permalink
cpu/samd5x: add support for SAM E51
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Jan 7, 2025
1 parent 2a511e4 commit 7fab445
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cpu/sam0_common/include/cpu_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions cpu/samd5x/Makefile.include
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 7fab445

Please sign in to comment.