Skip to content

xDot printf is broken on mbed OS 5.5.4 #4874

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
janjongboom opened this issue Aug 8, 2017 · 5 comments
Closed

xDot printf is broken on mbed OS 5.5.4 #4874

janjongboom opened this issue Aug 8, 2017 · 5 comments

Comments

@janjongboom
Copy link
Contributor

janjongboom commented Aug 8, 2017

#include "mbed.h"

int main() {
    Serial pc(USBTX, USBRX);
    pc.baud(115200);

    while (1) {
        pc.printf("test\n");
        wait_ms(500);
    }
}

On mbed OS 5.5.3 => normal output on serial

On mbed OS 5.5.4 => random characters on serial

@0xc0170
Copy link
Contributor

0xc0170 commented Aug 8, 2017

cc @mfiore02

@janjongboom
Copy link
Contributor Author

Mike has left MT. So /cc @reissjason

@janjongboom
Copy link
Contributor Author

janjongboom commented Aug 22, 2017

This issue still persists in mbed OS 5.5. Bisecting tells me that this is the culprit:

commit 254fb39
Author: jeromecoutant [email protected]
Date: Tue Jul 11 14:00:47 2017 +0200

STM32L1 : json clock source configuration

- default value is the same as before patch
- system_stm32l1xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c (target level)

@0xc0170
Copy link
Contributor

0xc0170 commented Aug 22, 2017

This is the fix: #4922 ?

@janjongboom
Copy link
Contributor Author

@0xc0170 OK cool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants