mirror of
https://github.com/esp8266/Arduino.git
synced 2025-10-24 07:13:45 +03:00
Adding a new SDK library
- Create a directory for the new SDK.
- Copy .a files from SDK
libdirectory to the new directory - Add the new SDK directory to those supported in
eval_fix_sdks.shandfix_sdk_libs.sh. - To support WPA2 Enterprise connections, some patches are reguired review
wpa2_eap_patch.cppandeval_fix_sdks.shfor details. - Use
./eval_fix_sdks.sh --analyzeto aid in finding relevant differences.- Also, you can compare two SDKs with something like
./eval_fix_sdks.sh --analyze "NONOSDK305\nNONOSDK306"
- Also, you can compare two SDKs with something like
- Apply updates to
fix_sdk_libs.shandwpa2_eap_patch.cpp. You can run./eval_fix_sdks.sh --patchto do a batch run offix_sdk_libs.shagainst each SDK. - If you used this section, you can skip Updating SDK libraries.
Updating SDK libraries
- Copy .a files from SDK
libdirectory to this directory - Run
fix_sdk_libs.sh
Updating libstdc++
After building gcc using crosstool-NG, get compiled libstdc++ and remove some objects:
xtensa-lx106-elf-ar d libstdc++.a pure.o
xtensa-lx106-elf-ar d libstdc++.a vterminate.o
xtensa-lx106-elf-ar d libstdc++.a guard.o
xtensa-lx106-elf-ar d libstdc++.a functexcept.o
xtensa-lx106-elf-ar d libstdc++.a del_op.o
xtensa-lx106-elf-ar d libstdc++.a del_opv.o
xtensa-lx106-elf-ar d libstdc++.a new_op.o
xtensa-lx106-elf-ar d libstdc++.a new_opv.o