hartmannathan opened a new issue, #15100: URL: https://github.com/apache/nuttx/issues/15100
### Description / Steps to reproduce the issue PR-15073 removed `config ARMV7M_USEBASEPRI` and many things that depend on it. This breaks High Priority, Zero Latency Interrupts! See: https://nuttx.apache.org/docs/latest/guides/zerolatencyinterrupts.html Also the help text of `config ARMV7M_USEBASEPRI` explains that "If `CONFIG_ARCH_HIPRI_INTERRUPT` is selected, then you MUST select `CONFIG_ARMV7M_USEBASEPRI`" -- see below: ``` config ARMV7M_USEBASEPRI bool "Use BASEPRI Register" default ARCH_HIPRI_INTERRUPT depends on ARCH_CORTEXM3 || ARCH_CORTEXM4 || ARCH_CORTEXM7 ---help--- Use the BASEPRI register to enable and disable interrupts. By default, the PRIMASK register is used for this purpose. This usually results in hardfaults when supervisor calls are made. Though, these hardfaults are properly handled by the RTOS, the hardfaults can confuse some debuggers. With the BASEPRI register, these hardfaults, will be avoided. For more details see https://cwiki.apache.org/confluence/display/NUTTX/ARMv7-M+Hardfaults%2C+SVCALL%2C+and+Debuggers WARNING: If CONFIG_ARCH_HIPRI_INTERRUPT is selected, then you MUST select CONFIG_ARMV7M_USEBASEPRI. The Kconfig dependencies here will permit to select an invalid configuration because it cannot enforce that requirement. If you create this invalid configuration, you will encounter some problems that may be very difficult to debug. ``` IMPORTANT: Without the High Priority Zero Latency Interrupt feature, NuttX is completely useless to me and my company. We depend strongly on this feature to handle critical tasks that cannot be done without this feature! ### On which OS does this issue occur? [OS: Linux] ### What is the version of your OS? All ### NuttX Version master ### Issue Architecture [Arch: arm] ### Issue Area [Area: Other] ### Verification - [X] I have verified before submitting the report. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org