[dorkbotpdx-blabber] Teensy++ Released (special dorkbot discount, March 16)

mgross markgross at thegnar.org
Sat Mar 21 01:18:45 EDT 2009


On Fri, Mar 20, 2009 at 01:45:38PM -0700, Paul Stoffregen wrote:
>
>> I'm attempting to get the arduino make file in hardware/cores/arduino
>> work with the teensypp hardware and having some challenges.
>
> It's been a long time since Arduino has provided a working Makefile.   
> When I created the Teensy "core" for the Arduino IDE, I didn't bring  
> over the makefile because it did not work.
>

yeah, I hacked up something earlier today that compiled (but I
haven't tested.)

>> Anyone know the magic needed to build the arduino examples (from a makefile)
>> for the teensypp hardware?
>>   
>
> You could start with the Makefile that is in the  
> arduino-0012/hardware/cores/arduino directory.  But it hasn't been  
> maintained in quite a long time, so on top of a few edited for the  
> Teensy (different filenames), it won't precisely match the Arduino IDE's  
> build process.
>
> Long ago, the Arduino IDE simply concatenated all your files together  
> and added a single header line at the top, compiled that, then compiled  
> all the .c sources in the core directory, and linked them all together.   
> That is basically the functionality you'll find in the Makefile.
>
> Much has changed.  Recent Arudino (including 0012) parses include lines  
> and moves them all to the top, and includes the WProgram.h one after  
> those.  I believe it does some work to create function prototypes for  
> you.  Some work is done to detect libraries.  None of this is provided  
> by the Makefile.
>
> The build process is a moving target.  Compiler flags have changed, the  
> .a library was introduced in 0008  and removed recently (0013 & 0014),  
> but has recently reappeared in svn and should become part of 0015.   
> David Mellis (the only developer to make commits to Arduino's svn in  
> quite some time) recently spoke of accepting a patch to change the build  
> process to accept assembly, and also mentioned longer term plans to  
> avoid recompiling files unnecessarily.  Other changes have been  
> submitted but it's not clear if they'll be accepted and merged.
>
> Nobody is maintaining that Makefile.

thanks.  If I get something that works this weekend, I'll make it available.

--mgross



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://music.columbia.edu/pipermail/dorkbotpdx-blabber/attachments/20090320/f57d2f1b/attachment.bin


More information about the dorkbotpdx-blabber mailing list