This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

running blinky example on nrf52832

Hello, I have downloaded the nrf52 sdk (version 0.9.2) and following the steps listed here: infocenter.nordicsemi.com/index.jsp, to run the blinky led example. However, when I try to build the project in Keil5, I get the following errors displayed:

Build target 'nrf52832_xxaa'
compiling main.c...
"no source": Error:  #5: cannot open source input file "..\..\..\main.c": No such file or directory
..\..\..\main.c: 0 warnings, 1 error
assembling arm_startup_nrf52.s...
compiling nrf_delay.c...
"no source": Error:  #5: cannot open source input file "..\..\..\..\..\..\components\drivers_nrf\delay\nrf_delay.c": No such file or directory
..\..\..\..\..\..\components\drivers_nrf\delay\nrf_delay.c: 0 warnings, 1 error
compiling system_nrf52.c...
RTE\Device\nRF52832_xxAA\system_nrf52.c(31): error:  #5: cannot open source input file "stdint.h": No such file or directory
  #include <stdint.h>
RTE\Device\nRF52832_xxAA\system_nrf52.c: 0 warnings, 1 error
".\_build\nrf52832_xxaa.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:01

Do I need to download something else that has these files? I know main.c is in the zipped folder, but I don't know why the program can't find it. I also have no idea where the other files are located, especially nrf_delay.c. Any help is appreciated!

Thanks, Noel

Parents
  • something seems wrong with you path. Looking at your error messages ............\components
    There are back slashes missing here. Are you using Keil or GCC? Also did you create your own project or using the project settings that came with the zip release?

Reply
  • something seems wrong with you path. Looking at your error messages ............\components
    There are back slashes missing here. Are you using Keil or GCC? Also did you create your own project or using the project settings that came with the zip release?

Children
No Data
Related