-
-
Notifications
You must be signed in to change notification settings - Fork 801
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
MBed tests do not print to serial #3342
Comments
@ivankravets Do you have some idea on how you want to proceed to solve this issue? I mean, remove the unity from the mbed framework, or just remove when it is compiling the tests? - Do you think to add an option on the |
Duplicate of #3980 |
@ivan1993br
What was the content of your .mbedignore file and the directory in which it is kept? for me the file content of .mbedignore is the .mbedignore is kept in both these directories I am unable to print the test results after running pio test. Thanks in advance |
What kind of issue is this?
If you’ve found a bug, please provide an information below.
Configuration
Operating system:
PlatformIO, version 4.1.0
Description of problem
Tests does not output to serial port as expected on mbed os.
Steps to Reproduce
Create a embedded test with mbed os using the UNITY framework provided by platformio
Actual Results
The test compile and runs on the board but does not output anything on serial port
Expected Results
The test compile and runs on the board and output the results on the serial port
If problems with PlatformIO Build System:
The content of
platformio.ini
:Source file to reproduce issue:
Additional info
I was able to fix this issue by creating a .mbedignore on the mbed folder for the unity framework (features/framework/unity).
When I include the unity.h file, the one that is included is from the mbed framework when I do not ignore it, so the modifications done by platformio to the macros variables that allow me to print to the serial port are not used.
The text was updated successfully, but these errors were encountered: