File tree Expand file tree Collapse file tree 4 files changed +5
-6
lines changed
targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L476xG/device Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 33
33
#endif
34
34
35
35
#if !defined(MBED_APP_SIZE)
36
- #define MBED_APP_SIZE 0x200000
36
+ #define MBED_APP_SIZE 0x100000
37
37
#endif
38
38
39
39
; 1MB FLASH (0x100000) + 128KB SRAM (0x20000)
Original file line number Diff line number Diff line change 33
33
#endif
34
34
35
35
#if !defined(MBED_APP_SIZE)
36
- #define MBED_APP_SIZE 0x200000
36
+ #define MBED_APP_SIZE 0x100000
37
37
#endif
38
38
39
39
; 1MB FLASH (0x100000) + 128KB SRAM (0x20000)
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 2048k
6
+ #define MBED_APP_SIZE 1024k
7
7
#endif
8
8
9
9
/* Linker script to configure memory regions. */
10
10
MEMORY
11
11
{
12
- VECTORS (rx) : ORIGIN = MBED_APP_START, LENGTH = 0x400
13
- FLASH (rx) : ORIGIN = MBED_APP_START + 0x400, LENGTH = MBED_APP_SIZE - 0x400
12
+ FLASH (rx) : ORIGIN = MBED_APP_START, LENGTH = MBED_APP_SIZE
14
13
SRAM2 (rwx) : ORIGIN = 0x10000188, LENGTH = 32k - 0x188
15
14
SRAM1 (rwx) : ORIGIN = 0x20000000, LENGTH = 96k
16
15
}
Original file line number Diff line number Diff line change 1
1
if (!isdefinedsymbol(MBED_APP_START)) { define symbol MBED_APP_START = 0x08000000; }
2
- if (!isdefinedsymbol(MBED_APP_SIZE)) { define symbol MBED_APP_SIZE = 0x200000 ; }
2
+ if (!isdefinedsymbol(MBED_APP_SIZE)) { define symbol MBED_APP_SIZE = 0x100000 ; }
3
3
4
4
/* [ROM = 1024kb = 0x100000] */
5
5
define symbol __intvec_start__ = MBED_APP_START;
You can’t perform that action at this time.
0 commit comments