Part Number: PROCESSOR-SDK-J721E
for R5 we have to use ti-cgt-arm_20.2.0.LTS as compiler(section 3.21.3).
I check the MCAL release notes from ti-processor-sdk-rtos-j721e-evm-07_03_00_07.tar and according with this used compiler options are this :
| -g | Default behavior. Enables symbolic debugging. The generation of debug information do not impact optimizations. Therefore, generating debug information is enabled by default. |
| -ms | Place each function in a separate subsection |
| -DMAKEFILE_BUILD | Defines the build support infra i.e makefile based. |
| -c | Disables linking |
| Super Quite Mode | |
| -pdsw225 | Categorizes the diagnostic identified by num as a warning |
| –endian=little | Little Endian |
| -mv7R5 | Processor Architecture Cortex-R5 |
| –abi=eabi | Application binary interface - ELF |
| -eo.oer5f | Output Object file extension |
| -ea.ser5f | Output assembly file extension |
| –symdebug:dwarf | Generate symbolic debug in DWARF format |
| –embed_inline_assembly | Embed inline assembly in code for optimization |
| –float_support=vfpv3d16 | VFP coprocessor is enabled |
| –emit_warnings_as_errors | Treat warning as errors |
| -ms | Place each function in a separate sub section |
| -oe | Required by PDK |
| -O3 | Optimization Level |
| -op0 | Specifies that functions provided in a C file could potentially be called from different C file. |
| -os | Interlists optimizer comments with assembly statements |
| –optimize_with_debug | Optimize fully in the presence of debug |
| –inline_recursion_limit=20 | Required by PDK |
| -DBUILD_MCU1_0, -DBUILD_MCU2_0, -DBUILD_MCU1_1, -DBUILD_MCU2_1 | Identifies Core in the domain |
| -DBUILD_MCU | Identifies Domain |
| -DSOC_J721E, -DSOC_J7200 | Device Identifier |
| Please note that all MCAL modules do not support this version. Please refer the release notes for details | |
| Please note that both flags (-DAUTOSAR_421 & -DAUTOSAR_431) cannont be used simultaneously | |
| These flags will be deprecated once all MCAL modules migrate to AUTOSAR Specificaion v4.3.1 |
We try to use this compiler option with compiler ti-cgt-arm_20.2.0.LTS which we got in ti-processor-sdk-rtos-j721e-evm-07_03_00_07-windows_codegen_tools downloaded from link.
Some of compiler option are not available or wrongly:
|
–endian=little |
Wrongly provided, should be like --little_endian |
|
–abi=eabi |
Not Available |
|
–symdebug:dwarf |
Wrongly provided, should be like --symdebug:dwarf |
|
–embed_inline_assembly |
Not Available |
|
-os |
Not Available |
|
–optimize_with_debug |
Not Available |
|
–inline_recursion_limit=20 |
Not Available |
Can you please provide us the option that are used for R5 and the compiler ?

