zephyr.js
zephyr.js copied to clipboard
[Sensor] garbled code in magnetometer output
Description
When running FXOS8700Magnetometer.js on FRDM-K64F, there is garbled code in magnetometer output.
Test Code
Steps to Reproduction
-
make JS=samples/FXOS8700Magnetometer.js BOARD=frdm_k64f
-
cp outdir/frdm_k64f/zephyr.bin /media/<username>/MBED/
Actual Result
there is messy code outputted:
Expected Result
No garbled code.
Test Builds
Branch | Commit Id | Target Device | Test Date | Result |
---|---|---|---|---|
master | c2ca034 | FRDM-K64F | Jun 30, 2017 | Fail |
Additional Information
I don't think I can reproduce this with master, can you verify?
Verified with commit 9a272ee on FRDM-K64F.
This issue can be reproduced by minicom -D /dev/ttyACM0
, but not reproduced by screen /dev/ttyACM0 115200
.
minicom -D /dev/ttyACM0
screen /dev/ttyACM0 115200
It might be a bug of miniom that it doesn't support these special characters, I don't see how we could've introduced this bug in our side.