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

how to add softdevice in target in keil

i am using keil version 5 and i want to make a new project and want to add softdevice in target... i don't know how to add softdevice there?

Parents
  • Hi,

    Why do you want to do that? Keil has the interesting behavior that if you create a target for programming the SoftDevice it will delete the SoftDevice .hex whenever you clean the project (Project -> Clean targets), so it can be quite annoying.

    I you still want to do it, then you can look at any of the SDK example projects that use a SoftDevice and copy the configuration from there. Essentially you have to to this:

    1. Create a new target (from "Project -> Manage -> Project Items...")
    2. Edit the "Options for Target..." for the SoftDevice target
    3. In the Output tag, select the folder for objects and name of executable in the same way as it is done for the SoftDevice target in SDK example projects.
Reply
  • Hi,

    Why do you want to do that? Keil has the interesting behavior that if you create a target for programming the SoftDevice it will delete the SoftDevice .hex whenever you clean the project (Project -> Clean targets), so it can be quite annoying.

    I you still want to do it, then you can look at any of the SDK example projects that use a SoftDevice and copy the configuration from there. Essentially you have to to this:

    1. Create a new target (from "Project -> Manage -> Project Items...")
    2. Edit the "Options for Target..." for the SoftDevice target
    3. In the Output tag, select the folder for objects and name of executable in the same way as it is done for the SoftDevice target in SDK example projects.
Children
No Data
Related