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

nrf51-ble-app-lbs

Since there is no examples folder with Keil 5.14 anymore, where do you place this repository so the links work? Trying to fix all the directory structures is very painful and is resulting in many errors during compiling. I have a folder structure (Windows 7) with Nordic\nrf51822 and I just need to know the best place to place the directories for this. Or can someone make a new repo that has all the linking setup correctly?

This no longer exists: "To compile it, clone the repository in the [SDK]/examples/ble_peripheral folder."

github.com/.../nrf51-ble-app-lbs

Parents
  • Which one would you recommend? I have tried including all the files and folders so the linking is all correct now. I am getting tons of errors still though. See below. Does anyone have a simple example that has all the files in the project instead of linking to different directories? I have a feeling it is linking to previous SDK versions on accident.

    ave tried

  • the project compiles but the linker doesn't want to play:

    ._build\ble_app_lbs.axf: Error: L6242E: Cannot link object rt_robin.o as its attributes are incompatible with the image attributes. ... packed-enum clashes with enum_is_int. ._build\ble_app_lbs.axf: Error: L6242E: Cannot link object rt_membox.o as its attributes are incompatible with the image attributes. ... packed-enum clashes with enum_is_int. ._build\ble_app_lbs.axf: Error: L6242E: Cannot link object rt_memory.o as its attributes are incompatible with the image attributes. ... packed-enum clashes with enum_is_int. ._build\ble_app_lbs.axf: Error: L6242E: Cannot link object hal_cm.o as its attributes are incompatible with the image attributes. ... packed-enum clashes with enum_is_int. Not enough information to list image symbols. Not enough information to list the image map. Finished: 123 information, 0 warning and 121 error messages. "._build\ble_app_lbs.axf" - 121 Error(s), 1 Warning(s).

Reply
  • the project compiles but the linker doesn't want to play:

    ._build\ble_app_lbs.axf: Error: L6242E: Cannot link object rt_robin.o as its attributes are incompatible with the image attributes. ... packed-enum clashes with enum_is_int. ._build\ble_app_lbs.axf: Error: L6242E: Cannot link object rt_membox.o as its attributes are incompatible with the image attributes. ... packed-enum clashes with enum_is_int. ._build\ble_app_lbs.axf: Error: L6242E: Cannot link object rt_memory.o as its attributes are incompatible with the image attributes. ... packed-enum clashes with enum_is_int. ._build\ble_app_lbs.axf: Error: L6242E: Cannot link object hal_cm.o as its attributes are incompatible with the image attributes. ... packed-enum clashes with enum_is_int. Not enough information to list image symbols. Not enough information to list the image map. Finished: 123 information, 0 warning and 121 error messages. "._build\ble_app_lbs.axf" - 121 Error(s), 1 Warning(s).

Children
No Data
Related