Skip to content

Conversation

erwango
Copy link
Member

@erwango erwango commented Sep 19, 2025

Review RAMLOAD section to hopefully avoid possible confusions.

Comment on lines 254 to 255
- Add CONFIG_XIP=n to the project configuration.
- Add ``-- -DSB_CONFIG_MCUBOOT_MODE_RAM_LOAD=y``to the build command.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- Add CONFIG_XIP=n to the project configuration.
- Add ``-- -DSB_CONFIG_MCUBOOT_MODE_RAM_LOAD=y``to the build command.
* Add ``CONFIG_XIP=n`` to the project configuration.
* Add ``-- -DSB_CONFIG_MCUBOOT_MODE_RAM_LOAD=y``to the build command.

Would that fix the CI doc build failure?

Maybe:

         .. zephyr-app-commands::
            :zephyr-app: samples/hello_world
            :board: stm32n6570_dk
            :west-args: --sysbuild -- -DCONFIG_XIP=n -DSB_CONFIG_MCUBOOT_MODE_RAM_LOAD=y
            :goals: build flash

Copy link
Member Author

Choose a reason for hiding this comment

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

That's worth having a try

By default, application runs in XIP mode. Add ``-DSB_CONFIG_MCUBOOT_MODE_RAM_LOAD=y``
to use RAMLOAD mode.
.. note::
By default, application runs in XIP mode, to use RAMLOAD mode:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
By default, application runs in XIP mode, to use RAMLOAD mode:
By default, applications runs in XIP mode. To use RAMLOAD mode:

Copy link
Contributor

Choose a reason for hiding this comment

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

+ with Etienne's suggestion, could be:

Suggested change
By default, application runs in XIP mode, to use RAMLOAD mode:
By default, application runs in XIP mode. To use RAMLOAD mode, build using the following command instead:
.. zephyr-app-commands:: <etc>

Copy link
Member Author

Choose a reason for hiding this comment

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

Done, but I kept application in the singular form.

Review RAMLOAD section to hopefully avoid possible confusions.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
Copy link

Please retry analysis of this Pull-Request directly on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: STM32 ST Micro STM32
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants