smartsystemdesign

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: PRINTF with mbed #11388
    smartsystemdesign
    Participant

    I got it working.  It was a serial port baud rate issue.  It works without removing retarget.cpp or adding Fast Semihosting and Profiler framework.

    in reply to: PRINTF with mbed #11386
    smartsystemdesign
    Participant

    Hello,

    I am having the same issue – not being able to print to the serial port via printf using mbed.  I’m using a Nucelo-L432KC board and created a simple project with the wizard using the blink LED with rtos template.

    I tried adding a reference to the Fast Semihosting and Profiler framework and removing mbed_retarget.cpp from the project located in C:\Users\Username\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.mbed\platform.  Removing this file caused many errors preventing me from compiling.  If I leave the file in, I still get a couple errors (shown below).  Was this the wrong file?  I searched the project for retarget.cpp, and couldn’t find anything else.

    ErrorsAddingFastSemihosting

    Thanks,

    Nate

Viewing 2 posts - 1 through 2 (of 2 total)