Support en/dis able ld wapi lib.(598dcf89d)

This commit is contained in:
alex.li
2021-01-22 10:55:53 +08:00
parent 2c6178981f
commit 55635ec178
25 changed files with 7 additions and 0 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.

BIN
esp32/libwapi.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.

BIN
esp32c3/libwapi.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.

BIN
esp32s2/libwapi.a Normal file

Binary file not shown.

View File

@ -63,6 +63,13 @@ for dir in esp32 esp32s2 esp32c3; do
$TOOLCHAIN-objcopy --redefine-sym ets_printf=coexist_printf libcoexist.a
$TOOLCHAIN-objcopy --redefine-sym printf=coexist_printf libcoexist.a
fi
git status libwapi.a | grep "modified" >/dev/null 2>&1
if [ $? -eq 0 ]; then
echo $dir/libwapi.a fixed
$TOOLCHAIN-objcopy --redefine-sym ets_printf=wapi_printf libwapi.a
$TOOLCHAIN-objcopy --redefine-sym printf=wapi_printf libwapi.a
fi
cd ..
else
echo "$dir does not exist"