Skip to content

Commit 019a3ce

Browse files
authored
Merge pull request #627 from bugadani/regex-specific
Fix WBA6x memory maps
2 parents 9ddd4ce + 26eb59f commit 019a3ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stm32-data-gen/src/memory.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,10 +382,10 @@ static MEMS: RegexMap<&[&[Mem]]> = RegexMap::new(&[
382382
("STM32WB55.Y", &[mem!(BANK_1 { 0x08000000 640 }, SRAM { 0x20000000 192 }, SRAM2A { 0x20030000 32 }, SRAM2B { 0x20038000 32 }, SRAM2A_ICODE { 0x10000000 32 }, SRAM2B_ICODE { 0x10008000 32 })]),
383383
("STM32WB55.G", &[mem!(BANK_1 { 0x08000000 1024 }, SRAM { 0x20000000 192 }, SRAM2A { 0x20030000 32 }, SRAM2B { 0x20038000 32 }, SRAM2A_ICODE { 0x10000000 32 }, SRAM2B_ICODE { 0x10008000 32 })]),
384384
// WBA
385-
("STM32WBA...E", &[mem!(BANK_1 { 0x08000000 512 }, SRAM { 0x20000000 96 }, OTP { 0x0bf90000 512 bytes })]),
386-
("STM32WBA...G", &[mem!(BANK_1 { 0x08000000 1024 }, SRAM { 0x20000000 128 }, OTP { 0x0bf90000 512 bytes })]),
387385
("STM32WBA6..G", &[mem!(BANK_1 { 0x08000000 512 }, BANK_2 { 0x08080000 512}, SRAM { 0x20000000 192 }, SRAM2 { 0x20070000 64 }, OTP { 0x0bfa0000 512 bytes })]),
388386
("STM32WBA6..I", &[mem!(BANK_1 { 0x08000000 1024 }, BANK_2 { 0x08100000 1024}, SRAM { 0x20000000 448 }, SRAM2 { 0x20070000 64 }, OTP { 0x0bfa0000 512 bytes })]),
387+
("STM32WBA...E", &[mem!(BANK_1 { 0x08000000 512 }, SRAM { 0x20000000 96 }, OTP { 0x0bf90000 512 bytes })]),
388+
("STM32WBA...G", &[mem!(BANK_1 { 0x08000000 1024 }, SRAM { 0x20000000 128 }, OTP { 0x0bf90000 512 bytes })]),
389389
// WL
390390
("STM32WL[5E]..8", &[mem!(BANK_1 { 0x08000000 64 }, SRAM1 { 0x20000000 10 }, SRAM2 { 0x20002800 10 })]),
391391
("STM32WL[5E]..B", &[mem!(BANK_1 { 0x08000000 128 }, SRAM1 { 0x20000000 24 }, SRAM2 { 0x20006000 24 })]),

0 commit comments

Comments
 (0)