-
-
Notifications
You must be signed in to change notification settings - Fork 799
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
Add timestamp to 'platformio device monitor' output #981
Comments
you could use timestamp function of http://joeyh.name/code/moreutils/, then do:
|
We use PySerial. Please forward issue to https://github.com/pyserial/pyserial |
Please upgrade to the latest version via Does it work? |
Old, but for anyone else who looks for this. I didn't need to to install the dev version, so it's been added in to the latest build. Just open a command prompt in PIO, for me, I don't have PIO path in my Path, so I had to use the fully qualified path
As this works, you can just add the following to your platformio.ini file and it'll add the time:
|
Configuration
Operating system: OSX Sierra, 10.12.5
PlatformIO Version (
platformio --version
): PlatformIO, version 3.3.0Description of problem
Would it be possible to have an option, which adds a timestamp to the output of 'platformio device monitor'? I have tried various filters which would do that to no avail.
It always end in an exception like this:
Reason: Traces from embedded devices, like ESP 8266, most the time do not have a real time reference, just an internal timer or timestamp. Especially if such a device re-boots the absolute time reference is lost and cannot be retrieved easily.
An option, which decorates the line with a preceding timestamp would be great
Example of an exception on using a filter:
just with original output instead of an exception.
./predate.sh:
The text was updated successfully, but these errors were encountered: