Teensy 4.0 source code

Status
Not open for further replies.

smh

New member
On my Windows 10 machine it appears Teensy 4.0 source code is in the directory:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries
Is this correct? If it is, why is there an "avr" in this path? I need to increase the I2C buffer size so that's why I'm looking for it. I'm assuming just changing the #define BUFFER_LENGTH in the <wire.h> file in the subdirectory <wire> of this path will do that.

I'm also assuming this overrides the "normal" arduino source code in:
C:\Program Files (x86)\Arduino\hardware\avr\libraries
which also has a <wire.h> in a subdirectory <wire\src>. I can understand why there is an "avr" in that path.

Thanks
 
That is correct - Always using the UNZIP method for IDE 'install' my path is :
T:\arduino_1.8.14\hardware\teensy\avr\

Assuming :: Paul worked to get it in AVR path all those years back when ARM was not a standard - and he migrated from AVR Teensy 1 and 2.

Paul/PJRC install of TeensyDuino makes it all work - it is just a path name - and the installed boards.txt and platform.txt creation is designed to make it all work out using the IDE.
 
You might also have to make the same change to TWI_BUFFER_LENGTH in hardware/teensy/avr/libraries/Wire/utility/twi.h

Pete
 
Status
Not open for further replies.
Back
Top