Skip to content

Commit

Permalink
Merge pull request #470 from phycrax/stm32-g03g04-memory-x
Browse files Browse the repository at this point in the history
Correct flash size for g03 and g04
  • Loading branch information
Dirbaio authored Apr 17, 2024
2 parents 9db1729 + 6f0aff1 commit 8ee7107
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion stm32-data-gen/src/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ static MEMS: RegexMap<&[Mem]> = RegexMap::new(&[
("STM32G0...4", mem!(BANK_1 0x08000000 16, SRAM 0x20000000 8)),
("STM32G0...C", mem!(BANK_1 0x08000000 256, SRAM 0x20000000 128)),
("STM32G0...E", mem!(BANK_1 0x08000000 256, BANK_2 0x08040000 256, SRAM 0x20000000 128)),
("STM32G0[34]..[68]", mem!(BANK_1 0x08000000 32, SRAM 0x20000000 8)),
("STM32G0[34]..8", mem!(BANK_1 0x08000000 64, SRAM 0x20000000 8)),
("STM32G0(3..6|4.J6)", mem!(BANK_1 0x08000000 32, SRAM 0x20000000 8)),
("STM32G04..6", mem!(BANK_1 0x08000000 64, SRAM 0x20000000 8)),
("STM32G0[56]..6", mem!(BANK_1 0x08000000 32, SRAM 0x20000000 16)),
("STM32G0[56]..8", mem!(BANK_1 0x08000000 64, SRAM 0x20000000 16)),
("STM32G0[78]..B", mem!(BANK_1 0x08000000 128, SRAM 0x20000000 32)),
Expand Down

0 comments on commit 8ee7107

Please sign in to comment.