]> begriffs open source - freertos/commit
Interrupt priority assert improvements for CM3/4/7 (#602)
authorChris Copeland <chris@chrisnc.net>
Thu, 2 Mar 2023 17:49:56 +0000 (09:49 -0800)
committerGitHub <noreply@github.com>
Thu, 2 Mar 2023 17:49:56 +0000 (23:19 +0530)
commita9e1f668497b9832edd4f1a85a1d37f4e8409cf9
tree88cfbf1a76affdbeaf7d33c5385c02b613650dfd
parentc3e1df031e3f988780afb2a743fde93c12135005
Interrupt priority assert improvements for CM3/4/7 (#602)

* Interrupt priority assert improvements for CM3/4/7

In the ARM_CM3, ARM_CM4, and ARM_CM7 ports, change the assertion that
`configMAX_SYSCALL_INTERRUPT_PRIORITY` is nonzero to account for the
number of priority bits implemented by the hardware.

Change these ports to also use the lowest priority for PendSV and
SysTick, ignoring `configKERNEL_INTERRUPT_PRIORITY`.

* Remove not needed configKERNEL_INTERRUPT_PRIORITY define

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
18 files changed:
portable/CCS/ARM_CM3/port.c
portable/CCS/ARM_CM4F/port.c
portable/GCC/ARM_CM3/port.c
portable/GCC/ARM_CM3_MPU/port.c
portable/GCC/ARM_CM4F/port.c
portable/GCC/ARM_CM4_MPU/port.c
portable/GCC/ARM_CM7/r0p1/port.c
portable/IAR/ARM_CM0/port.c
portable/IAR/ARM_CM3/port.c
portable/IAR/ARM_CM4F/port.c
portable/IAR/ARM_CM4F_MPU/port.c
portable/IAR/ARM_CM7/r0p1/port.c
portable/MikroC/ARM_CM4F/port.c
portable/RVDS/ARM_CM3/port.c
portable/RVDS/ARM_CM4F/port.c
portable/RVDS/ARM_CM4_MPU/port.c
portable/RVDS/ARM_CM7/r0p1/port.c
portable/Tasking/ARM_CM4F/port.c