mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-25 14:59:05 +00:00
Makefile: add gen-device-stm32 to gen-device target
This commit is contained in:
@@ -60,16 +60,16 @@ fmt:
|
|||||||
test:
|
test:
|
||||||
@go test -v .
|
@go test -v .
|
||||||
|
|
||||||
gen-device: gen-device-nrf gen-device-avr
|
gen-device: gen-device-avr gen-device-nrf gen-device-stm32
|
||||||
|
|
||||||
gen-device-nrf:
|
|
||||||
./tools/gen-device-svd.py lib/nrfx/mdk/ src/device/nrf/ --source=https://github.com/NordicSemiconductor/nrfx/tree/master/mdk
|
|
||||||
go fmt ./src/device/nrf
|
|
||||||
|
|
||||||
gen-device-avr:
|
gen-device-avr:
|
||||||
./tools/gen-device-avr.py lib/avr/packs/atmega src/device/avr/
|
./tools/gen-device-avr.py lib/avr/packs/atmega src/device/avr/
|
||||||
go fmt ./src/device/avr
|
go fmt ./src/device/avr
|
||||||
|
|
||||||
|
gen-device-nrf:
|
||||||
|
./tools/gen-device-svd.py lib/nrfx/mdk/ src/device/nrf/ --source=https://github.com/NordicSemiconductor/nrfx/tree/master/mdk
|
||||||
|
go fmt ./src/device/nrf
|
||||||
|
|
||||||
gen-device-stm32:
|
gen-device-stm32:
|
||||||
./tools/gen-device-svd.py lib/cmsis-svd/data/STMicro/ src/device/stm32/ --source=https://github.com/posborne/cmsis-svd/tree/master/data/STMicro
|
./tools/gen-device-svd.py lib/cmsis-svd/data/STMicro/ src/device/stm32/ --source=https://github.com/posborne/cmsis-svd/tree/master/data/STMicro
|
||||||
go fmt ./src/device/stm32
|
go fmt ./src/device/stm32
|
||||||
|
|||||||
Reference in New Issue
Block a user