Post Go back to editing

OSAL_DEBUG prevents installing Irq Handlers

Category: Software
Product Number: ADSP-BF706
Software Version: CCES

I want to install an irq handler (adi_int_InstallHandler). This fails if called from an ISR. adi_int_InstallHandler calls adi_osal_InstallHandler which checks whether it was called from an ISR if DEBUG is set (setting OSAL_DEBUG).

Why should that be prohibited? There is no OS or alike. I deliberatly _do_ want to set and configure interrupts from ISRs. My code is fully interrupt driven, so everything is executed from inside some ISR.

Thread Notes