mirror of
https://github.com/espressif/esp-phy-lib.git
synced 2026-11-06 15:32:51 +00:00
update libphy for track and 154 api
* S31 phy_version: 101, 7b1f880, Sep 2 2026
This commit is contained in:
+21
-4
@@ -13,7 +13,24 @@ check_lib_reversion:
|
||||
- mkdir riscv32
|
||||
- wget https://github.com/espressif/crosstool-NG/releases/download/esp-2021r2-patch3/riscv32-esp-elf-gcc8_4_0-esp-2021r2-patch3-linux-amd64.tar.gz >/dev/null 2>&1
|
||||
- tar -zxvf riscv32-esp-elf-gcc8_4_0-esp-2021r2-patch3-linux-amd64.tar.gz -C ./riscv32 >/dev/null 2>&1
|
||||
- for dir in esp32c2 esp32c3 esp32c6 esp32h2 esp32h4; do test $(riscv32/riscv32-esp-elf/bin/riscv32-esp-elf-nm $dir/*.a | grep -w printf | wc -l) -eq 0; done;
|
||||
- for dir in esp32c2 esp32c3 esp32c6 esp32h2 esp32h4; do test $(riscv32/riscv32-esp-elf/bin/riscv32-esp-elf-nm $dir/*.a | grep -w ets_printf | wc -l) -eq 0; done;
|
||||
- for dir in esp32 esp32s2 esp32s3; do test $(xtensa-esp32-elf-nm $dir/*.a | grep -w printf | wc -l) -eq 0; done;
|
||||
- for dir in esp32 esp32s2 esp32s3; do test $(xtensa-esp32-elf-nm $dir/*.a | grep -w ets_printf | wc -l) -eq 0; done;
|
||||
- |
|
||||
for dir in */; do
|
||||
dir=${dir%/}
|
||||
case "$dir" in
|
||||
esp32|esp32s2|esp32s3)
|
||||
NM="xtensa-esp32-elf-nm"
|
||||
;;
|
||||
*)
|
||||
NM="riscv32/riscv32-esp-elf/bin/riscv32-esp-elf-nm"
|
||||
;;
|
||||
esac
|
||||
for lib in "$dir"/*.a; do
|
||||
[ -f "$lib" ] || continue
|
||||
echo "Checking $lib"
|
||||
symbols=$("$NM" "$lib") || exit 1
|
||||
if printf '%s\n' "$symbols" | grep -wE 'printf|ets_printf'; then
|
||||
echo "Error: $lib contains printf or ets_printf"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,5 +1,4 @@
|
||||
#!/bin/bash
|
||||
chip_list=(esp32 esp32s2 esp32c3 esp32s3 esp32h2 esp32h4 esp32c2 esp32c6 esp32c5 esp32c61)
|
||||
|
||||
for dir in */; do
|
||||
dir=${dir%/}
|
||||
|
||||
Reference in New Issue
Block a user