How to create a memory section for an ELF symbol

nRF Connect for VS Code

tags
nRF Connect for VS Code

Complete the following steps to add an ELF symbol memory section tab:

  1. In the Memory Explorer tab bar, click the + button.
    A quick pick menu appears.
  2. Select ELF symbol.
  3. Select the memory symbol name from the list.
    For example, _char_out.

    Filtering for _char_out in the ELF symbol quick pick

The ELF symbol memory region tab is added to the Memory Explorer.

_char_out memory section tab in the Memory Explorer

The location and size of the memory symbol is determined at the start of each debug session, so if the symbol is moved or resized during compilation, the Memory Explorer will show the updated values.