Ku-young Chung
Ku-young Chung

Reputation: 11

Keil, microvision 5, library for drivers include error

I am trying to add STM32L4xx_HAL drivers (.c sources) to the path but it keeps on saying the drivers are not found.

I have added the path into the "project options - C/C++ tab" section. and I have checked clearly that these sources exist in these files.

Any ideas? please help

Here are some captured configuration https://i.sstatic.net/dIodA.png https://i.sstatic.net/rotXf.png

Upvotes: 1

Views: 444

Answers (2)

Dheeraj Kumar
Dheeraj Kumar

Reputation: 387

In include path , Only include the header files. Also add the source files to your project, Source files will be built along with your application files.

Upvotes: 0

Realtime Rik
Realtime Rik

Reputation: 1714

That is the include paths. You have to add the C files to the project manager on the left hand side.

Upvotes: 1

Related Questions