AnsweredAssumed Answered

Unable to use an RTC example - source files missing in KDS 3.0

Question asked by Piotr Cerba on Sep 29, 2015
Latest reply on Sep 30, 2015 by Jorge_Gonzalez

Hello, I am willing to implement RTC based on the example app from Kinetis SDK 1.2.0 for KL43.

I added following folders as the header files source, they are the same as the ones for the RTC example (and a couple more):

Capture5.PNG

Capture8.PNG

 

Header files are successfully recognized, however, I am missing the source files connected to them. For example fsl_rtc_driver.h has the bool RTC_DRV_IsAlarmPending(uint32_t instance); function prototype. It is obvious that its body is present in fsl_rtc_driver.c which is in the folder I also included into project settings. Unfortunately it does not see any of the .c files, even though they are correctly seen in the project tree:

Capture6.PNG

Compiler gives following errors:

Capture7.PNG

 

Since the path with required .c source files is correctly added - I don't know what am I missing.

There must be some non-manual way to fix this problem. How to do it?

Outcomes