Skip to content
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

Silence unnecessary messages (Fixes #240) #886

Merged

Conversation

rewolff
Copy link
Contributor

@rewolff rewolff commented Mar 21, 2020

As requested. The startup of st-util is now:

assurancetourix:~> ~/stm32/stlink.git2/build/Release/src/gdbserver/st-util -m
st-util 1.6.0-33-gb8813fa-dirty
2020-03-21T16:07:15 INFO common.c: F0xx small: 4 KiB SRAM, 16 KiB flash in 1 KiB pages.
2020-03-21T16:07:15 INFO gdb-server.c: Listening at *:4242...

The user may want the "listening at" message and the "what's connected" message has been reduced from two lines to just one. It now contains just the info that normal users may want to know.: stuff that helps determine if say the right target is connected.

I removed all the "device" parts of the strings in the description of the chipID table.
Some of the "description" entries in the table had a check for say a CHIPID_F412 and then proceded to call the device an F4xx. Lets just call it F412 then. But maybe there are other devices that share the same chipID let me know if you find one.

@Nightwalker-87 Nightwalker-87 changed the base branch from master to develop March 21, 2020 15:42
@Nightwalker-87 Nightwalker-87 changed the title Silence unnecessary messages Fixes #240 Silence unnecessary messages (Fixes #240) Mar 21, 2020
@Nightwalker-87 Nightwalker-87 self-requested a review March 21, 2020 15:42
@Nightwalker-87 Nightwalker-87 added this to the v1.6.1 milestone Mar 21, 2020
@Nightwalker-87 Nightwalker-87 linked an issue Mar 21, 2020 that may be closed by this pull request
@Nightwalker-87
Copy link
Member

Info: Merge is going to wait until Travis CI maintenance has successfully concluded. Used services are currently limited or are not available at all.

@Nightwalker-87 Nightwalker-87 merged commit db037f0 into stlink-org:develop Mar 21, 2020
@Nightwalker-87
Copy link
Member

@rewolff: Thank you for your efforts!

@stlink-org stlink-org locked as resolved and limited conversation to collaborators May 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Reading the chipid gives nonzero "random" number.
2 participants