2012-10-27 00:42:49 -03:00
|
|
|
|
|
|
|
#ifndef __AP_PROGMEM_H__
|
|
|
|
#define __AP_PROGMEM_H__
|
|
|
|
|
2012-12-21 18:49:19 -04:00
|
|
|
#include <AP_HAL_Boards.h>
|
2012-10-27 00:42:49 -03:00
|
|
|
#if defined(__AVR__)
|
|
|
|
#include "AP_Progmem_AVR.h"
|
2012-10-27 08:41:45 -03:00
|
|
|
#else
|
2013-09-27 03:34:39 -03:00
|
|
|
#include "AP_Progmem_Identity.h"
|
2012-10-27 00:42:49 -03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#define PROGMEM_STRING(_v, _s) static const char _v[] PROGMEM = _s
|
|
|
|
|
|
|
|
#endif // __AP_PROGMEM_H__
|
|
|
|
|