Documentation: Remove CONFIG_ARMV7M_USEBASEPRI from code base

since the basepri is always used without any configuraion

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2024-12-10 09:57:29 +08:00 committed by hartmannathan
parent 10a1d17a85
commit 366c8a5d94
4 changed files with 3 additions and 22 deletions

View file

@ -7,20 +7,9 @@ framework dedicated for complex embedded systems.
This page contains notes on running some of NuttX boards on Renode. 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 stm32f4discovery
================ ================
``CONFIG_ARMV7M_USEBASEPRI=y`` must be set.
Renode doesn't support CCM memory, so we have to disable it Renode doesn't support CCM memory, so we have to disable it
with ``CONFIG_MM_REGIONS=1``. with ``CONFIG_MM_REGIONS=1``.
@ -55,8 +44,6 @@ Doesn't work. No BASEPRI implementation for ``Cotex-M0`` in NuttX.
nrf52840-dk nrf52840-dk
=========== ===========
``CONFIG_ARMV7M_USEBASEPRI=y`` must be set.
At default Renode uses UART with EasyDMA enabled (UARTE) which is not supported 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 by Nuttx yet. We can get around this by creating our own machine description
based on Renode default implementation:: based on Renode default implementation::
@ -101,7 +88,7 @@ Known issues:
stm32f746g-disco 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:: Renode script::
@ -131,8 +118,6 @@ Known issues:
nucleo-h743zi nucleo-h743zi
============= =============
``CONFIG_ARMV7M_USEBASEPRI=y`` must be set.
Renode doesn't support ``PWR_CSR1_ACTVOSRDY`` bit so we have to disable Renode doesn't support ``PWR_CSR1_ACTVOSRDY`` bit so we have to disable
it with ``CONFIG_STM32H7_PWR_IGNORE_ACTVOSRDY=y``. it with ``CONFIG_STM32H7_PWR_IGNORE_ACTVOSRDY=y``.

View file

@ -216,8 +216,6 @@ Configuration Options
``CONFIG_ARCH_HIPRI_INTERRUPT`` ``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 ``NVIC_SYSH_DISABLE_PRIORITY`` so that most interrupts will not have
execution priority. *SVCall* must have execution priority in all execution priority. *SVCall* must have execution priority in all
cases. cases.

View file

@ -109,8 +109,7 @@ Debugging
If you are going to use a debugger, you should make sure that the following If you are going to use a debugger, you should make sure that the following
settings are selection in your configuration file:: settings are selection in your configuration file::
CONFIG_DEBUG_SYMBOLS=y : Enable debug symbols in the build CONFIG_DEBUG_SYMBOLS=y : Enable debug symbols in the build
CONFIG_ARMV7M_USEBASEPRI=y : Use the BASEPRI register to disable interrupts
STM32 ST-LINK Utility STM32 ST-LINK Utility
--------------------- ---------------------

View file

@ -225,8 +225,7 @@ Debugging
If you are going to use a debugger, you should make sure that the following If you are going to use a debugger, you should make sure that the following
settings are selection in your configuration file:: settings are selection in your configuration file::
CONFIG_DEBUG_SYMBOLS=y : Enable debug symbols in the build CONFIG_DEBUG_SYMBOLS=y : Enable debug symbols in the build
CONFIG_ARMV7M_USEBASEPRI=y : Use the BASEPRI register to disable interrupts
STM32 ST-LINK Utility STM32 ST-LINK Utility
--------------------- ---------------------