Hi,
I faced a problem while building my project. Please see screenshot below
I think I have already include all the files and everything compiled. But this error shows up at the very end. Please advise.
Thank you.
Hi,
I faced a problem while building my project. Please see screenshot below
I think I have already include all the files and everything compiled. But this error shows up at the very end. Please advise.
Thank you.
Hi.
Have you also enabled the app timer in sdk_config.h?
Best regards,
Andreas
Hi guys,
Thank you for the speedy reply. I've included the app_timer.h and app_timer.c.
After I enabled the app timer in sdk_config.h, I did it by change from "APP_TIMER_ENABLED 0" to "APP_TIMER_ENABLED 1". Is this the correct way to do it?
If this is the correct way, after I enable the app timer, I got another error shown in the attach picture.
Is this something to do with settings in sdk_config again?
Thank you for helping again.
Hi Andreas,
I was using the newest SDK "nRF5_SDK_15.3.0_59ac345".
I made a modification and that is adding "nrfx_power_clock.c" from previous SDK since it wasn't included in the newest SDK.
I got the "nrfx_power_clock.c" from "nRF_SDK_15.2.0_9412b96" so I also try using this SDK but the same error showed up.
Please advise. Thank you!
Hi.
lsvw1217 said:I made a modification and that is adding "nrfx_power_clock.c" from previous SDK since it wasn't included in the newest SDK.
Can you please remove nrfx_power_clock.c from the project? This file is in SDK 15.3 split up into two different files, nrfx_clock.c and nrfx_power.c.
And add the file you need, nrfx_clock.c.
Best regards,
Andreas
adding [anything] from previous SDK
is never a good idea!
The whole point of going to all the effort of making a separate SDK release is (as AndreasF says) that things are not the same - so you can't just go taking stuff from one SDK and dropping it willy-nilly into a different SDK!
Hi Andreas and awneil,
Oh I didn't know that. So I tried installing a whole new SDK 15.3 and deleting nrfx_power_clock.c and also make sure app_timer is enabled in the sdk.config. But the same error still shows up.
I've tried to search the error online and found this.
https://devzone.nordicsemi.com/f/nordic-q-a/51106/linker-issue-in-sdk15-2
According to Amanda, it might be due to different version of app_timer.c in the SDK.
But right now I'm using a whole new SDK 15.3, and files are not modified. So I think they should be from the same version.
Is there anything else I can try? Maybe download a previous version of SDK?
Also, could you provide a link to download the newest version of SDK? Maybe I'm downloading the wrong one.
Thank you so much!
Hi.
Please make sure that you download SDK 15.3 here.
If you have not worked much with your project, I suggest that you start a new project with a clean downloaded SDK so that you are sure that it contains the correct files.
Best regards,
Andreas
Hi.
Please make sure that you download SDK 15.3 here.
If you have not worked much with your project, I suggest that you start a new project with a clean downloaded SDK so that you are sure that it contains the correct files.
Best regards,
Andreas