Content-Length: 351874 | pFad | http://github.com/micropython/micropython/commit/304467518fbe9fc679dbba087fba7931c51655fb

BF samd/boards: Add generic SAMD21x18 board definitions. · micropython/micropython@3044675 · GitHub
Skip to content

Commit 3044675

Browse files
robert-hhdpgeorge
authored andcommitted
samd/boards: Add generic SAMD21x18 board definitions.
The definition uses the internal oscillator for clock and only internal flash for the file system. It works at SAMD21G18 and SAMD21E18 devices as well, only that fewer pins are accessible. Tested with a SAMD21E18, SAM21G18 and SAMD21J18 board. Signed-off-by: robert-hh <robert@hammelrath.com>
1 parent 44a7731 commit 3044675

File tree

5 files changed

+38
-0
lines changed

5 files changed

+38
-0
lines changed

Diff for: ports/samd/boards/SAMD_GENERIC_D21X18/board.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"deploy": [
3+
"../deploy.md"
4+
],
5+
"docs": "",
6+
"features": [
7+
"USB"
8+
],
9+
"images": [
10+
"generic_board.jpg"
11+
],
12+
"mcu": "samd21",
13+
"vendor": "Microchip",
14+
"product": "Generic SAMD21J18",
15+
"thumbnail": ""
16+
}

Diff for: ports/samd/boards/SAMD_GENERIC_D21X18/board.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
The following firmware should work on most boards with a SAMD21E18,
2+
SAMD21G18 and SAMD21J18 MCU. It uses only the features built into
3+
the MCU. Additional devices at the board like external flash
4+
are not supported.
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#define MICROPY_HW_BOARD_NAME "Generic SAMD21J18"
2+
#define MICROPY_HW_MCU_NAME "SAMD21J18A"
3+
4+
#define MICROPY_HW_DFLL_USB_SYNC (1)
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
MCU_SERIES = SAMD21
2+
CMSIS_MCU = SAMD21J18A
3+
LD_FILES = boards/samd21x18a.ld sections.ld
4+
TEXT0 = 0x2000

Diff for: ports/samd/boards/SAMD_GENERIC_D21X18/pins.csv

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# The lines contain pairs of Pin name and Pin number.
2+
# Pin names must be valid Python identifiers.
3+
# Pin numbers have the form Pxnn, with x being A, B, C or D.
4+
# Lines starting with # or empty lines are ignored.
5+
6+
USB_DM,PA24
7+
USB_DP,PA25
8+
9+
SWCLK,PA30
10+
SWDIO,PA31

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/micropython/micropython/commit/304467518fbe9fc679dbba087fba7931c51655fb

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy