aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2023-05-14 18:48:55 +0200
committerRon Evans <[email protected]>2023-07-05 13:30:21 +0200
commit3871b831af8ccbfc0088228ccbcdb7b898303b59 (patch)
tree1a2640203aaaec9bc582192bc10185d4d5d09a0d
parent7755f2385cefea465b01dc1dfabc3f539f0135d4 (diff)
downloadtinygo-3871b831af8ccbfc0088228ccbcdb7b898303b59.tar.gz
tinygo-3871b831af8ccbfc0088228ccbcdb7b898303b59.zip
make: add make task to generate Renesas device wrappers
Signed-off-by: deadprogram <[email protected]>
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 792cc53ce..d1e37dd8c 100644
--- a/Makefile
+++ b/Makefile
@@ -232,6 +232,10 @@ gen-device-rp: build/gen-device-svd
./build/gen-device-svd -source=https://github.com/posborne/cmsis-svd/tree/master/data/RaspberryPi lib/cmsis-svd/data/RaspberryPi/ src/device/rp/
GO111MODULE=off $(GO) fmt ./src/device/rp
+gen-device-renesas: build/gen-device-svd
+ ./build/gen-device-svd -source=https://github.com/tinygo-org/renesas-svd lib/renesas-svd/ src/device/renesas/
+ GO111MODULE=off $(GO) fmt ./src/device/renesas
+
# Get LLVM sources.
$(LLVM_PROJECTDIR)/llvm:
git clone -b xtensa_release_15.x --depth=1 https://github.com/espressif/llvm-project $(LLVM_PROJECTDIR)