Created by: leandro-arm
This PR is meant to replace pull/492. This includes IRQn_Type fix for all platforms