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.

RM48L952: HalCoGen in combination with --float_operations_allowed=32

Part Number: RM48L952
Other Parts Discussed in Thread: HALCOGEN

Hey,

I used HalCoGen v 04.06.00 to generate code for the RM48. I would like to use the --float_operations_allowed=32 of the TI ARM compiler (v 16.9.4.LTS)  to prevent double precision operations being used.

In het.c line 2886 64-bit floating point numbers are used:

float64 pwmPeriod = 0.0F;

Is there a way to make HalCoGen generate code that only used single-precision floats?

Thanks