Skip to content

Commit 3944f1c

Browse files
committed
group same5x
1 parent 779149e commit 3944f1c

File tree

12 files changed

+77
-110
lines changed

12 files changed

+77
-110
lines changed

.codespell/ignore-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ te
99
attch
1010
endianess
1111
pris
12+
busses

.github/workflows/build_arm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- 'nrf'
4242
- 'ra'
4343
- 'rp2040'
44-
- 'samd11'
44+
- 'samd11 same5x'
4545
- 'samd21'
4646
- 'samd51'
4747
- 'saml2x'

hw/bsp/d5035_01/board.mk

Lines changed: 0 additions & 61 deletions
This file was deleted.

hw/bsp/same54xplainedpro/board.mk

Lines changed: 0 additions & 48 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MCU = same51
2+
3+
HWREV ?= 1
4+
5+
CFLAGS += \
6+
-D__SAME51J19A__ \
7+
-DCONF_CPU_FREQUENCY=80000000 \
8+
-DCONF_GCLK_USB_FREQUENCY=48000000 \
9+
-DD5035_01=1 \
10+
-DBOARD_NAME="\"D5035-01\"" \
11+
-DSVC_Handler=SVCall_Handler \
12+
-DHWREV=$(HWREV)
13+
14+
# All source paths should be relative to the top level.
15+
LD_FILE = $(BOARD_PATH)/same51j19a_flash.ld
16+
17+
# For flash-jlink target
18+
JLINK_DEVICE = ATSAME51J19
19+
20+
# flash using jlink
21+
flash: flash-jlink
File renamed without changes.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
MCU = same54
2+
3+
CFLAGS += \
4+
-DCONF_CPU_FREQUENCY=48000000 \
5+
-D__SAME54P20A__ \
6+
-DBOARD_NAME="\"Microchip SAM E54 Xplained Pro\""
7+
8+
# All source paths should be relative to the top level.
9+
LD_FILE = $(BOARD_PATH)/same54p20a_flash.ld
10+
11+
# For flash-jlink target
12+
JLINK_DEVICE = ATSAME54P20

0 commit comments

Comments
 (0)