-
-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
92980b3
commit 330490f
Showing
16 changed files
with
392 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,9 @@ setlocal enabledelayedexpansion | |
rem Define file paths | ||
set "esp32_file=%userprofile%\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32\lib\libnet80211.a" | ||
set "esp32s3_file=%userprofile%\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\lib\libnet80211.a" | ||
set "esp32s3_file3=%userprofile%\.platformio\packages\[email protected]\tools\sdk\esp32s3\lib\libnet80211.a" | ||
|
||
set "esp32_file2=%userprofile%\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32\lib\libnet80211_temp.a" | ||
set "esp32s3_file2=%userprofile%\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\lib\libnet80211_temp.a" | ||
set "esp32s3_file4=%userprofile%\.platformio\packages\[email protected]\tools\sdk\esp32s3\lib\libnet80211_temp.a" | ||
|
||
rem Now execute objcopy commands (only if backups were created) | ||
"%userprofile%"\.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\bin\objcopy --weaken-symbol=ieee80211_raw_frame_sanity_check "%esp32_file%" "%esp32_file2%" | ||
|
@@ -28,14 +26,6 @@ ren "%esp32s3_file%" "libnet80211.a.old" | |
rem Rename the _temp to original | ||
ren "%esp32s3_file2%" "libnet80211.a" | ||
|
||
rem Now execute objcopy commands (only if backups were created) | ||
"%userprofile%"\.platformio\packages\toolchain-xtensa-esp32s3\xtensa-esp32s3-elf\bin\objcopy --weaken-symbol=ieee80211_raw_frame_sanity_check "%esp32s3_file3%" "%esp32s3_file4%" | ||
|
||
rem Rename the original file to .old | ||
ren "%esp32s3_file3%" "libnet80211.a.old" | ||
|
||
rem Rename the _temp to original | ||
ren "%esp32s3_file4%" "libnet80211.a" | ||
|
||
PAUSE | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,11 +6,9 @@ pio pkg install -p espressif32 -t toolchain-xtensa32 | |
|
||
esp32_file="$HOME/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/lib/libnet80211.a" | ||
esp32s3_file="$HOME/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/lib/libnet80211.a" | ||
esp32s3_file2="$HOME/.platformio/packages/[email protected]/tools/sdk/esp32s3/lib/libnet80211.a" | ||
|
||
esp32_file_temp="$HOME/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/lib/libnet80211_temp.a" | ||
esp32s3_file_temp="$HOME/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/lib/libnet80211_temp.a" | ||
esp32s3_file_temp2="$HOME/.platformio/packages/[email protected]/tools/sdk/esp32s3/lib/libnet80211_temp.a" | ||
|
||
# Definir caminhos para as ferramentas objcopy | ||
toolchain_esp32="$HOME/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/bin/objcopy" | ||
|
@@ -36,15 +34,6 @@ if [[ -f "$esp32_file" && -f "$esp32s3_file" ]]; then | |
# Rename the _temp to original | ||
mv "$esp32s3_file_temp" "$esp32s3_file" | ||
|
||
# Execute objcopy commands for ESP32-S3 | ||
$toolchain_esp32s3 --weaken-symbol=ieee80211_raw_frame_sanity_check "$esp32s3_file2" "$esp32s3_file_temp2" | ||
|
||
# Rename the original file to .old | ||
mv "$esp32s3_file2" "${esp32s3_file2}.old" | ||
|
||
# Rename the _temp to original | ||
mv "$esp32s3_file_temp2" "$esp32s3_file2" | ||
|
||
echo "Done." | ||
else | ||
echo "One or more specified files were not found." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,11 +16,13 @@ default_envs = | |
|
||
[common] | ||
build_flags = | ||
-DBRUCE_VERSION='"1.1.1"' | ||
-DBRUCE_VERSION='"1.1.2"' | ||
-DMAXFILES=256 | ||
-DEEPROMSIZE=64 | ||
-DEEPROMSIZE=128 | ||
-DLH=8 | ||
-DLW=6 | ||
-DCONFIG_FILE='"/config.conf"' | ||
|
||
lib_deps = | ||
WireGuard-ESP32 | ||
IRremoteESP8266 | ||
|
@@ -31,6 +33,7 @@ lib_deps = | |
NTPClient | ||
Timezone | ||
ESP32Time | ||
bblanchon/ArduinoJson | ||
|
||
|
||
[env:m5stack-cplus2] | ||
|
@@ -164,7 +167,6 @@ lib_deps = | |
|
||
[env:m5stack-cardputer] | ||
platform = espressif32 | ||
platform_packages[email protected] | ||
board = m5stack-stamps3 | ||
framework = arduino | ||
board_build.partitions = custom_8Mb.csv | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.