bug fix for XADOW_M0 and ARCH_BLE