[Code] Crashes are fixed. Bootloader updated to use switch.
The problem was waiting for events in the BDU thread would prevent the IWDG thread to work and trigger a reset.
Moved IWDG refreshing to an IRQ handler.
[Code] Adding missing file.