File tree Expand file tree Collapse file tree 1 file changed +19
-18
lines changed
bsp/bluetrum/ab32vg1-ab-prougen Expand file tree Collapse file tree 1 file changed +19
-18
lines changed Original file line number Diff line number Diff line change 11/* Define the flash max size */
2- __max_flash_size = 768k ;
2+ __max_flash_size = 1024k ;
33
4- __data_ram_size = 5k ;
4+ __data_ram_size = 8k ;
55__stack_ram_size = 4k;
6- __comm_ram_size = 86k ;
6+ __comm_ram_size = 83k ;
77__heap_ram_size = 29k;
88
99__base = 0x10000000 ;
@@ -34,13 +34,8 @@ SECTIONS
3434 } > init
3535
3636 .ram1 __ram1_vma : {
37- *hal_drivers**.o (.text *)
38- *hal_libraries*ab32vg1_hal**.o (.text *)
3937 *components*drivers**.o (.text * .rodata *)
40- *components*libc**.o (.text *)
41- *ab32vg1_hal_msp.o (.text *)
42- *components.o (.text * .rodata *)
43- *ipc.o (.text * .rodata *)
38+ *device.o (.text *)
4439 . = ALIGN (32 );
4540 } > ram1 AT > flash
4641
@@ -65,8 +60,14 @@ SECTIONS
6560 } > ram1 AT > flash
6661
6762 .comm : {
68- KEEP (*(.vector ))
69- EXCLUDE_FILE (*romfs.o *lib_a**.o ) *(.text *)
63+ KEEP (*(.vector ))
64+ EXCLUDE_FILE (*hal_drivers**.o *ab32vg1_hal**.o *components*finsh**.o *components*libc**.o *rt-thread*src**.o *kernel*src**.o *romfs.o *lib_a**.o ) *(.text *)
65+ *idle.o (.text *)
66+ *ipc.o (.text *)
67+ *irq.o (.text *)
68+ *scheduler.o (.text *)
69+ *timer.o (.text *)
70+ *kservice.o (.text *)
7071 EXCLUDE_FILE (*romfs.o *lib_a**.o ) *(.rodata *)
7172 *(.srodata *)
7273 *(.rela *)
@@ -75,12 +76,6 @@ SECTIONS
7576 . = ALIGN (512 );
7677 } > comm AT > flash
7778
78- .flash : {
79- *romfs.o *(.text * .rodata *)
80- *lib_a**.o *(.text * .rodata *)
81- . = ALIGN (512 );
82- } > flash
83-
8479 .bss (NOLOAD) :
8580 {
8681 __bss_start = .;
@@ -99,11 +94,17 @@ SECTIONS
9994 } > stack
10095 __irq_stack_size = __irq_stack - __irq_stack_start;
10196
102- .heap : {
97+ .heap (NOLOAD) : {
10398 __heap_start = .;
10499 . = __heap_ram_size;
105100 __heap_end = .;
106101 } > heap
102+
103+ .flash : {
104+ *(.text *)
105+ *(.rodata *)
106+ . = ALIGN (512 );
107+ } > flash
107108}
108109
109110/* Calc the lma */
You can’t perform that action at this time.
0 commit comments