diff options
| author | JuliDi <[email protected]> | 2023-06-28 15:37:29 +0200 |
|---|---|---|
| committer | JuliDi <[email protected]> | 2023-06-28 15:37:29 +0200 |
| commit | bf7e24e9d7abc5d31b75ef97418577920bd4600c (patch) | |
| tree | fd4396dc48d0b2061b79ee4e212d147cc649d69c /examples | |
| parent | 02f367f733591c9423731a86ea7726772a88dac0 (diff) | |
revert to STM32L4S5VI
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stm32l4/.cargo/config.toml | 3 | ||||
| -rw-r--r-- | examples/stm32l4/memory.x | 8 |
2 files changed, 5 insertions, 6 deletions
diff --git a/examples/stm32l4/.cargo/config.toml b/examples/stm32l4/.cargo/config.toml index 4ccdf121e..abf55eb2e 100644 --- a/examples/stm32l4/.cargo/config.toml +++ b/examples/stm32l4/.cargo/config.toml | |||
| @@ -2,8 +2,7 @@ | |||
| 2 | # replace STM32F429ZITx with your chip as listed in `probe-rs-cli chip list` | 2 | # replace STM32F429ZITx with your chip as listed in `probe-rs-cli chip list` |
| 3 | #runner = "probe-rs-cli run --chip STM32L475VGT6" | 3 | #runner = "probe-rs-cli run --chip STM32L475VGT6" |
| 4 | #runner = "probe-rs-cli run --chip STM32L475VG" | 4 | #runner = "probe-rs-cli run --chip STM32L475VG" |
| 5 | #runner = "probe-rs-cli run --chip STM32L4S5VI" | 5 | runner = "probe-rs-cli run --chip STM32L4S5VI" |
| 6 | runner = "probe-run --chip STM32L432KCUx" | ||
| 7 | 6 | ||
| 8 | [build] | 7 | [build] |
| 9 | target = "thumbv7em-none-eabi" | 8 | target = "thumbv7em-none-eabi" |
diff --git a/examples/stm32l4/memory.x b/examples/stm32l4/memory.x index 0cef526ae..eb87d1b54 100644 --- a/examples/stm32l4/memory.x +++ b/examples/stm32l4/memory.x | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | MEMORY | 1 | MEMORY |
| 2 | { | 2 | { |
| 3 | /* NOTE K = KiBi = 1024 bytes */ | 3 | /* NOTE 1 K = 1 KiBi = 1024 bytes */ |
| 4 | /* TODO Adjust these memory regions to match your device memory layout */ | 4 | /* These values correspond to the STM32L4S5 */ |
| 5 | FLASH : ORIGIN = 0x8000000, LENGTH = 256K | 5 | FLASH : ORIGIN = 0x08000000, LENGTH = 1024K |
| 6 | RAM : ORIGIN = 0x20000000, LENGTH = 64K | 6 | RAM : ORIGIN = 0x20000000, LENGTH = 128K |
| 7 | } | 7 | } |
