Correct flash size for g03 and g04

This commit is contained in:
Süha 2024-04-17 22:18:34 +08:00 committed by GitHub
parent 9db1729024
commit 6f0aff1df4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)),