How to create a memory section for a custom address

nRF Connect for VS Code

tags
nRF Connect for VS Code

Complete the following steps to add a custom memory section tab:

  1. In the Memory Explorer tab bar, click the + button.
    A quick pick menu appears.
  2. Select Custom address.
  3. Enter a custom name for the memory section.
    For example, Custom_section.

    Note

    You cannot have two or more custom memory sections with the same name.

  4. Enter the start address of the memory section.
    For example, 0x20000000.

  5. Enter the size of the memory section.
    For example, 8.

A custom memory region tab is added to the Memory Explorer.

Custom memory section tab in the Memory Explorer

Tip

You can change the icon for the custom memory section tab from its context menu.