Browse Source

Bump CMSIS to 5.9.0

pull/3342/head
Anton D. Kachalov 2 years ago
committed by Ron Evans
parent
commit
92be61534e
  1. 2
      .gitmodules
  2. 4
      Makefile
  3. 2
      lib/CMSIS
  4. 2
      targets/nrf51.json
  5. 2
      targets/nrf52.json
  6. 2
      targets/nrf52833.json
  7. 2
      targets/nrf52840.json

2
.gitmodules

@ -3,7 +3,7 @@
url = https://github.com/NordicSemiconductor/nrfx.git
[submodule "lib/CMSIS"]
path = lib/CMSIS
url = https://github.com/ARM-software/CMSIS.git
url = https://github.com/ARM-software/CMSIS_5.git
[submodule "lib/avr"]
path = lib/avr
url = https://github.com/avr-rust/avr-mcu.git

4
Makefile

@ -748,7 +748,7 @@ wasmtest:
build/release: tinygo gen-device wasi-libc $(if $(filter 1,$(USE_SYSTEM_BINARYEN)),,binaryen)
@mkdir -p build/release/tinygo/bin
@mkdir -p build/release/tinygo/lib/clang/include
@mkdir -p build/release/tinygo/lib/CMSIS/CMSIS
@mkdir -p build/release/tinygo/lib/CMSIS/CMSIS/Core
@mkdir -p build/release/tinygo/lib/macos-minimal-sdk
@mkdir -p build/release/tinygo/lib/mingw-w64/mingw-w64-crt/lib-common
@mkdir -p build/release/tinygo/lib/mingw-w64/mingw-w64-headers/defaults
@ -768,7 +768,7 @@ ifneq ($(USE_SYSTEM_BINARYEN),1)
@cp -p build/wasm-opt$(EXE) build/release/tinygo/bin
endif
@cp -p $(abspath $(CLANG_SRC))/lib/Headers/*.h build/release/tinygo/lib/clang/include
@cp -rp lib/CMSIS/CMSIS/Include build/release/tinygo/lib/CMSIS/CMSIS
@cp -rp lib/CMSIS/CMSIS/Core/Include build/release/tinygo/lib/CMSIS/CMSIS/Core
@cp -rp lib/CMSIS/README.md build/release/tinygo/lib/CMSIS
@cp -rp lib/macos-minimal-sdk/* build/release/tinygo/lib/macos-minimal-sdk
@cp -rp lib/musl/arch/aarch64 build/release/tinygo/lib/musl/arch

2
lib/CMSIS

@ -1 +1 @@
Subproject commit 9fe411cef1cef5de58e5957b89760759de44e393
Subproject commit 2b7495b8535bdcb306dac29b9ded4cfb679d7e5c

2
targets/nrf51.json

@ -3,7 +3,7 @@
"build-tags": ["nrf51822", "nrf51", "nrf"],
"cflags": [
"-DNRF51",
"-I{root}/lib/CMSIS/CMSIS/Include",
"-I{root}/lib/CMSIS/CMSIS/Core/Include",
"-I{root}/lib/nrfx/mdk"
],
"linkerscript": "targets/nrf51.ld",

2
targets/nrf52.json

@ -3,7 +3,7 @@
"build-tags": ["nrf52", "nrf"],
"cflags": [
"-DNRF52832_XXAA",
"-I{root}/lib/CMSIS/CMSIS/Include",
"-I{root}/lib/CMSIS/CMSIS/Core/Include",
"-I{root}/lib/nrfx/mdk"
],
"linkerscript": "targets/nrf52.ld",

2
targets/nrf52833.json

@ -3,7 +3,7 @@
"build-tags": ["nrf52833", "nrf"],
"cflags": [
"-DNRF52833_XXAA",
"-I{root}/lib/CMSIS/CMSIS/Include",
"-I{root}/lib/CMSIS/CMSIS/Core/Include",
"-I{root}/lib/nrfx/mdk"
],
"linkerscript": "targets/nrf52833.ld",

2
targets/nrf52840.json

@ -3,7 +3,7 @@
"build-tags": ["nrf52840", "nrf"],
"cflags": [
"-DNRF52840_XXAA",
"-I{root}/lib/CMSIS/CMSIS/Include",
"-I{root}/lib/CMSIS/CMSIS/Core/Include",
"-I{root}/lib/nrfx/mdk"
],
"linkerscript": "targets/nrf52840.ld",

Loading…
Cancel
Save