AnsweredAssumed Answered

Lots of warnings "unused parameter 'instace'" with KSDK 1.2.0

Question asked by Bruno Almeida on Jul 17, 2015
Latest reply on Jul 20, 2015 by Earl Orlando Ramirez Sanchez

I have a project for MKL27Z256VLH4 and I'm not using KDS, only a Makefile and GCC.

 

I'm using KSDK 1.2.0.

 

When I compile the project, I get a LOT of warnings like these:

 

../Freescale/KSDK_1.2.0/platform/hal/inc/../src/sim/MKL27Z4/fsl_sim_hal_MKL27Z4.h:418:49: warning: unused parameter 'instance' [-Wunused-parameter]

../Freescale/KSDK_1.2.0/platform/system/src/clock/MKL27Z4/fsl_clock_MKL27Z4.c:389:42: warning: unused parameter 'instance' [-Wunused-parameter]

 

The defined MCU for the compiler is: CPU_MKL27Z256VLH4

 

The firmware runs with no problems, but I'm not confortable with all of these warnings... Is there something that I forgot? How can I get rid of these warnings?

 

Regards,

Bruno.

Outcomes