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

Configuring Software Pack Libraries in Keil

I'm using the latest version of Keil with Software Packs. As I understood, copies of configurable files are stored in RTE folder. Non-configurable files are stored inside Keil folder structure and projects have only links to them.

For the bootloader example (dfu_dual_bank_ble_s110_pca10028) I want to change the DFU_APP_DATA_RESERVED. I do so by changing the parameter in dfu_types.h stored in the RTE folder. But this does not work, as the bootloader_settings_arm.c file from the software pack does not include the configurable file from the RTE folder, but the read-only, non-configurable, file from the Software Pack...

How to make the files from the Software Pack include the configurable files?

Configurable file:

image description

File used by bootloader:

image description

Parents
  • Since the pack system is what is going to be used going forward and it's really nice to have just the files that are configurable stored in revision control (files inside the RTE directory), I will post what I have used for others to see.

    Proceed at your own risk ...

    • Close Project
    • Back up your project files, especially the RTE directory
    • Replace the Pack Descriptor file for the nRF Libraries-2.0.0 (see below)
    • Remove the RTE, Objects, Listings directories
    • Open Project
    • Re-build
    • Verify that every .c file that uses dfu_types.h does not have the locked symbol (the yellow key) by the dfu_types.h file name.

    Replace the attached file in this directory Keil_v5\ARM\Pack\NordicSemiconductor\nRF_Libraries\2.0.0

    NordicSemiconductor.nRF_Libraries.pdsc

    NOTE: This will only work for the dual-bank, s110, ble.

Reply
  • Since the pack system is what is going to be used going forward and it's really nice to have just the files that are configurable stored in revision control (files inside the RTE directory), I will post what I have used for others to see.

    Proceed at your own risk ...

    • Close Project
    • Back up your project files, especially the RTE directory
    • Replace the Pack Descriptor file for the nRF Libraries-2.0.0 (see below)
    • Remove the RTE, Objects, Listings directories
    • Open Project
    • Re-build
    • Verify that every .c file that uses dfu_types.h does not have the locked symbol (the yellow key) by the dfu_types.h file name.

    Replace the attached file in this directory Keil_v5\ARM\Pack\NordicSemiconductor\nRF_Libraries\2.0.0

    NordicSemiconductor.nRF_Libraries.pdsc

    NOTE: This will only work for the dual-bank, s110, ble.

Children
Related