AnsweredAssumed Answered

Why does ADC component create undefined functions?

Question asked by Alexander Farley on Oct 23, 2018
Latest reply on Nov 15, 2018 by Alexander Farley

The PE-generated code for a Kinetis ADC component generates the following code:

 

#define AD2_SAMPLE_GROUP_SIZE 13U
static void AD2_MainMeasure(void);

 

When I compile, I get a warning:
warning: 'AD2_MainMeasure' declared 'static' but never defined [-Wunused-function]

 

Is there any particular reason this component produces an undefined function? I think this is a bug.

 

Edit: I have attached a minimal project to reproduce this issue.

Attachments

Outcomes