pmaports/device/community/wl1251-cal/calibrate-wl1251

11 lines
284 B
Text
Raw Normal View History

#!/bin/sh -e
if [ -e /in-pmbootstrap ]; then
echo "Skipping update of wl1251 calibration data (running in pmbootstrap)"
exit 0
fi
echo "Updating wl1251 calibration data.."
wl1251-cal --nvs-loading=/dev/null --nvs-push-data=/lib/firmware/ti-connectivity/wl1251-nvs.bin
echo "Done"