XIAO BLE Sense persistent data

Make sure you have the correct board selected for upload… I ran into this problem too.