Skip to content

esp8266: replacement of SDK library printf functions#95

Merged
kaspar030 merged 2 commits intoRIOT-OS:masterfrom
gschorcht:esp8266_rtos_sdk_lib_printf
Feb 8, 2020
Merged

esp8266: replacement of SDK library printf functions#95
kaspar030 merged 2 commits intoRIOT-OS:masterfrom
gschorcht:esp8266_rtos_sdk_lib_printf

Conversation

@gschorcht
Copy link
Copy Markdown
Contributor

@gschorcht gschorcht commented Dec 22, 2019

Description

This PR just references another commit c0174ef of the ESP8266 toolchain repository which simply contains a number of function call replacements in SDK libraries.

Background

In order to be able to control the log output from ESP8266 SDK libraries according to the defined log level, a number of library-specific printf functions were implemented in RIOT with PR #12998 for use by the SDK. These library-specific printf functions intercept the log output of the SDK and redirect it to the RIOT log macros.

To get these SDK library-specific functions working, all printf/ets_printf calls in SDK libraries have to be replaced by the calls of the library-specific printf functions.

Dependencies

Depends on PR #12998 (PR #12998 has to be merged before this change can be merged. Otherwise, compilation errors of RIOT for ESP8266 will occur.)

In order to be able to control the log output from SDK libraries according to the defined log level, a number of library-specific printf functions were implemented in RIOT with PR 12998 for use by the SDK. These library-specific printf functions intercept the log output of the SDK and redirect it to the RIOT log macros.

To get these SDK library specific functions working, the printf/ets_printf calls in SDK libraries have to be replaced.
@gschorcht gschorcht force-pushed the esp8266_rtos_sdk_lib_printf branch from 5a21366 to a6e4b1d Compare January 12, 2020 04:30
@gschorcht
Copy link
Copy Markdown
Contributor Author

@kaspar030 Since PR RIOT-OS/RIOT#12998 was released with 2020.01, we should change now the toolchain to make it effective for ESP8266.

Copy link
Copy Markdown
Contributor

@kaspar030 kaspar030 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK. CI builds succeeded, should be sufficient.

@kaspar030 kaspar030 merged commit 3b1ab60 into RIOT-OS:master Feb 8, 2020
@gschorcht
Copy link
Copy Markdown
Contributor Author

Thanks for merging.

@gschorcht gschorcht deleted the esp8266_rtos_sdk_lib_printf branch February 10, 2020 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants