1) update WiFi libs for both chips(1fd2049).

2) update fix_printf script.
This commit is contained in:
ChenJianxing
2020-02-13 15:07:49 +08:00
parent d898b59b3e
commit 648e97cfaa
15 changed files with 5 additions and 24 deletions

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

@ -2,31 +2,12 @@
for dir in esp32 esp32s2beta; do for dir in esp32 esp32s2beta; do
if [ -d "$dir" ]; then if [ -d "$dir" ]; then
cd $dir cd $dir
if [ $dir == esp32 ]; then git status libphy.a | grep modified >/dev/null 2>&1
git status libphy.a | grep modified >/dev/null 2>&1 if [ $? -eq 0 ]; then
if [ $? -eq 0 ]; then echo $dir/libphy.a fixed
echo $dir/libphy.a fixed xtensa-esp32-elf-objcopy --redefine-sym ets_printf=phy_printf libphy.a
xtensa-esp32-elf-objcopy --redefine-sym ets_printf=phy_printf libphy.a
fi
elif [ $dir == esp32s2beta ]; then
git status libphyA.a | grep modified >/dev/null 2>&1
if [ $? -eq 0 ]; then
echo $dir/libphyA.a fixed
xtensa-esp32-elf-objcopy --redefine-sym ets_printf=phy_printf libphyA.a
fi
git status libphyB.a | grep modified >/dev/null 2>&1
if [ $? -eq 0 ]; then
echo $dir/libphyB.a fixed
xtensa-esp32-elf-objcopy --redefine-sym ets_printf=phy_printf libphyB.a
fi
git status libphy_marlin3.a | grep modified >/dev/null 2>&1
if [ $? -eq 0 ]; then
echo $dir/libphy_marlin3.a fixed
xtensa-esp32-elf-objcopy --redefine-sym ets_printf=phy_printf libphy_marlin3.a
fi
fi fi
git status librtc.a | grep modified >/dev/null 2>&1 git status librtc.a | grep modified >/dev/null 2>&1
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo $dir/librtc.a fixed echo $dir/librtc.a fixed