On Arduino IDE side, the upload speed is coded in
for every kind of board; you cannot change it directly from the IDE (that would be too dangerous as that value must match the expected speed for the actual bootloader of every board).
Now as per the optiboot loader side, the upload speed is defined in
BAUD_RATE macro, in
/* set the UART baud rate defaults */
#if F_CPU >= 8000000L
#define BAUD_RATE 115200L // Highest rate Avrdude win32 will support
#elsif F_CPU >= 1000000L
#define BAUD_RATE 9600L // 19200 also supported, but with significant error
#elsif F_CPU >= 128000L
#define BAUD_RATE 4800L // Good for 128kHz internal RC
#define BAUD_RATE 1200L // Good even at 32768Hz
So I guess you can:
#define BAUD_RATE 19200 before that block of code
- recompile the optiboot loader
- upload your own new bootloader version
uno.upload.speed accordingly in
- check it on the usual blink sketch and cross your fingers :-)
Please note that this kind of task is not for beginners, you need to know what you're doing.
Also note that I disclaim any responsibility if you get unable to upload programs to your Arduino afterwards!