src/target/stm32f1.c: Add CCM Ram of STM32F303 devices.

This commit is contained in:
Uwe Bonnes 2017-12-08 13:39:24 +01:00
parent 568655063f
commit 1f3c235205

View File

@ -136,11 +136,12 @@ bool stm32f1_probe(target *t)
stm32f1_add_flash(t, 0x8000000, 0x80000, 0x800); stm32f1_add_flash(t, 0x8000000, 0x80000, 0x800);
target_add_commands(t, stm32f1_cmd_list, "STM32 HD/CL"); target_add_commands(t, stm32f1_cmd_list, "STM32 HD/CL");
return true; return true;
case 0x422: /* STM32F30x */
case 0x432: /* STM32F37x */
case 0x438: /* STM32F303x6/8 and STM32F328 */ case 0x438: /* STM32F303x6/8 and STM32F328 */
case 0x439: /* STM32F302C8 */ case 0x422: /* STM32F30x */
case 0x446: /* STM32F303xD/E and STM32F398xE */ case 0x446: /* STM32F303xD/E and STM32F398xE */
target_add_ram(t, 0x10000000, 0x4000);
case 0x432: /* STM32F37x */
case 0x439: /* STM32F302C8 */
t->driver = "STM32F3"; t->driver = "STM32F3";
target_add_ram(t, 0x20000000, 0x10000); target_add_ram(t, 0x20000000, 0x10000);
stm32f1_add_flash(t, 0x8000000, 0x80000, 0x800); stm32f1_add_flash(t, 0x8000000, 0x80000, 0x800);