@@ -135,11 +135,12 @@ The following macros are available:
135
135
- `section_vector_rom(memory)`: places the read-only vector table into ROM
136
136
`memory`.
137
137
138
- - `section_vector_ram(memory)`: places the volatile vector table into RAM
139
- `memory`. You must satisfy alignment requirements externally.
138
+ - `section_vector_ram(memory, table_copy)`: places the volatile vector table
139
+ into RAM `memory` and add it to the copy table. You must satisfy alignment
140
+ requirements externally.
140
141
141
- - `section (memory, name , sections=[] )`: place section `.{name }` into `memory`
142
- and include `sections` into the `.{name}` section .
142
+ - `section_load (memory, table_copy , sections)`: place each `.{section }` in
143
+ `sections` into `memory` and add them the copy table .
143
144
144
145
- `section_stack(memory, start=None)`: place the main stack into `memory` after
145
146
moving the location counter to `start`.
@@ -152,14 +153,16 @@ The following macros are available:
152
153
section end address, so that previous sections will push this section back.
153
154
154
155
- `all_heap_sections(table_copy, table_heap)`: places the heap sections as
155
- described by `cont_ram_regions` of the `linkerscript` query.
156
+ described by `cont_ram_regions` of the `linkerscript` query. This also adds
157
+ bss and noinit sections into each region.
156
158
157
159
- `section_rom(memory)`: place all read-only sections (`.text`, `.rodata` etc)
158
160
into `memory`.
159
161
160
- - `section_ram(memory, rom, sections=[])`: place all volatile sections (`.data`,
161
- `.bss` etc) into `memory` and load from `rom`. Adds `sections` into the
162
- `.data` section.
162
+ - `section_ram(memory, rom, table_copy, table_zero,
163
+ sections_data=[], sections_bss=[], sections_noinit=[])`: place all volatile
164
+ sections (`.data`, `.bss` etc) into `memory` and load from `rom`. Additional
165
+ sections can be added.
163
166
164
167
- `section_tables(memory, copy, zero, heap)`: place the zero, copy and heap
165
168
table into `memory`.
0 commit comments