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

Adding and enabling nRF driver to a project in SEGGER through CMSIS configuration wizard

Hi DevZone,

I am new to nRF SoC and SEGGER. After installing all tools, I can build and run examples.

I run into a problem to add and enable a nRF driver, like "UARTE peripheral driver", what are the procedure and step to do that?

I try to use the CMSIS configuration wizard to do that, but I found the followings in different examples as:

where I can enable the device I want to use, but on some example I found:

I even can not see "NRFX_UARTE_ENABLED - nrfx_uarte - UARTE peripheral driver" overthere.

So anybody can help me on two questions:

1. how to add and enable a nRF driver to a project under SEGGER?

2. how to add those missing modules, nRF driver on CMSIS configuration wizard? 

Thanks,

HRB

Parents Reply
  • Hi Martin,

    The tutorial to "CMSIS Configuration Wizard" worked to a certain extent.

    Prior to inserting the additional line of code below, the option to open CMSIS Config Wizard was not even available. However after inserting the code, I could see the option and click on it.

    <item name="Tool.CMSIS_Config_Wizard" wait="no">
        <menu>&CMSIS Configuration Wizard</menu>
        <text>CMSIS Configuration Wizard</text>
        <tip>Open a configuration file in CMSIS Configuration Wizard</tip>
        <key>Ctrl+Y</key>
        <match>*config*.h</match>
        <message>CMSIS Config</message>
        <commands>
          java -jar "$(CMSIS_CONFIG_TOOL)" "$(InputPath)"
        </commands>
    </item>

    Here's the problem. Upon clicking the option, no wizard/window pops out for me to enable RTT & Logging.
    I am following this tutorial here:

    https://youtu.be/uP8RYgYGRvI?t=168

    Thank you for your help and support in advanced!!

    Kin Sern

Children
Related