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

Documentation: Remove CONFIG_ARMV7M_USEBASEPRI from code base #15102

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 1 addition & 16 deletions Documentation/guides/renode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,9 @@ framework dedicated for complex embedded systems.

This page contains notes on running some of NuttX boards on Renode.

ARM-v7m
=======

Renode doesn't correctly handle ``SVC`` instruction escalation to HardFault
when ``PRIMASK=1`` which crashs NuttX in the first ``up_exit()`` call.
We can work around this problem by enabling BASEPRI::

CONFIG_ARMV7M_USEBASEPRI=y

stm32f4discovery
================

``CONFIG_ARMV7M_USEBASEPRI=y`` must be set.

Renode doesn't support CCM memory, so we have to disable it
with ``CONFIG_MM_REGIONS=1``.

Expand Down Expand Up @@ -55,8 +44,6 @@ Doesn't work. No BASEPRI implementation for ``Cotex-M0`` in NuttX.
nrf52840-dk
===========

``CONFIG_ARMV7M_USEBASEPRI=y`` must be set.

At default Renode uses UART with EasyDMA enabled (UARTE) which is not supported
by Nuttx yet. We can get around this by creating our own machine description
based on Renode default implementation::
Expand Down Expand Up @@ -101,7 +88,7 @@ Known issues:
stm32f746g-disco
================

``CONFIG_ARMV7M_USEBASEPRI=y`` and ``CONFIG_ARMV7M_BASEPRI_WAR=y`` must be set.
``CONFIG_ARMV7M_BASEPRI_WAR=y`` must be set.

Renode script::

Expand Down Expand Up @@ -131,8 +118,6 @@ Known issues:
nucleo-h743zi
=============

``CONFIG_ARMV7M_USEBASEPRI=y`` must be set.

Renode doesn't support ``PWR_CSR1_ACTVOSRDY`` bit so we have to disable
it with ``CONFIG_STM32H7_PWR_IGNORE_ACTVOSRDY=y``.

Expand Down
2 changes: 0 additions & 2 deletions Documentation/guides/zerolatencyinterrupts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,6 @@ Configuration Options

``CONFIG_ARCH_HIPRI_INTERRUPT``

If ``CONFIG_ARMV7M_USEBASEPRI`` is selected, then interrupts will be
disabled by setting the *BASEPRI* register to
``NVIC_SYSH_DISABLE_PRIORITY`` so that most interrupts will not have
execution priority. *SVCall* must have execution priority in all
cases.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ Debugging
If you are going to use a debugger, you should make sure that the following
settings are selection in your configuration file::

CONFIG_DEBUG_SYMBOLS=y : Enable debug symbols in the build
CONFIG_ARMV7M_USEBASEPRI=y : Use the BASEPRI register to disable interrupts
CONFIG_DEBUG_SYMBOLS=y : Enable debug symbols in the build

STM32 ST-LINK Utility
---------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,7 @@ Debugging
If you are going to use a debugger, you should make sure that the following
settings are selection in your configuration file::

CONFIG_DEBUG_SYMBOLS=y : Enable debug symbols in the build
CONFIG_ARMV7M_USEBASEPRI=y : Use the BASEPRI register to disable interrupts
CONFIG_DEBUG_SYMBOLS=y : Enable debug symbols in the build

STM32 ST-LINK Utility
---------------------
Expand Down
Loading