I have a code that uploads just fine with 1.8.5 IDE to an Arduino Nano, but it doesn't with 1.8.7.
At first I wasn't able to upload at all but after reviewing Board.txt I realized that under Board: Arduino Nano, there is a processor "ATmega328P (Old Bootloader)" which IDE 1.8.5 didn't have. So I used that one and it uploaded my code (it basically uses upload speed of 57600 instead of 115200).
The intriguing part is that my code doesn't work when uploading with 1.8.7 but when I switch to 1.8.5 it works perfectly!
Any ideas why?
Thanks in advance.