File tree Expand file tree Collapse file tree 5 files changed +11
-11
lines changed
targets/TARGET_STM/TARGET_STM32WB/TARGET_STM32WB55xG/device Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 3434#endif
3535
3636#if !defined(MBED_APP_SIZE)
37- ; 512KB FLASH
38- #define MBED_APP_SIZE 0x80000
37+ ; 768KB FLASH
38+ #define MBED_APP_SIZE 0xC0000
3939#endif
4040
41- ; 512KB FLASH (0x80000 ) + 192KB SRAM (0x30000) + Shared mem
41+ ; 768KB FLASH (0xC0000 ) + 192KB SRAM (0x30000) + Shared mem
4242LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
4343
4444 ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
Original file line number Diff line number Diff line change 3434#endif
3535
3636#if !defined(MBED_APP_SIZE)
37- ; 512KB FLASH
38- #define MBED_APP_SIZE 0x80000
37+ ; 768KB FLASH
38+ #define MBED_APP_SIZE 0xC0000
3939#endif
4040
4141#if !defined(MBED_BOOT_STACK_SIZE)
4444
4545#define Stack_Size MBED_BOOT_STACK_SIZE
4646
47- ; 512KB FLASH (0x80000 ) + 192KB SRAM (0x30000) + Shared mem
47+ ; 768KB FLASH (0xC0000 ) + 192KB SRAM (0x30000) + Shared mem
4848LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
4949
5050 ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
Original file line number Diff line number Diff line change 33#endif
44
55#if !defined(MBED_APP_SIZE)
6- #define MBED_APP_SIZE 512K
6+ #define MBED_APP_SIZE 768K
77#endif
88
99#if !defined(MBED_BOOT_STACK_SIZE)
Original file line number Diff line number Diff line change 1717 */
1818
1919if (!isdefinedsymbol(MBED_APP_START)) { define symbol MBED_APP_START = 0x08000000; }
20- if (!isdefinedsymbol(MBED_APP_SIZE)) { define symbol MBED_APP_SIZE = 0x80000 ; }
20+ if (!isdefinedsymbol(MBED_APP_SIZE)) { define symbol MBED_APP_SIZE = 0xC0000 ; }
2121
22- /* [ROM = 512kb = 0x80000 ] */
22+ /* [ROM = 768kb = 0xC0000 ] */
2323define symbol __intvec_start__ = MBED_APP_START;
2424define symbol __region_ROM_start__ = MBED_APP_START;
2525define symbol __region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1;
Original file line number Diff line number Diff line change 3737#undef FLASH_SIZE
3838#endif
3939
40- // Only the first 128 pages are accessible when security is enabled
41- #define FLASH_SIZE ((uint32_t)0x80000 ) // 128 pages x 4 Kbytes = 512 Kbytes
40+ // Only the first the application side is accessible.
41+ #define FLASH_SIZE ((uint32_t)0xC0000 ) // 768 Kbytes
4242
4343#endif
4444#endif
You can’t perform that action at this time.
0 commit comments