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

Compiling github projects

Hi,

After downloading any of the projects from nordic github, how does one compile the project successfully? Where should i extract the files to and what paths should i include? I have not been able to get a single project working, any help with this issue would be a massive help,

Thanks!

Parents
  • Thank you for your suggestion. I have updated the readme file. The reason why the ble_app_uart_c_S120 example doesn't work is because the author of the example has zipped it "wrong" (there has always got to be an exception to the rule you know). What you need to do is to copy paste the folder called "ble_app_uart_c" inside the "ble_app_uart_c_S120" folder that you have extracted. After you have done this the file structure will look like this: "[my_SDK_folder]\examples\ble_central\ble_app_uart_c\main.c". Notice that main.c now resides 4 "folder layers" above your base SDK folder. This is important because main.c, and other project files in your example, are referencing files relative to your example folder.

Reply
  • Thank you for your suggestion. I have updated the readme file. The reason why the ble_app_uart_c_S120 example doesn't work is because the author of the example has zipped it "wrong" (there has always got to be an exception to the rule you know). What you need to do is to copy paste the folder called "ble_app_uart_c" inside the "ble_app_uart_c_S120" folder that you have extracted. After you have done this the file structure will look like this: "[my_SDK_folder]\examples\ble_central\ble_app_uart_c\main.c". Notice that main.c now resides 4 "folder layers" above your base SDK folder. This is important because main.c, and other project files in your example, are referencing files relative to your example folder.

Children
No Data
Related