File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ ifeq ($(TARGET),stm32wb)
152152endif
153153
154154ifeq ($(TARGET ) ,psoc6)
155+ CORTEX_M0 =1
155156 PKA_EXTRA_OBJS+ = $(CYPRESS_PDL ) /drivers/source/cy_flash.o \
156157 $(CYPRESS_PDL ) /drivers/source/cy_ipc_pipe.o \
157158 $(CYPRESS_PDL ) /drivers/source/cy_ipc_sema.o \
Original file line number Diff line number Diff line change 1- MEMORY
2- {
3- FLASH (rx) : ORIGIN = 0x10000000 , LENGTH = ##WOLFBOOT_PARTITION_BOOT_ADDRESS##
4- RAM (rwx) : ORIGIN = 0x20000000 , LENGTH = 64K
5- }
6-
7- SECTIONS
8- {
9-
10- .text :
11- {
12- _start_text = .;
13- KEEP (*(.isr_vector ))
14- . = ALIGN (0x400 );
15- *(.text *)
16- *(.rodata *)
17- *(.init *)
18- *(.fini *)
19- . = ALIGN (4 );
20- _end_text = .;
21- } > FLASH
22-
23- .edidx :
24- {
25- . = ALIGN (4 );
26- *(.ARM .exidx *)
27- } > FLASH
28-
29- _stored_data = .;
30-
31- .data : AT (_stored_data)
32- {
33- _start_data = .;
34- KEEP (*(.data *))
35- . = ALIGN (4 );
36- _end_data = .;
37- } > RAM
38-
39- .bss (NOLOAD) :
40- {
41- _start_bss = .;
42- __bss_start__ = .;
43- *(.bss *)
44- *(COMMON)
45- . = ALIGN (4 );
46- _end_bss = .;
47- __bss_end__ = .;
48- _end = .;
49- } > RAM
50- . = ALIGN (4 );
51- }
52-
53- END_STACK = ORIGIN (RAM) + LENGTH (RAM);
1+ MEMORY
2+ {
3+ FLASH (rx) : ORIGIN = 0x10000000 , LENGTH = ##WOLFBOOT_PARTITION_BOOT_ADDRESS##
4+ RAM (rwx) : ORIGIN = 0x08000000 , LENGTH = 64K
5+ }
6+
7+ SECTIONS
8+ {
9+
10+ .text :
11+ {
12+ _start_text = .;
13+ KEEP (*(.isr_vector ))
14+ . = ALIGN (0x400 );
15+ *(.text *)
16+ *(.rodata *)
17+ *(.init *)
18+ *(.fini *)
19+ . = ALIGN (4 );
20+ _end_text = .;
21+ } > FLASH
22+
23+ .edidx :
24+ {
25+ . = ALIGN (4 );
26+ *(.ARM .exidx *)
27+ } > FLASH
28+
29+ _stored_data = .;
30+
31+ .data : AT (_stored_data)
32+ {
33+ _start_data = .;
34+ KEEP (*(.data *))
35+ . = ALIGN (4 );
36+ _end_data = .;
37+ } > RAM
38+
39+ .bss (NOLOAD) :
40+ {
41+ _start_bss = .;
42+ __bss_start__ = .;
43+ *(.bss *)
44+ *(COMMON)
45+ . = ALIGN (4 );
46+ _end_bss = .;
47+ __bss_end__ = .;
48+ _end = .;
49+ } > RAM
50+ . = ALIGN (4 );
51+ }
52+
53+ END_STACK = ORIGIN (RAM) + LENGTH (RAM);
You can’t perform that action at this time.
0 commit comments