I see for the PIC we define os_enable_interrupts() and os_disable_interrupts() the following way setting and disabling global interrupts.
#define os_enable_interrupts() GIE=1
#define os_disable_interrupts() GIE=0
Do you know how to or if we have to using a STM32? I configure a small project using the CubeMX tool and without doing anything with the interrupts appears to be working ok?
#define os_enable_interrupts() ?
#define os_disable_interrupts() ?
Thanks,
Derek