feat(phy): add phy support for esp32c61

* ESP32C61 phy_version 260,501e74b,Aug 26 2024
This commit is contained in:
xuxiao
2024-08-27 10:47:23 +08:00
parent 24ea5ada50
commit 772432d2e9
6 changed files with 2 additions and 2 deletions

BIN
esp32c61/libbtbb.a Normal file

Binary file not shown.

BIN
esp32c61/libbttestmode.a Normal file

Binary file not shown.

BIN
esp32c61/libphy.a Normal file

Binary file not shown.

BIN
esp32c61/librfate.a Normal file

Binary file not shown.

BIN
esp32c61/librftest.a Normal file

Binary file not shown.

View File

@@ -1,5 +1,5 @@
#!/bin/bash
for dir in esp32 esp32s2 esp32c3 esp32s3 esp32h2 esp32h4 esp32c2 esp32c6 esp32c5; do
for dir in esp32 esp32s2 esp32c3 esp32s3 esp32h2 esp32h4 esp32c2 esp32c6 esp32c5 esp32c61; do
if [ $dir = esp32 ]; then
TOOLCHAIN="xtensa-esp32-elf"
elif [ $dir = esp32s2 ]; then
@@ -45,7 +45,7 @@ for dir in esp32 esp32s2 esp32c3 esp32s3 esp32h2 esp32h4 esp32c2 esp32c6 esp32c5
echo $dir/libphy.a fixed
$TOOLCHAIN-objcopy --redefine-sym ets_printf=phy_printf libphy.a
fi
if [ $dir = esp32c3 ] || [ $dir = esp32s3 ] || [ $dir = esp32c2 ] || [ $dir = esp32c6 ] || [ $dir = esp32c5 ] || [ $dir = esp32s2 ] || [ $dir = esp32h2 ] || [ $dir = esp32 ]; then
if [ $dir = esp32c3 ] || [ $dir = esp32s3 ] || [ $dir = esp32c2 ] || [ $dir = esp32c6 ] || [ $dir = esp32c5 ] || [ $dir = esp32c61 ] || [ $dir = esp32s2 ] || [ $dir = esp32h2 ] || [ $dir = esp32 ]; then
if [ $dir != esp32s2 ]; then
git status libbttestmode.a | grep "modified\|new file" >/dev/null 2>&1
if [ $? -eq 0 ]; then