From 777a0b817bc01425d562e42354bf09463a1d7852 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 11 Jul 2016 11:41:49 -0400 Subject: serialhdl: Calculate baudadjust from MCU's baud instead of host baud Store the baud rate the MCU is configured for in the "identify" data and use that rate when calculating the baudadjust parameter. Signed-off-by: Kevin O'Connor --- scripts/buildcommands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/buildcommands.py') diff --git a/scripts/buildcommands.py b/scripts/buildcommands.py index 6bb47341..af9926ca 100644 --- a/scripts/buildcommands.py +++ b/scripts/buildcommands.py @@ -153,7 +153,7 @@ def build_identify(cmd_by_id, msg_to_id, responses, static_strings data['commands'] = sorted(cmd_by_id.keys()) data['responses'] = sorted(responses) data['static_strings'] = static_strings - configlist = ['MCU', 'CLOCK_FREQ'] + configlist = ['MCU', 'CLOCK_FREQ', 'SERIAL_BAUD'] data['config'] = dict((i, config['CONFIG_'+i]) for i in configlist if 'CONFIG_'+i in config) data['version'] = version -- cgit v1.2.3-70-g09d2