This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-J721E: Compiler and compiler option used for MCAL qualification

Part Number: PROCESSOR-SDK-J721E

According with https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/07_03_00_07/exports/docs/psdk_rtos/docs/user_guide/sdk_components_j721e.html#code-generation-tools-cgt

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
-qq 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 ?