diff --git a/esp32c3/libbtbb.a b/esp32c3/libbtbb.a index b97be70..2cac839 100644 Binary files a/esp32c3/libbtbb.a and b/esp32c3/libbtbb.a differ diff --git a/esp32c3/libbttestmode.a b/esp32c3/libbttestmode.a new file mode 100644 index 0000000..b9e7684 Binary files /dev/null and b/esp32c3/libbttestmode.a differ diff --git a/esp32c3/libphy.a b/esp32c3/libphy.a index f35f230..d5be1b5 100644 Binary files a/esp32c3/libphy.a and b/esp32c3/libphy.a differ diff --git a/esp32c3/librfate.a b/esp32c3/librfate.a new file mode 100644 index 0000000..e3a55a1 Binary files /dev/null and b/esp32c3/librfate.a differ diff --git a/esp32c3/librftest.a b/esp32c3/librftest.a new file mode 100644 index 0000000..732d10b Binary files /dev/null and b/esp32c3/librftest.a differ diff --git a/esp32s3/libbtbb.a b/esp32s3/libbtbb.a index b02b487..80da899 100644 Binary files a/esp32s3/libbtbb.a and b/esp32s3/libbtbb.a differ diff --git a/esp32s3/libbttestmode.a b/esp32s3/libbttestmode.a new file mode 100644 index 0000000..ddc1ba3 Binary files /dev/null and b/esp32s3/libbttestmode.a differ diff --git a/esp32s3/libphy.a b/esp32s3/libphy.a index bcc26bf..7335212 100644 Binary files a/esp32s3/libphy.a and b/esp32s3/libphy.a differ diff --git a/esp32s3/librfate.a b/esp32s3/librfate.a new file mode 100644 index 0000000..05dc4b6 Binary files /dev/null and b/esp32s3/librfate.a differ diff --git a/esp32s3/librftest.a b/esp32s3/librftest.a new file mode 100644 index 0000000..fbc71ab Binary files /dev/null and b/esp32s3/librftest.a differ diff --git a/fix_printf.sh b/fix_printf.sh index dd319b3..fa2acd2 100755 --- a/fix_printf.sh +++ b/fix_printf.sh @@ -47,7 +47,24 @@ for dir in esp32 esp32s2 esp32c3 esp32s3 esp32h2 esp32c2 esp32c6; do $TOOLCHAIN-objcopy --redefine-sym ets_printf=phy_printf libphy.a fi fi - + if [ $dir = esp32c3 ] || [ $dir = esp32s3 ]; 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 + 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"