end2endzone / win32Arduino

win32Arduino is a windows/linux implementation of many arduino functions to allow an arduino library developer to unit test code outside of the arduino platform.
MIT License
2 stars 2 forks source link

Add support for F macro #16

Closed sidey79 closed 6 years ago

sidey79 commented 6 years ago

Hi, is there any chance to get support of a F macro?

I think a macro without any functionality is enough #define F(V1) V1

end2endzone commented 6 years ago

Good catch. I didn't think of this one. I even have other libraries which makes use of F() but still untested with win32Arduino. It will be added soon.

end2endzone commented 6 years ago

The implementation should also support PROGMEM keyword. The implementation should be located in the include file avr/pgmspace.h to allow statement of type #include <avr/pgmspace.h>.