Click here to Skip to main content
13,865,706 members
Click here to Skip to main content
Add your own
alternative version

Tagged as


4 bookmarked
Posted 10 Jul 2018
Licenced CPOL

How to Delete COM Port to Make the Plug and Play Instant, No More Delay

, 24 Oct 2018
Rate this:
Please Sign up or sign in to vote.
Speed Arduino Boot


This tip will show you how to remove the COM port and speed up the boot of the Arduino.

(Product Name is just a rename of Arduino Leonardo)


Using the Code

So, doing that is very simple, but keep in mind that if you want to be able to reupload a sketch to your board again, you need to reburn the bootloader on your board via a programmer as USBTinyISP, because the COM port is used when uploading a sketch, so the reburn will give back the COM port.

Also COM port is used for Serial Communication, so if you remove it, you will only have HID protocol to communicate with your PC.

Here is the instruction:

  • Just put in comment the line below in {Arduino Path}\hardware\arduino\avr\cores\Arduino\USBCore.cpp.
static u8 SendInterfaces()
    u8 interfaces = 0;

    // To comment to suppress COM port

    return interfaces;


  • 10th July, 2018: Initial version


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

France France
No Biography provided

You may also be interested in...


Comments and Discussions

QuestionUseless Pin
Member 869050418-Jul-18 6:58
memberMember 869050418-Jul-18 6:58 
AnswerRe: Useless Pin
wqaxs3621-Jul-18 2:00
memberwqaxs3621-Jul-18 2:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web05 | 2.8.190214.1 | Last Updated 25 Oct 2018
Article Copyright 2018 by wqaxs36
Everything else Copyright © CodeProject, 1999-2019
Layout: fixed | fluid