Skip to content
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 improvement: sysbuild + HWMv2 + misc edits #15830

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

greg-fer
Copy link
Contributor

@greg-fer greg-fer commented Jun 7, 2024

Added a note about transition to HWMv2 under Board names.
Aligned mentions of sysbuild.
Added sysbuild-specific mentions to programming and building info.
Removed unused include files for build_and_run.
Fixed documentation formatting for SUIT recovery.
Fixed a couple of outdated board_name to board_target.

@greg-fer greg-fer added DNM CI-disable Disable CI for this PR doc only labels Jun 7, 2024
@github-actions github-actions bot added the doc-required PR must not be merged without tech writer approval. label Jun 7, 2024
@greg-fer greg-fer force-pushed the doc_sysbuild_hwm2_doc_updates branch from 9b4da2a to 0c483de Compare June 10, 2024 13:19
@greg-fer greg-fer changed the title doc: sysbuild and HWMv2 misc edits doc: sysbuild + HWMv2 + misc edits Jun 10, 2024
@greg-fer greg-fer force-pushed the doc_sysbuild_hwm2_doc_updates branch from 0c483de to 1708630 Compare June 10, 2024 13:22
@greg-fer greg-fer marked this pull request as ready for review June 10, 2024 13:23
@greg-fer greg-fer force-pushed the doc_sysbuild_hwm2_doc_updates branch 2 times, most recently from 4269f5b to ac4f70f Compare June 10, 2024 14:05
@NordicBuilder
Copy link
Contributor

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.

@ahasztag ahasztag self-requested a review June 11, 2024 09:55
See also :ref:`programming` for programming steps and :ref:`testing` for general information about testing and debugging in the |NCS|.

.. note::
In the |NCS|, building with Sysbuild is :ref:`enabled by default <sysbuild_enabled_ncs>`.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note to self: fix capitalization in .txt.

@greg-fer greg-fer force-pushed the doc_sysbuild_hwm2_doc_updates branch from f34eb7f to de09e47 Compare June 11, 2024 11:05
@greg-fer greg-fer removed the DNM label Jun 11, 2024
@greg-fer greg-fer changed the title doc: sysbuild + HWMv2 + misc edits doc improvement: sysbuild + HWMv2 + misc edits Jun 11, 2024
@shanthanordic
Copy link

@greg-fer is this NCS 2.7.0 ? Milestone

@greg-fer greg-fer added this to the 2.7.0 milestone Jun 11, 2024
@greg-fer
Copy link
Contributor Author

@shanthanordic , it is! Thanks for spotting. Added.

greg-fer added a commit to greg-fer/fw-nrfconnect-nrf-1 that referenced this pull request Jun 11, 2024
Added changelog entries for recent edits to Working with guides.
Re PRs nrfconnect#15598, nrfconnect#15139, nrfconnect#15661, nrfconnect#15708, nrfconnect#15596.
Added changelog entry for edits about sysbuild. Re PR nrfconnect#15830.

Signed-off-by: Grzegorz Ferenc <[email protected]>
greg-fer added a commit to greg-fer/fw-nrfconnect-nrf-1 that referenced this pull request Jun 12, 2024
Added changelog entries for recent edits to Working with guides.
Re PRs nrfconnect#15598, nrfconnect#15139, nrfconnect#15661, nrfconnect#15708, nrfconnect#15596.
Added changelog entry for edits about sysbuild. Re PR nrfconnect#15830.

Signed-off-by: Grzegorz Ferenc <[email protected]>

To enable the firmware, use the Sysbuild configuration of :kconfig:option:`SB_CONFIG_NRF_DEFAULT_IPC_RADIO`.
To enable the firmware, use the sysbuild configuration of :kconfig:option:`SB_CONFIG_NRF_DEFAULT_IPC_RADIO`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is for nordic sample applications only, customer applications should use SB_CONFIG_NETCORE_IPC_RADIO

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines 266 to 267
In the |NCS|, building an application using the :ref:`standard building procedure <building>` automatically includes :ref:`configuration_system_overview_sysbuild` (the ``--sysbuild`` parameter).
For this reason, unlike in Zephyr, ``--sysbuild`` does not have to be explicitly mentioned in the command prompt.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should make it clear it is NCS repos, not NCS in general, if a customer builds their own manifest then it will not enable sysbuild by default in their custom included repos but will in the ncs repos inside of that manifest

In the |NCS|, this command builds the application with :ref:`sysbuild enabled by default <sysbuild_enabled_ncs>`.
It can be expanded with :ref:`optional_build_parameters`, such as :ref:`custom CMake options <cmake_options>` or the ``--no-sysbuild`` parameter that disables building with sysbuild.

After running the ``west build`` command, the build files can be found in :file:`build/zephyr` by default.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


west build -b <board_name> -- -DFILE_SUFFIX=release
west build -b *board_target* -- -DFILE_SUFFIX=release
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

non blocking but the < and > make it obvious to a user that they need to change something more than * (which I assume just makes it bold?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It makes it italic, hence more noticeable in the doc rendering. This is the formatting we've been using for all custom parameters.

greg-fer added a commit to greg-fer/fw-nrfconnect-nrf-1 that referenced this pull request Jun 12, 2024
Added changelog entries for recent edits to Working with guides.
Re PRs nrfconnect#15598, nrfconnect#15139, nrfconnect#15661, nrfconnect#15708, nrfconnect#15596.
Added changelog entry for edits about sysbuild. Re PR nrfconnect#15830.

Signed-off-by: Grzegorz Ferenc <[email protected]>
@greg-fer greg-fer force-pushed the doc_sysbuild_hwm2_doc_updates branch 3 times, most recently from 20581c6 to d0f949d Compare June 12, 2024 10:13
@anangl
Copy link
Contributor

anangl commented Jun 13, 2024

@greg-fer please resolve the conflicts.

@greg-fer greg-fer force-pushed the doc_sysbuild_hwm2_doc_updates branch from d0f949d to 22df92f Compare June 13, 2024 06:16
Added a note about transition to HWMv2 under Board names.
Aligned mentions of sysbuild.
Added sysbuild-specific mentions to programming and building info.
Removed unused include files for build_and_run.
Fixed documentation formatting for SUIT recovery.
Fixed a couple of outdated *board_name* to *board_target*.

Signed-off-by: Grzegorz Ferenc <[email protected]>
@greg-fer greg-fer force-pushed the doc_sysbuild_hwm2_doc_updates branch from 22df92f to 874e9b6 Compare June 13, 2024 06:19
@anangl anangl merged commit 007ec0a into nrfconnect:main Jun 13, 2024
13 checks passed
greg-fer added a commit to greg-fer/fw-nrfconnect-nrf-1 that referenced this pull request Jun 13, 2024
Added changelog entries for recent edits to Working with guides.
Re PRs nrfconnect#15598, nrfconnect#15139, nrfconnect#15661, nrfconnect#15708, nrfconnect#15596.
Added changelog entry for edits about sysbuild. Re PR nrfconnect#15830.

Signed-off-by: Grzegorz Ferenc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-disable Disable CI for this PR doc only doc-required PR must not be merged without tech writer approval.
Projects
None yet
Development

Successfully merging this pull request may close these issues.