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 34
34
#endif
35
35
36
36
#if !defined(MBED_APP_SIZE)
37
- ; 512KB FLASH
38
- #define MBED_APP_SIZE 0x80000
37
+ ; 768KB FLASH
38
+ #define MBED_APP_SIZE 0xC0000
39
39
#endif
40
40
41
- ; 512KB FLASH (0x80000 ) + 192KB SRAM (0x30000) + Shared mem
41
+ ; 768KB FLASH (0xC0000 ) + 192KB SRAM (0x30000) + Shared mem
42
42
LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
43
43
44
44
ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
Original file line number Diff line number Diff line change 34
34
#endif
35
35
36
36
#if !defined(MBED_APP_SIZE)
37
- ; 512KB FLASH
38
- #define MBED_APP_SIZE 0x80000
37
+ ; 768KB FLASH
38
+ #define MBED_APP_SIZE 0xC0000
39
39
#endif
40
40
41
41
#if !defined(MBED_BOOT_STACK_SIZE)
44
44
45
45
#define Stack_Size MBED_BOOT_STACK_SIZE
46
46
47
- ; 512KB FLASH (0x80000 ) + 192KB SRAM (0x30000) + Shared mem
47
+ ; 768KB FLASH (0xC0000 ) + 192KB SRAM (0x30000) + Shared mem
48
48
LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
49
49
50
50
ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
Original file line number Diff line number Diff line change 3
3
#endif
4
4
5
5
#if !defined(MBED_APP_SIZE)
6
- #define MBED_APP_SIZE 512K
6
+ #define MBED_APP_SIZE 768K
7
7
#endif
8
8
9
9
#if !defined(MBED_BOOT_STACK_SIZE)
Original file line number Diff line number Diff line change 17
17
*/
18
18
19
19
if (!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 ; }
21
21
22
- /* [ROM = 512kb = 0x80000 ] */
22
+ /* [ROM = 768kb = 0xC0000 ] */
23
23
define symbol __intvec_start__ = MBED_APP_START;
24
24
define symbol __region_ROM_start__ = MBED_APP_START;
25
25
define symbol __region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1;
Original file line number Diff line number Diff line change 37
37
#undef FLASH_SIZE
38
38
#endif
39
39
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
42
42
43
43
#endif
44
44
#endif
You can’t perform that action at this time.
0 commit comments