bug fix for XADOW_M0 and ARCH_BLE
Merge pull request #373 from xiongyihui/master

bug fix for XADOW_M0 and ARCH_BLE