Created Thu, 13 Oct 2011 08:10:24 +0000 by PsySquirrel
Thu, 13 Oct 2011 08:10:24 +0000
Hi there,
I've got an application that requires the I2C library to send 48 bytes at a time which is greater than the 32 byte limit in the Wire library. I've located the two constants that I need to change in the libraries but have been unable to work out how to build the IDE from source.
I've found some batch files that would do the trick for normal Arduino boards but they don't seem to support the PIC32 chipsets. I've installed cygwin and the Java development environment. Any tips on how to build the IDE from source?
Cheers.
Thu, 13 Oct 2011 18:15:02 +0000
As far as I know, all libraries are re-built when the IDE is started up.
If you are refering to:
#define BUFFER_LENGTH 32
and
#define TWI_BUFFER_LENGTH 32
in wire.h and twi.h, then you can just change them and restart the IDE.
Fri, 14 Oct 2011 01:53:12 +0000
I think that Darth is right. The libraries get rebuilt as needed, no need to rebuild the whole IDE. However, to rebuild the IDE, you should be able to run "ant run" in the build directory.