samd/boards: Add missing/lost board config and pin definitions.

Fixes are:
- Pin definitions for ADAFRUIT_FEATHER_Mx_EXPRESS and
  ADAFRUIT_ITSYBITSY_M4_EXPRESS.
- For ADAFRUIT_ITSYBITSY_M0_EXPRESS, change the MISO/MOSI name.
- For MINISAM_M4, add the default SPI pins.
- For boards with 32k crystal, add the XOSC32K setting.
This commit is contained in:
robert-hh 2022-06-06 21:06:09 +02:00 committed by Damien George
parent 9a567b04e7
commit a9304af8fa
9 changed files with 34 additions and 5 deletions

View File

@ -1,2 +1,4 @@
#define MICROPY_HW_BOARD_NAME "Feather M0 Express"
#define MICROPY_HW_MCU_NAME "SAMD21G18A"
#define MICROPY_HW_XOSC32K (1)

View File

@ -29,6 +29,9 @@ PIN_PB22,TX
PIN_PB23,RX
PIN_PA23,SCL
PIN_PA22,SDA
PIN_PB10,MOSI
PIN_PA12,MISO
PIN_PB11,SCK
PIN_PA06,NEOPIXEL
PIN_PA13,FLASH_CS

1 # Pin rows contain Pin number and pin name.
29 PIN_PA23,SCL
30 PIN_PA22,SDA
31 PIN_PA06,NEOPIXEL PIN_PB10,MOSI
32 PIN_PA12,MISO
33 PIN_PB11,SCK
34 PIN_PA06,NEOPIXEL
35 PIN_PA13,FLASH_CS
36 LED_PA17,LED
37 LED_PA27,LED_TX

View File

@ -1,2 +1,4 @@
#define MICROPY_HW_BOARD_NAME "Feather M4 Express"
#define MICROPY_HW_MCU_NAME "SAMD51J19A"
#define MICROPY_HW_XOSC32K (1)

View File

@ -7,6 +7,8 @@
PIN_PB17,D0
PIN_PB16,D1
-
-
PIN_PA14,D4
PIN_PA16,D5
PIN_PA18,D6
@ -30,5 +32,12 @@ PIN_PB22,MISO
PIN_PA17,SCK
PIN_PB01,VDIV
PIN_PA03,AREF
PIN_PB03,NEOPIXEL
PIN_PB11,FLASH_CS
PIN_PB10,FLASH_SCK
PIN_PA08,FLASH_MOSI
PIN_PA09,FLASH_MISO
PIN_PA10,FLASH_WP
PIN_PA11,FLASH_HOLD
LED_PA17,LED

1 # Pin rows contain Pin number and pin name.
7 PIN_PB17,D0
8 PIN_PB16,D1
9 PIN_PA14,D4 -
10 -
11 PIN_PA14,D4
12 PIN_PA16,D5
13 PIN_PA18,D6
14 -
32 PIN_PB01,VDIV
33 PIN_PA03,AREF
34 LED_PA17,LED PIN_PB03,NEOPIXEL
35 PIN_PB11,FLASH_CS
36 PIN_PB10,FLASH_SCK
37 PIN_PA08,FLASH_MOSI
38 PIN_PA09,FLASH_MISO
39 PIN_PA10,FLASH_WP
40 PIN_PA11,FLASH_HOLD
41 LED_PA17,LED
42
43

View File

@ -8,7 +8,7 @@
PIN_PA11,D0
PIN_PA10,D1
PIN_PA14,D2
PIN_PB09,D3
PIN_PA09,D3
PIN_PA08,D4
PIN_PA15,D5
-
@ -27,8 +27,8 @@ PIN_PA05,A4
PIN_PB02,A5
PIN_PA22,SDA
PIN_PA23,SCL
PIN_PB10,MO
PIN_PA12,MI
PIN_PB10,MOSI
PIN_PA12,MISO
PIN_PB11,SCK
PIN_PA00,DOTSTAR_CLK
PIN_PA01,DOTSTAR_DATA

1 # Pin rows contain Pin number and pin name.
8 PIN_PA10,D1
9 PIN_PA14,D2
10 PIN_PB09,D3 PIN_PA09,D3
11 PIN_PA08,D4
12 PIN_PA15,D5
13 -
14 PIN_PA21,D7
27 PIN_PA22,SDA
28 PIN_PA23,SCL
29 PIN_PB10,MO PIN_PB10,MOSI
30 PIN_PA12,MI PIN_PA12,MISO
31 PIN_PB11,SCK
32 PIN_PA00,DOTSTAR_CLK
33 PIN_PA01,DOTSTAR_DATA
34 PIN_PB22,FLASH_MOSI

View File

@ -27,10 +27,16 @@ PIN_PA04,A4
PIN_PA06,A5
PIN_PA12,SDA
PIN_PA13,SCL
PIN_PA00,MO
PIN_PB23,MI
PIN_PA00,MOSI
PIN_PB23,MISO
PIN_PA01,SCK
PIN_PB02,DOTSTAR_CLK
PIN_PB03,DOTSTAR_DATA
PIN_PB11,FLASH_CS
PIN_PB10,FLASH_SCK
PIN_PA08,FLASH_MOSI
PIN_PA09,FLASH_MISO
PIN_PA10,FLASH_WP
PIN_PA11,FLASH_HOLD
LED_PA22,LED

1 # Pin rows contain Pin number and pin name.
27 PIN_PA12,SDA
28 PIN_PA13,SCL
29 PIN_PA00,MO PIN_PA00,MOSI
30 PIN_PB23,MI PIN_PB23,MISO
31 PIN_PA01,SCK
32 PIN_PB02,DOTSTAR_CLK
33 PIN_PB03,DOTSTAR_DATA
34 LED_PA22,LED PIN_PB11,FLASH_CS
35 PIN_PB10,FLASH_SCK
36 PIN_PA08,FLASH_MOSI
37 PIN_PA09,FLASH_MISO
38 PIN_PA10,FLASH_WP
39 PIN_PA11,FLASH_HOLD
40 LED_PA22,LED
41
42

View File

@ -21,6 +21,9 @@ PIN_PA00,BUTTON
PIN_PA03,AREF
PIN_PA12,SDA
PIN_PA13,SCL
PIN_PB22,MOSI
PIN_PB23,MISO
PIN_PA01,SCK
PIN_PB03,DOTSTAR_DATA
PIN_PB02,DOTSTAR_CLK

1 # Pin rows contain Pin number and pin name.
21 PIN_PA12,SDA
22 PIN_PA13,SCL
23 PIN_PB03,DOTSTAR_DATA PIN_PB22,MOSI
24 PIN_PB23,MISO
25 PIN_PA01,SCK
26 PIN_PB03,DOTSTAR_DATA
27 PIN_PB02,DOTSTAR_CLK
28 LED_PA15,LED
29

View File

@ -1,2 +1,4 @@
#define MICROPY_HW_BOARD_NAME "SAMD21-XPLAINED-PRO"
#define MICROPY_HW_MCU_NAME "SAMD21J18A"
#define MICROPY_HW_XOSC32K (1)

View File

@ -1,2 +1,4 @@
#define MICROPY_HW_BOARD_NAME "Seeed Xiao"
#define MICROPY_HW_MCU_NAME "SAMD21G18A"
#define MICROPY_HW_XOSC32K (1)