check phy cal value in NVS after deep sleep

* ESP32 phy_version 4830,54550f7,Jun 20 2024
* C3 phy_version: 1180, 01f2a49, Jun  4 2024
* C6 phy_version: 310, dde1ba9, Jun  4 2024
* C2 phy_version: 1, 340, e255ce0, Jun  4 2024
* S3 phy_version: 680, a6008b2, Jun  4 2024
* S2 phy_version: 2600, 6a8ccb9, Jun  4 2024
This commit is contained in:
cff
2024-06-01 20:09:51 +08:00
committed by chenjianxing
parent c5d2548ae6
commit 06e7625de1
22 changed files with 7 additions and 5 deletions

BIN
esp32/libbttestmode.a Normal file

Binary file not shown.

Binary file not shown.

BIN
esp32/librftest.a Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -45,7 +45,7 @@ for dir in esp32 esp32s2 esp32c3 esp32s3 esp32h2 esp32h4 esp32c2 esp32c6 esp32c5
echo $dir/libphy.a fixed
$TOOLCHAIN-objcopy --redefine-sym ets_printf=phy_printf libphy.a
fi
if [ $dir = esp32c3 ] || [ $dir = esp32s3 ] || [ $dir = esp32c2 ] || [ $dir = esp32c6 ] || [ $dir = esp32c5 ] || [ $dir = esp32s2 ] || [ $dir = esp32h2 ]; then
if [ $dir = esp32c3 ] || [ $dir = esp32s3 ] || [ $dir = esp32c2 ] || [ $dir = esp32c6 ] || [ $dir = esp32c5 ] || [ $dir = esp32s2 ] || [ $dir = esp32h2 ] || [ $dir = esp32 ]; then
if [ $dir != esp32s2 ]; then
git status libbttestmode.a | grep "modified\|new file" >/dev/null 2>&1
if [ $? -eq 0 ]; then
@@ -53,10 +53,12 @@ for dir in esp32 esp32s2 esp32c3 esp32s3 esp32h2 esp32h4 esp32c2 esp32c6 esp32c5
$TOOLCHAIN-objcopy --redefine-sym ets_printf=phy_printf libbttestmode.a
fi
fi
git status librfate.a | grep "modified\|new file" >/dev/null 2>&1
if [ $? -eq 0 ]; then
echo $dir/librfate.a fixed
$TOOLCHAIN-objcopy --redefine-sym ets_printf=phy_printf librfate.a
if [ $dir != esp32 ]; then
git status librfate.a | grep "modified\|new file" >/dev/null 2>&1
if [ $? -eq 0 ]; then
echo $dir/librfate.a fixed
$TOOLCHAIN-objcopy --redefine-sym ets_printf=phy_printf librfate.a
fi
fi
git status librftest.a | grep "modified\|new file" >/dev/null 2>&1
if [ $? -eq 0 ]; then