Skip to content

Commit 0ff277b

Browse files
authored
Merge pull request #591 from sirchnik/psc3m5_evk
add psc3m5_evk as target
2 parents 03023cd + 9720315 commit 0ff277b

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ $(eval $(call platform_build,imxrt1050,thumbv7em-none-eabi))
208208
$(eval $(call platform_build,msp432,thumbv7em-none-eabi))
209209
$(eval $(call platform_build,clue_nrf52840,thumbv7em-none-eabi))
210210
$(eval $(call platform_flash,clue_nrf52840,thumbv7em-none-eabi))
211+
$(eval $(call platform_build,psc3m5_evk,thumbv8m.main-none-eabi))
211212

212213
.PHONY: demos
213214
demos:

build_scripts/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ const PLATFORMS: &[(&str, &str, &str, &str, &str)] = &[
2525
("stm32f3discovery" , "0x08020000", "0x0020000", "0x20004000", "48K" ),
2626
("stm32f412gdiscovery", "0x08030000", "256K" , "0x20004000", "112K" ),
2727
("nano33ble" , "0x00050000", "704K" , "0x20005000", "240K" ),
28+
("psc3m5_evk" , "0x32020000", "0x20000" , "0x34006000", "0x5800" ),
2829
];
2930

3031
/// Helper function to configure cargo to use suitable linker scripts for

runner/src/elf2tab.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ fn get_platform_architecture(platform: &str) -> Option<&'static str> {
2323
"imxrt1050" | "teensy40" => Some("cortex-m7"),
2424
"opentitan" | "esp32_c3_devkitm_1" => Some("riscv32imc"),
2525
"hifive1" | "qemu_rv32_virt" => Some("riscv32imac"),
26+
"psc3m5_evk" => Some("cortex-m33"),
2627
_ => None,
2728
}
2829
}

0 commit comments

Comments
 (0)