Skip to main content
Niru Hegde
Associate
October 6, 2020
Question

Undefined reference to api's in new custom folder

  • October 6, 2020
  • 2 replies
  • 875 views

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

This topic has been closed for replies.

2 replies

Niru Hegde
Associate
October 8, 2020

Hi,

Could anyone please give some directions?

Thanks

Niranjan Hegde

Julien M.
Associate
April 13, 2022

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 !