btbb: fix btbb version print using phy_printf

This commit is contained in:
zhangwenxu
2023-06-21 14:25:38 +08:00
parent dd8e87f58d
commit 30e464c44c
6 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ for dir in esp32 esp32s2 esp32c3 esp32s3 esp32h2 esp32h4 esp32c2 esp32c6; do
git status libbtbb.a | grep "modified\|new file" >/dev/null 2>&1
if [ $? -eq 0 ]; then
echo $dir/libbtbb.a fixed
$TOOLCHAIN-objcopy --redefine-sym ets_printf=rtc_printf libbtbb.a
$TOOLCHAIN-objcopy --redefine-sym ets_printf=phy_printf libbtbb.a
fi
git status libphy.a | grep "modified\|new file" >/dev/null 2>&1
if [ $? -eq 0 ]; then
@@ -37,7 +37,7 @@ for dir in esp32 esp32s2 esp32c3 esp32s3 esp32h2 esp32h4 esp32c2 esp32c6; do
git status libbtbb.a | grep "modified\|new file" >/dev/null 2>&1
if [ $? -eq 0 ]; then
echo $dir/libbtbb.a fixed
$TOOLCHAIN-objcopy --redefine-sym ets_printf=rtc_printf libbtbb.a
$TOOLCHAIN-objcopy --redefine-sym ets_printf=phy_printf libbtbb.a
fi
fi
git status libphy.a | grep "modified\|new file" >/dev/null 2>&1