Undefined reference problem

cancel
Showing results for 
Search instead for 
Did you mean: 

Undefined reference problem

Jump to solution
190 Views
Contributor I

Hi everyone! I'll keep it as short as possible...

I am getting these errors:

1err.PNG

  • I've already included #include "app_ADC.h" in both main.c and app_ADC.c
  • Both, header and source files, are located in folder Application.
  • I've already added the include paths to the compiler, libraries to the linker and the paths to paths and symbols.5err.jpg

6err.jpg

errCaptura.PNG

  • I'm using MCUXpresso IDE v11.0.1 [Build 2563].

Any suggestion?

Thanks a lot.

0 Kudos
1 Solution
69 Views
NXP TechSupport
NXP TechSupport

Hi Ramiro,

I guess app_ADC_init is not compiled. The .c file which has the app_ADC_init is not add into make list. You can write any wrong letter in to app_ADC_init and compile again. If the compiler does not report error, that is it.

Please delete that folder from project then add again. Please add in this way

pastedImage_1.png 

Regards,

Jing

View solution in original post

2 Replies
70 Views
NXP TechSupport
NXP TechSupport

Hi Ramiro,

I guess app_ADC_init is not compiled. The .c file which has the app_ADC_init is not add into make list. You can write any wrong letter in to app_ADC_init and compile again. If the compiler does not report error, that is it.

Please delete that folder from project then add again. Please add in this way

pastedImage_1.png 

Regards,

Jing

View solution in original post

69 Views
Contributor I

Thanks a lot! That was it!

0 Kudos