pull/9561/merge
Matt Trentini 2024-03-16 09:38:24 +08:00 zatwierdzone przez GitHub
commit 94afadf792
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
5 zmienionych plików z 44 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,15 @@
{
"deploy": [
"../deploy.md"
],
"docs": "",
"features": [
"RGB LED"
],
"images": ["adafruit_neo_trinkey.jpg"],
"mcu": "samd21",
"product": "Adafruit Neo Trinkey",
"thumbnail": "",
"url": "https://learn.adafruit.com/adafruit-neo-trinkey",
"vendor": "Adafruit"
}

Wyświetl plik

@ -0,0 +1,2 @@
include("$(PORT_DIR)/boards/manifest.py")
require("neopixel")

Wyświetl plik

@ -0,0 +1,2 @@
#define MICROPY_HW_BOARD_NAME "Adafruit Neo Trinkey"
#define MICROPY_HW_MCU_NAME "SAMD21G18A"

Wyświetl plik

@ -0,0 +1,10 @@
MCU_SERIES = SAMD21
CMSIS_MCU = SAMD21G18A
LD_FILES = boards/samd21x18a.ld sections.ld
TEXT0 = 0x2000
# The ?='s allow overriding in mpconfigboard.mk.
# MicroPython settings
MICROPY_VFS_LFS1 ?= 1
FROZEN_MANIFEST ?= $(BOARD_DIR)/manifest.py

Wyświetl plik

@ -0,0 +1,15 @@
# Pin rows contain Pin number and pin name.
# Pin rows start with PIN_
# LED rows start with LED_
# If the pin name is omitted, the pin number is added as name.
# Rows for empty entries have to start with '-'
# Empty lines and lines starting with # are ignored
PIN_PA03,TOUCH1
PIN_PA05,NEOPIXEL
PIN_PA07,TOUCH2
# LED_PA10 is a dummy and should not be defined. However, the current SAMD port
# causes a compilation error if there are no LED pins.
# PR #9556 resolves the issue so after it's merged LED_PA10 can be removed.
LED_PA10,LED
1 # Pin rows contain Pin number and pin name.
2 # Pin rows start with PIN_
3 # LED rows start with LED_
4 # If the pin name is omitted, the pin number is added as name.
5 # Rows for empty entries have to start with '-'
6 # Empty lines and lines starting with # are ignored
7 PIN_PA03,TOUCH1
8 PIN_PA05,NEOPIXEL
9 PIN_PA07,TOUCH2
10 # LED_PA10 is a dummy and should not be defined. However, the current SAMD port
11 # causes a compilation error if there are no LED pins.
12 # PR #9556 resolves the issue so after it's merged LED_PA10 can be removed.
13 LED_PA10,LED