Skip to content

Commit ec46e6c

Browse files
authored
Merge pull request #570 from JADarius/cortexm33
Add support for Cortex-M33
2 parents 60c2561 + b2ffb46 commit ec46e6c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,9 @@ $(call fixed-target, F=0x40440000 R=0x3fcaa000 T=riscv32imc-unknown-none-elf A=r
199199
$(call fixed-target, F=0x10020000 R=0x20004000 T=thumbv6m-none-eabi A=cortex-m0)
200200
$(call fixed-target, F=0x10028000 R=0x2000c000 T=thumbv6m-none-eabi A=cortex-m0)
201201

202+
$(call fixed-target, F=0x10040000 R=0x20020000 T=thumbv8m.main-none-eabi A=cortex-m33)
203+
$(call fixed-target, F=0x10060000 R=0x20028000 T=thumbv8m.main-none-eabi A=cortex-m33)
204+
202205
$(ELF_TARGETS): toolchain
203206
LIBTOCK_LINKER_FLASH=$(F) LIBTOCK_LINKER_RAM=$(R) cargo build --example $(EXAMPLE) $(features) --target=$(T) $(release)
204207
@mkdir -p target/$(A).$(F).$(R)/

rust-toolchain.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ components = ["clippy", "rustfmt"]
1010
targets = [
1111
"thumbv6m-none-eabi",
1212
"thumbv7em-none-eabi",
13+
"thumbv8m.main-none-eabi",
1314
"riscv32imac-unknown-none-elf",
1415
"riscv32imc-unknown-none-elf",
1516
]

0 commit comments

Comments
 (0)