mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 14:03:39 +00:00
Automatically convert .svd files to Go source files
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
all: tgo
|
||||
tgo: build/tgo
|
||||
|
||||
.PHONY: all tgo run-hello run-blinky flash-blinky clean
|
||||
.PHONY: all tgo run-hello run-blinky flash-blinky clean gen-device gen-device-nrf
|
||||
|
||||
# Custom LLVM toolchain.
|
||||
LLVM =
|
||||
@@ -54,6 +54,11 @@ flash-blinky: build/blinky.hex
|
||||
clean:
|
||||
@rm -rf build
|
||||
|
||||
gen-device: gen-device-nrf
|
||||
|
||||
gen-device-nrf:
|
||||
./gen-device.py lib/nrfx/mdk/ src/device/nrf/
|
||||
go fmt ./src/device/nrf
|
||||
|
||||
|
||||
# Build the Go compiler.
|
||||
|
||||
Reference in New Issue
Block a user