tbird20d / grabserial

Grabserial - python-based serial dump and timing program - good for embedded Linux development
GNU General Public License v2.0
195 stars 77 forks source link

The --nodelta option only works with --systime #63

Closed keestux closed 2 years ago

keestux commented 2 years ago

The subject says it all. The --nodelta does only work with --systime, not with --time.

$ grabserial -d /dev/ttyACM0 -v -t --nodelta
Opening serial port /dev/ttyACM0
115200:8N1:xonxoff=0:rtscts=0
Printing timing information for each line
Use Control-C to stop...
[0.000000 0.000000] main(): This is RIOT! (Version: 2022.01-devel-1387-g9e975)
[0.006011 0.006011] Hello World!
[0.007005 0.000994] You are running RIOT on a(n) nrf52840dk board.
[0.010996 0.003990] This board features a(n) nrf52 MCU.
^Cgrabserial stopped due to keyboard interrupt
$ grabserial -d /dev/ttyACM0 -v -T --nodelta
Opening serial port /dev/ttyACM0
115200:8N1:xonxoff=0:rtscts=0
Printing absolute timing information for each line
Use Control-C to stop...
[19:23:23.609021] main(): This is RIOT! (Version: 2022.01-devel-1387-g9e975)
[19:23:23.614825] Hello World!
[19:23:23.615820] You are running RIOT on a(n) nrf52840dk board.
[19:23:23.619809] This board features a(n) nrf52 MCU.
^Cgrabserial stopped due to keyboard interrupt

Is that on purpose?

tbird20d commented 2 years ago

No.  This is not intentional.  I'll look into it.  I'm guessing it's an easy fix.

Thanks for the report!  -- Tim

On Tuesday, December 28, 2021, 11:25:14 AM MST, Kees Bakker @.***> wrote:

The subject says it all. The --nodelta does only work with --systime, not with --time. $ grabserial -d /dev/ttyACM0 -v -t --nodelta Opening serial port /dev/ttyACM0 115200:8N1:xonxoff=0:rtscts=0 Printing timing information for each line Use Control-C to stop... [0.000000 0.000000] main(): This is RIOT! (Version: 2022.01-devel-1387-g9e975) [0.006011 0.006011] Hello World! [0.007005 0.000994] You are running RIOT on a(n) nrf52840dk board. [0.010996 0.003990] This board features a(n) nrf52 MCU. ^Cgrabserial stopped due to keyboard interrupt $ grabserial -d /dev/ttyACM0 -v -T --nodelta Opening serial port /dev/ttyACM0 115200:8N1:xonxoff=0:rtscts=0 Printing absolute timing information for each line Use Control-C to stop... [19:23:23.609021] main(): This is RIOT! (Version: 2022.01-devel-1387-g9e975) [19:23:23.614825] Hello World! [19:23:23.615820] You are running RIOT on a(n) nrf52840dk board. [19:23:23.619809] This board features a(n) nrf52 MCU. ^Cgrabserial stopped due to keyboard interrupt

Is that on purpose?

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread.Message ID: @.***>

tbird20d commented 2 years ago

I've fixed this in commit e1a05a6