fixed compilation errors fixed compile errors refactored serial device detection successfully added serial_detection functions fixed Killed error, and improved serial_detection fixed all remaining issues fix fix
fixed compilation errors fixed compile errors refactored serial device detection successfully added serial_detection functions fixed Killed error, and improved serial_detection fixed all remaining issues fix fix