Skip to content

Commit d74f0cb

Browse files
committed
Add missing libs for PSRAM workaround
1 parent 15a9839 commit d74f0cb

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tools/prepare-libs.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,17 @@ for lib in `find . -name '*.a'`; do
9999
PIO_LIBS+=", \"-l"$(basename ${lib:5} .a)"\""
100100
done
101101
PIO_LIBS+=", \"-lstdc++\""
102+
103+
# copy libs for psram workaround
104+
for lib in `find $IDF_COMPS/newlib/lib -name '*-psram-workaround.a'`; do
105+
lsize=$($SSTAT "$lib")
106+
if (( lsize > minlsize )); then
107+
cp -f $lib $AR_SDK/lib/
108+
else
109+
echo "skipping $lib: size too small $lsize"
110+
fi
111+
done
112+
102113
cd "$AR_ROOT"
103114

104115
echo " LIBPATH=[" >> "$AR_PLATFORMIO_PY"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy