2017-03-08 07:17 AM
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?
2017-03-08 08:57 AM
Depends on the silicon implementation, they likely don't have a lot of bits/register implementing unused functionality (optimized out). Surely it wouldn't be that hard just to try it yourself? Or check the NVIC registers implemented.