Skip to content

Conversation

@jeromecoutant
Copy link
Contributor

Hi

In mbed_app.json, set "DEBUG_MSG" to 1

$ mbed test -t ARMC6 -m NUCLEO_H743ZI2 -v -n tests-api-analogin
...
[1591354106.84][CONN][RXD] >>> Running case #1: 'Analog Input on AIN_0'...
[1591354106.89][CONN][INF] found KV pair in stream: {{__testcase_start;Analog Input on AIN_0}}, queued...
[1591354106.90][CONN][RXD] X=0
[1591354106.91][CONN][RXD] outputs=0x1
[1591354106.92][CONN][RXD] prevValue=%f
[1591354106.93][CONN][RXD] ain=%f
...

==> float are not printed

With correction:

$ mbed test -t ARMC6 -m NUCLEO_H743ZI2 -v -n tests-api-analogin
...
[1591354231.35][CONN][RXD] >>> Running case #1: 'Analog Input on AIN_0'...
[1591354231.41][CONN][INF] found KV pair in stream: {{__testcase_start;Analog Input on AIN_0}}, queued...
[1591354231.44][CONN][RXD] X=0 outputs=0x1 prevValue=80 ain=13308
[1591354231.49][CONN][RXD] X=1 outputs=0x3 prevValue=13338 ain=26099
[1591354231.53][CONN][RXD] X=2 outputs=0x7 prevValue=26114 ain=39359
[1591354231.57][CONN][RXD] X=3 outputs=0xf prevValue=39483 ain=52393
[1591354231.62][CONN][RXD] X=4 outputs=0x1f prevValue=52414 ain=65467
[1591354231.67][CONN][INF] found KV pair in stream: {{__testcase_finish;Analog Input on AIN_0;1;0}}, queued...
[1591354231.72][CONN][RXD] >>> 'Analog Input on AIN_0': 1 passed, 0 failed
...

@jeromecoutant
Copy link
Contributor Author

ping

@jeromecoutant
Copy link
Contributor Author

@MarceloSalazar ping

@MarceloSalazar MarceloSalazar self-requested a review September 2, 2020 07:53
Copy link

@MarceloSalazar MarceloSalazar left a comment

Choose a reason for hiding this comment

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

Looks good - thanks!

@MarceloSalazar
Copy link

@ARMmbed/mbed-os-maintainers can you please review and merge?

@0xc0170 0xc0170 merged commit b4c4a11 into ARMmbed:master Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants