US 12,260,198 B2
Computer-implemented method for generating a linker code for a generation process of an executable code for a processing unit from a source code
Jens Witowski, Freiberg Am Neckar (DE)
Assigned to ROBERT BOSCH GMBH, Stuttgart (DE)
Filed by Robert Bosch GmbH, Stuttgart (DE)
Filed on Jun. 1, 2022, as Appl. No. 17/829,648.
Claims priority of application No. 10 2021 205 958.9 (DE), filed on Jun. 11, 2021.
Prior Publication US 2022/0398076 A1, Dec. 15, 2022
Int. Cl. G06F 8/41 (2018.01); G06F 8/54 (2018.01)
CPC G06F 8/447 (2013.01) [G06F 8/54 (2013.01)] 18 Claims
OG exemplary drawing
 
1. A computer-implemented method for generating a linker code for a generating process for generating from a source code an executable code that is for a processing unit, the processing unit includes at least one memory unit, which each includes at least one memory area, and a processor unit which includes at least one processor core, the method comprising the following steps:
generating data arrays according to which an initialization of memory areas of the processing unit takes place, the data arrays being generated as a function of predefined pieces of information relating to the memory areas, as a function of a predefined configuration of the memory areas as to which applications are assigned to which of the memory areas, and as a function of a predefined configuration of macros which describe accesses of applications to the memory areas according to specific properties;
generating generic macros, which each describe accesses of a specific application to a specific memory area of the memory areas according to specific properties, the generic macros being generated as a function of the predefined pieces of information relating to the memory areas of the processing unit, as a function of the predefined configuration of the memory areas as to which applications are assigned to which memory areas, and as a function of the predefined configuration of the macros;
generating a final macro for each respective memory unit of the at least one memory unit, the final macro including the generic macros which relate to the memory areas of the respective memory unit; and
generating the linker code as a function of the final macros and as a function of the data arrays.