Recompiling Arduino code (libraries) with my code changes
Posted:
Thu Sep 14, 2017 3:55 pm
by ESP8266Newbie
Been working with ESP8266 & Arduino for few days now (first exposure to Arduino). I made some changes in Arduino source code hardwareSerial.cpp to increase the size of the serial receive buffer. My question is how do I recompile/build the Arduino (?) code on my Windows laptop so it will get used by my sketch? I have searched online, but have not found this answer. Thanks!
Re: Recompiling Arduino code (libraries) with my code change
Posted:
Mon Sep 18, 2017 12:29 am
by gdsports
Just upload again. The modified core library code should recompile. If you use an old version of the IDE, you may have to exit the IDE completely (close all IDE windows) then run the IDE again to force recompilation. You can check by going into File | Preferences then check mark Show Verbose Output during compilation and set compiler warnings to Default. This should show where the object files (*.o) files stored.