pub type DeviceGetFlashmapAddressResult = Result<u64, i32>;