diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-12-21 18:18:18 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-12-21 20:32:10 -0500 |
commit | d778ae1846af85a95fc40f13b6af927ac758f854 (patch) | |
tree | be3a612525738fbdb42c3edd99f5b682a6c445ae /klippy/serialhdl.py | |
parent | 522093ef006294b81d1898851bbd69b46c5c70d5 (diff) | |
download | kutter-d778ae1846af85a95fc40f13b6af927ac758f854.tar.gz kutter-d778ae1846af85a95fc40f13b6af927ac758f854.tar.xz kutter-d778ae1846af85a95fc40f13b6af927ac758f854.zip |
build: Add gcc and binutils version to mcu data dictionary
Store the gcc and binutils versions used in the compilation of the
firmware in the firmware data dictionary. Forward that information to
the log so it is available during debugging.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/serialhdl.py')
-rw-r--r-- | klippy/serialhdl.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/klippy/serialhdl.py b/klippy/serialhdl.py index e7e35bf8..08f7ef23 100644 --- a/klippy/serialhdl.py +++ b/klippy/serialhdl.py @@ -84,8 +84,9 @@ class SerialReader: msgparser.process_identify(identify_data) self.msgparser = msgparser self.register_callback(self.handle_unknown, '#unknown') - logging.info("Loaded %d commands (%s)", - len(msgparser.messages_by_id), msgparser.version) + logging.info("Loaded %d commands (%s / %s)", + len(msgparser.messages_by_id), + msgparser.version, msgparser.build_versions) logging.info("MCU config: %s", " ".join( ["%s=%s" % (k, v) for k, v in msgparser.config.items()])) # Setup baud adjust |