Xtensa [patch] ESP8266 support for t_freertos.pas
Original Reporter info from Mantis: ccrause @ccrause
-
Reporter name: Christo Crause
Original Reporter info from Mantis: ccrause @ccrause
- Reporter name: Christo Crause
Description:
Attached patch adds ESP8266 controller support to t_freertos.pas.
The patch follows the ESP32 logic as far as possible. A little bit more detail from the SDK is required to resolve all the linker script symbols, in particular a couple of Kconfig files needs to be passed to ldgen.py to relocate some of the library code in the linker script. If not included some symbols become unreachable during linking. Other details:
- Enclose all Xtensa specific code in ifdefs.
- Resolve IDF_PATH environment variable at start of MakeExecutable and store in a variable for reuse.
- Sdkconfig.h and config.env now gets overwritten every time because the information stored is controller specific.
- Replaced hardcoded binutlis prefix with FindUtil (credit: Alfred in #37308 (closed)).
Mantis conversion info:
- Mantis ID: 37335
- Build: 45742
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 46527 (#7157bac9)