add uf2
This commit is contained in:
parent
74e07e119e
commit
165767573c
3 changed files with 13 additions and 2 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[submodule "tools/uf2"]
|
||||
path = tools/uf2
|
||||
url = https://github.com/microsoft/uf2.git
|
||||
11
Makefile
11
Makefile
|
|
@ -1,13 +1,20 @@
|
|||
PROJECT_NAME := WIPPERSNAPPER
|
||||
PYTHON := python3
|
||||
|
||||
# Path to https://github.com/adafruit/ci-arduino/blob/master/build_platform.py
|
||||
TEST_PLATFORMS = ~/Desktop/github_brentru/ci-arduino/build_platform.py
|
||||
|
||||
UF2_FAMILY_SAMD51 := 0x55114460
|
||||
# SAMD51 - base address adn familyID
|
||||
UF2_BASE_SAMD51 := 0x4000
|
||||
UF2_FAMILY_SAMD51 := 0x55114460
|
||||
|
||||
build-m4-metro-airlift:
|
||||
samd51-metro-airlift:
|
||||
mkdir build-m4-metro-airlift
|
||||
python3 $(TEST_PLATFORMS) metro_m4_airliftlite_tinyusb --export-binaries
|
||||
|
||||
clean-samd51-metro-airlift:
|
||||
rm -r build-m4-metro-airlift
|
||||
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
|
|
|||
1
tools/uf2
Submodule
1
tools/uf2
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit a690c5a4d9abe393496b3ade88489d39da07b458
|
||||
Loading…
Reference in a new issue