cancel
Showing results for 
Search instead for 
Did you mean: 

Undefined reference to api's in new custom folder

Niru Hegde
Associate II

Hi,

I have created project using the STM32CubeIDE with .ioc.

And added new folder for application code.

Problem statement:

Any API defined in my application file which under the Application folder will not identified by the Core files.

I have defined the path for my Application folder.

I have also attached my project.

Please let me know what is going wrong.

Thanks

Niranjan

2 REPLIES 2
Niru Hegde
Associate II

Hi,

Could anyone please give some directions?

Thanks

Niranjan Hegde

Julien M.
Associate II

Hello,

I do not opened your project, but I suppose that you had created the folder from the Project Explorer, right clic to the parent directory -> New/Folder instead of New/"Source folder".

To convert your "Folder" to "Source folder": https://pcbartists.com/firmware/stm32-firmware/undefined-reference-to-function-stm32-cubeide-solution/

[Use your Project/Properties/"C/C++ General"/"Paths and Symbols"/"Source Location" and probably Includes tab.]

Regards !