Adding USB MSD implementation to the HAL: Now, when you plug the Native USB port of the Arduino DUE to your PC, it will be detected as a composite USB device: One of the devices is a USB CDC (Serial port over USB) with native USB handshake (no more overflows!!) (set SERIAL_PORT to -1 to use it as main serial port) and also, a MSD (USB Mass Storage Device) will be detected, and the SD card present on the socket will be reflected as a Removable disk on your PC)

This commit is contained in:
etagle
2017-12-21 02:42:46 -03:00
parent d8a4db72ac
commit 33a6fc70e4
43 changed files with 16226 additions and 8 deletions

View File

@ -31,11 +31,9 @@
#include "../../inc/MarlinConfig.h"
#include <WString.h>
#if SERIAL_PORT >= 0
#ifndef SERIAL_PORT
#define SERIAL_PORT 0
#endif
#include <WString.h>
#define DEC 10
#define HEX 16
@ -135,4 +133,6 @@ private:
extern MarlinSerial customizedSerial;
#endif // SERIAL_PORT >= 0
#endif // MARLINSERIAL_DUE_H