Lines Matching +full:key +full:- +full:string

5 # SPDX-License-Identifier: Apache-2.0
10 Applications may declare build-time memory domain partitions with
13 route all their data into appropriately-sized memory areas which meet the
18 tool generates is a necessary pre-condition for kernel linking. We extract
26 - The base directory to look for compiled objects
27 - key/value pairs mapping static library files to what partitions their globals
55 SMEM_PARTITION_ALIGN(z_data_smem_{0}_bss_end - z_data_smem_{0}_part_start);
75 SMEM_PARTITION_ALIGN(z_data_smem_{0}_bss_end - z_data_smem_{0}_part_start);
104 z_data_smem_{0}_part_size = z_data_smem_{0}_part_end - z_data_smem_{0}_part_start;
105 z_data_smem_{0}_bss_size = z_data_smem_{0}_bss_end - z_data_smem_{0}_bss_start;
108 section_regex = re.compile(r'data_smem_([A-Za-z0-9_]*)_(data|bss)*')
156 object_pattern = re.compile(r'-o\s+(\S*)')
205 string = ""
208 string = linker_start_seq.format(lnkr_sect, lnkr_sect.upper())
211 string += data_template.format(partition)
214 string += library_data_template.format(lib)
215 string += bss_template.format(partition, lnkr_sect)
218 string += library_bss_template.format(lib)
219 string += footer_template.format(partition)
222 string += linker_end_seq.format(lnkr_sect)
223 string += size_string
225 string = empty_app_smem.format(lnkr_sect, lnkr_sect.upper())
228 fw.write(string)
236 parser.add_argument("-d", "--directory", required=False, default=None,
238 parser.add_argument("-e", "--elf", required=False, default=None,
240 parser.add_argument("-f", "--compile-commands-file", required=False,
242 parser.add_argument("-o", "--output", required=False,
244 parser.add_argument("-v", "--verbose", action="count", default=0,
246 parser.add_argument("-l", "--library", nargs=2, action="append", default=[],
249 parser.add_argument("--pinoutput", required=False,
251 parser.add_argument("--pinpartitions", action="store", required=False, default="",
282 generic_partitions = {key: value for key, value in partitions.items()
283 if key not in pin_part_names}
284 pinned_partitions = {key: value for key, value in partitions.items()
285 if key in pin_part_names}
293 key=lambda x: (x[1][SZ], x[0]), reverse=True)
300 for key in partsorted:
301 print(" {0}: size {1}: {2}".format(key,
302 partsorted[key][SZ],
303 partsorted[key][SRC]))
307 key=lambda x: (x[1][SZ], x[0]), reverse=True)
314 for key in partsorted:
315 print(" {0}: size {1}: {2}".format(key,
316 partsorted[key][SZ],
317 partsorted[key][SRC]))