Recently I started using STM32F401 as an application chip together with nRF52 for BLE connectivity. This required some parts of nRF52 SDK to be ported for STM32. However, I had some problems with software interrupts (SWI0-SWI5) used by nRF52. STM32 does not seem to have such interrupts so as a workaround I ended up reusing EXTI0-EXTI4 interrupts and triggering them with NVIC_SetPendingIRQ calls.
I have read that Cortex-M3/M4/M7 cores support up to 240 interrupts and wondered if there is any way to add custom interrupts into STM32 interrupt vector table?