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

@ -637,6 +637,10 @@ void stop() {
*/
void setup() {
#ifdef HAL_INIT
HAL_init();
#endif
#if ENABLED(MAX7219_DEBUG)
Max7219_init();
#endif