fix ble tx 2m problem and reg diff caused by sleep

C3: phy_version: 1150, 7c3c08f, Jan 24 2024
S3: phy_version: 640, cd64a1a, Jan 24 2024
This commit is contained in:
lixiaofan
2024-01-29 15:41:59 +08:00
parent 47707e6af4
commit dcfdccf6cc
11 changed files with 19 additions and 1 deletions
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
+19 -1
View File
@@ -35,7 +35,25 @@ for dir in esp32 esp32s2 esp32c3 esp32s3 esp32h2; do
echo $dir/libphy.a fixed
$TOOLCHAIN-objcopy --redefine-sym ets_printf=phy_printf libphy.a
fi
if [ $dir = esp32c3 ] || [ $dir = esp32s3 ] || [ $dir = esp32s2 ]; then
if [ $dir != esp32s2 ]; then
git status libbttestmode.a | grep "modified\|new file" >/dev/null 2>&1
if [ $? -eq 0 ]; then
echo $dir/libbttestmode.a fixed
$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
fi
git status librftest.a | grep "modified\|new file" >/dev/null 2>&1
if [ $? -eq 0 ]; then
echo $dir/librftest.a fixed
$TOOLCHAIN-objcopy --redefine-sym ets_printf=phy_printf librftest.a
fi
fi
cd ..
else
echo "$dir does not exist"