ovidiucp / TinyWebServer

Small web server for Arduino, fits in 10KB ROM, less than 512 bytes RAM
http://www.webweavertech.com/ovidiu/weblog/archives/000484.html
GNU Lesser General Public License v2.1
245 stars 65 forks source link

Flash library version 4 is not available #22

Closed Tombar closed 9 years ago

Tombar commented 10 years ago

Hello Hello

Sadly the linky to Flash library points to version 5 of the library which doesn't work on Arduino UNO.

Would you mind providing a version of the Flash version 4 library.

Regards

M

ovidiucp commented 9 years ago

Hi Tombar,

I was able to compile the latest Flash version 5 with Arduino 1.6.0 for Uno using the following lines added in Flash.h just after the avr/pgmspace.h is included:

#include <avr/pgmspace.h>

#if ARDUINO >= 150
typedef char prog_char __attribute__((__progmem__));
#endif
Tombar commented 9 years ago

Thank you sir, i will try and let you know in case of any issue.