Hi everyone.
I am trying to write a simple application without using code or demos for specific hardware platforms.
I think my includes are ok but I am getting "undefined reference to GPIO_DRV_Init" error.
If I remove the function call, it compiles properly.
The platform library is already built.
What I am doing wrong?
Please see attached image.
Many thanks.
Jose
Hello Jose Asensio:
Apart from building the KSDK platform library, have you linked it to the project?
(Project -> Properties -> C/C++ Build -> Settings -> Cross ARM C++ Linker -> Libraries)
The guide in below link is the process on how to create a new KSDK project in KDS from scratch, so you have all the required steps:
Writing my first KSDK1.2 Application in KDS3.0 - Hello World and Toggle LED with GPIO Interrupt
Regards!,
Jorge Gonzalez
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Jorge.
I tried to link the library but it didn't work.
Anyway, I will follow that guide and will see how it goes :smileyhappy:
Thanks!
Sure, please follow the guide, it should build with no issues.
If you still have problems just let us know.
Regards!
Jorge Gonzalez