-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: bootloader_partitioning: add info about VSC #18045
doc: bootloader_partitioning: add info about VSC #18045
Conversation
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:more detailsGithub labels
List of changed files detected by CI (0)
Outputs:ToolchainVersion: Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds. Note: This comment is automatically posted by the Documentation Publishing GitHub Action. |
.. group-tab:: nRF Connect for VS Code | ||
|
||
Use the extension's `Memory report`_ feature, which shows the size and percentage of memory that each symbol uses on your device for RAM, ROM, and partitions. | ||
Click the :guilabel:`Memory report` button in the :guilabel:`Actions View` to generate the report. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we want to be even more specific, we can instruct users to then choose the "partitioning" tab.
Use the Partition Manager's :ref:`pm_partition_reports` feature. | ||
Run the following command: | ||
|
||
.. code-block: console |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
****************** | ||
|
||
After you enable the Partition Manager, it will :ref:`start generating <pm_build_system>` the :file:`partitions.yml` file in the build folder directory. | ||
In this file, you will detailed information about the memory layout used for the build. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this file, you will detailed information about the memory layout used for the build. | |
In this file, you will see detailed information about the memory layout used for the build. |
Click the :guilabel:`Memory report` button in the :guilabel:`Actions View` to generate the report. | ||
|
||
Alternatively, you can also use the `Memory Explorer <How to work with the Memory Explorer_>`_ feature of the extension's nRF Debug to check memory sections for the partitions. | ||
This feature requires `enabling debugging in the build configuration <How to debug>`_ and providing the partition addresses manually. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The link's not working
This feature requires `enabling debugging in the build configuration <How to debug>`_ and providing the partition addresses manually. | |
This feature requires `enabling debugging in the build configuration <How to debug_>`_ and providing the partition addresses manually. |
Edited the structure of bootloader_partitioning page to mention memory reports of the VSC extension alongside partition_manager_report. Fixed some formatting and structure issues and typos. VSC-2712. Signed-off-by: Grzegorz Ferenc <[email protected]>
c3a9d9e
to
aa33cad
Compare
@FilipZajdel and @hellesvik-nordic discovered inconsistencies in the extension behavior that will be fixed for the next release. This PR will be merged once those fixes are live. |
Fixes merged by @AliceMadama . Awaiting the release of the extension to ask for merge for this PR. |
@nrfconnect/ncs-aurora-doc Ping, please review |
Edited the structure of bootloader_partitioning page to mention memory reports of the VSC extension alongside partition_manager_report. Fixed some formatting and structure issues and typos. VSC-2712.