1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00
Ivan Grokhotkov c885542f05 sdk: update to v2.2.0-3-gf8f27ce
- Fixes WiFi not being able to reconnect after SDK update (#4398)
- Fixes increased current in light sleep mode
- Fixes return value documentation for wifi_{get,set}_country
2018-02-22 14:11:43 +03:00
..
2016-03-29 17:48:37 +03:00
2018-02-19 12:43:01 +03:00
2017-10-08 05:00:08 +08:00
2016-06-23 17:27:57 +08:00
2017-10-15 01:40:10 -05:00
2017-10-15 01:40:10 -05:00
2018-02-19 12:43:01 +03:00
2017-02-03 04:21:20 +03:00
2015-05-18 16:04:30 +03:00
2017-10-15 01:40:10 -05:00
2017-10-15 14:59:37 +08:00
2018-02-19 12:43:01 +03:00
2018-02-22 14:11:43 +03:00
2018-02-19 12:43:01 +03:00
2017-10-15 01:40:10 -05:00
2018-02-22 14:11:43 +03:00
2015-07-04 09:45:05 +02:00
2018-02-19 12:43:01 +03:00
2017-10-15 01:40:10 -05:00
2018-02-19 12:43:01 +03:00
2018-02-19 12:43:01 +03:00
2018-02-19 12:43:01 +03:00
2018-02-19 12:43:01 +03:00

Updating SDK libraries

After updating SDK libraries to a new version, do the following changes.

Remove mem_manager.o from libmain.a to use custom heap implementation, and time.o to fix redefinition of time-related functions:

xtensa-lx106-elf-ar -d libmain.a mem_manager.o
xtensa-lx106-elf-ar -d libmain.a time.o

Rename hostname and default_hostname symbols:

xtensa-lx106-elf-ar x libmain.a eagle_lwip_if.o user_interface.o
xtensa-lx106-elf-objcopy --redefine-sym hostname=wifi_station_hostname user_interface.o 
xtensa-lx106-elf-objcopy --redefine-sym hostname=wifi_station_hostname eagle_lwip_if.o 
xtensa-lx106-elf-objcopy --redefine-sym default_hostname=wifi_station_default_hostname user_interface.o 
xtensa-lx106-elf-objcopy --redefine-sym default_hostname=wifi_station_default_hostname eagle_lwip_if.o 
xtensa-lx106-elf-ar r libmain.a eagle_lwip_if.o user_interface.o 

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