What exactly is the difference between arduino
and wiring
upload protocols?
For example, in boards\uno.json
there is:
"upload": {
"maximum_ram_size": 2048,
"maximum_size": 32256,
"protocol": "arduino",
"require_upload_port": true,
"speed": 115200
}
While in boards\megaatmega2560.json
there is:
"upload": {
"maximum_ram_size": 8192,
"maximum_size": 253952,
"protocol": "wiring",
"require_upload_port": true,
"speed": 115200
}
Where is the code for invoking the upload commands based on the selected protocol?