chipKIT® Development Platform

Inspired by Arduino™

Dummy <avr/pgmspace.h> ?

Created Tue, 07 Jun 2011 20:13:33 +0000 by jasonk


jasonk

Tue, 07 Jun 2011 20:13:33 +0000

What do you guys think about creating dummy <avr/pgmspace.h> and <avr/io.h> files? In the files, we could use a #error or #warning to create a better diagnostic message and point the user to the forum.

Maybe something like

#error This sketch or library uses AVR-specific code that may not work with the chipKIT platform. 
#error Please see this forum thread for more information: http://www.chipkit.org/forum/viewtopic.php?f=7&amp;t=37&amp;p=351

What do you think?


KM6VV

Tue, 07 Jun 2011 20:36:08 +0000

That could help.

Maybe a doc that would list the LIBs that aren't ported? I guess one finds out when they try to compile! Wasn't obvious to me at first that it didn't have (or want) an AVR program space.

Alan KM6VV