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.

Compiler: Question about Complier impact - Using -mv7R4 or -mv7R5 in TMS570LC4357(ARM Cortex-R5(F), 32Bit)

Other Parts Discussed in Thread: TMS570LC4357

Tool/software: TI C/C++ Compiler

I have some question about Complier impact -  Using -mv7R4 or -mv7R5 in TMS570LC4357(ARM Cortex-R5(F), 32Bit)

The test environment as followes, 

- Using Chip : TMS570LC4357(ARM Cortex-R5(F), 32Bit)

- Base Soure : SafeTI Diagnostic Library (Version : 2.3.1) 

  -> I use the default build option of SafeTI Diagnostic Library. So, the complier option is set as -mv7R4.

The questions,

1. Why the default complier option of SafeTI Diagnostic Library  is fixed as -mv7R4?

2. Difference between using -mv7R4 and -mv7R5.

3. If there is a difference in Question 2. -> There are any reports about this difference?

Regards,
Minwoo

  • Hi Minwoo,

    The TI ARM compiler treats both these options in an identical way. So you can choose either -mv7R4 or -mv7R5 for the TMS570LC4357. Using -mv7R5 is the correct option to use, so you can change this setting and recompile the library if required.

    Regards, Sunil

  • Hi Minwoo,

    You rejected the above response, but did not post a follow-up question.

    As I mentioned, there is no difference between how the TI ARM compiler uses the -mv7R4 or -mv7R5 options, so they are identical from the compiler point of view.