stm32: Add support for flashing over USB and serial

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor authored and Eric Callahan committed 2022-05-13 06:16:08 -04:00
1 parent 799fe5313b
commit ad566230c9
19 files changed
+1824 -69

No files matched your search

+5 -2
View File
@@ -82,8 +82,11 @@ command_dispatch(uint8_t *buf, uint_fast8_t msglen)
command_complete(data);
break;
case CMD_GET_CANBUS_ID:
command_get_canbus_id(data);
break;
if (CONFIG_CANSERIAL) {
command_get_canbus_id(data);
break;
}
// NO BREAK
default:
// Unknown command or gabage data, NACK it
command_respond_command_error();