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:
@ -637,6 +637,10 @@ void stop() {
|
||||
*/
|
||||
void setup() {
|
||||
|
||||
#ifdef HAL_INIT
|
||||
HAL_init();
|
||||
#endif
|
||||
|
||||
#if ENABLED(MAX7219_DEBUG)
|
||||
Max7219_init();
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user