mirror of
https://github.com/esp8266/Arduino.git
synced 2025-05-11 04:01:30 +03:00
* Upgrade to 2.5.0-4 toolchain w/improved pgm_read_x Rebuild the entire toolchain (including standard libraries) with the latest pgm_read_xxx headers included (which fix unaligned dword reads from progmem and run faster/smaller, and a pgm_read_byte change which removes an instruction on each read saving flash). Pull in latest bearssl while we're at it, too, which speeds up EC handshakes and reduced ROM usage, too. * Fix C++ exceptions Exception code now only does 32b aligned reads from progmem to access the eh_table (some via -mforce-l32, some via hand-inserted pgm_read_x macros). Fixes #6151 Fixes #6305 Fixes #6198
Updating SDK libraries
- Copy .a files from SDK
lib
directory 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