This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Scheduler Tutorial does not build with SDC 17.0.2

I was following the tutorial and extracted with the git instruction into my SDK 17.0.2  at the following path C:\nRF5_SDK_17.0.2_d674dde\examples\peripheral.  When I attempt to build the project in Seggar using the project file located at C:\nRF5_SDK_17.0.2_d674dde\examples\peripheral\nrf5-scheduler-tutorial\pca10040\blank\ses I get an error 

cc1: fatal error: C:\nRF5_SDK_17.0.2_d674dde\modules\nrfx\drivers\src\nrfx_power_clock.c: No such file or directory

The file being referenced is clearly there.  Can you tell me what is wrong?

Parents
  • It seems that the tutorial is based on SDK 15 so you have to modify the project.  First delete the file nrfx_power_clock.c from the project.  Second you must modify the flash_placement.xml file to reference RAM1 rather than RAM.  Finally you must modify the emproject file so that the linker_section_placements_segments references RAM1 rather than RAM.  The project then builds correctly. 

Reply
  • It seems that the tutorial is based on SDK 15 so you have to modify the project.  First delete the file nrfx_power_clock.c from the project.  Second you must modify the flash_placement.xml file to reference RAM1 rather than RAM.  Finally you must modify the emproject file so that the linker_section_placements_segments references RAM1 rather than RAM.  The project then builds correctly. 

Children
No Data
Related