-->
Page 1 of 1

How to modify library source code?

PostPosted: Sun Nov 01, 2015 6:44 pm
by rich
As the ESP8266 support is done by getting a json from the net, I presume it is not possible to modify any of the library source files, like you can with the AVR libraries which on the local disk?

Re: How to modify library source code?

PostPosted: Sun Nov 01, 2015 8:23 pm
by Mmiscool
The libraries are able to be modified. Yu just have to find the folder.

If you installed using the boards manager and are on windows you will be able to go to
C:\Users\**user name **\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\***build number**\libraries
and find the files.

Re: How to modify library source code?

PostPosted: Mon Nov 02, 2015 8:21 am
by picstart
C:\Users\**user name **\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\***build number**\libraries
This feature can be described as oozing. Essential fIles are placed outside of the Arduino folder and it can lead to backup issues and complicate the ability to move an environment from one computer to another. The files ooze into other folders without the owners express permission to do so. It is a free feature of Windows.
Arduino IDE attempts to address this at times unpleasant oozing.
If you place an empty folder named Portable inside your Arduino folder then Arduino's IDE will try to prevent oozing and keep things within the Arduino folder.
Sure if you have several users on a single PC or a server, the oozed version using
C:\Users\**user name **\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\***build number**\libraries may have advantages.

Re: How to modify library source code?

PostPosted: Mon Nov 02, 2015 7:06 pm
by rich
Never thought of looking there :roll:

Thanks for the tip.