2012-10-27 00:42:49 -03:00
|
|
|
|
|
|
|
#ifndef __AP_PROGMEM_H__
|
|
|
|
#define __AP_PROGMEM_H__
|
|
|
|
|
|
|
|
#if defined(__AVR__)
|
|
|
|
#include "AP_Progmem_AVR.h"
|
|
|
|
#elif defined(DESKTOP_BUILD)
|
|
|
|
#include "AP_Progmem_DesktopBuild.h"
|
2012-10-27 08:41:45 -03:00
|
|
|
#elif defined(PX4FMU_BUILD)
|
2012-10-27 02:32:24 -03:00
|
|
|
#include "AP_Progmem_Identity.h"
|
2012-10-27 08:41:45 -03:00
|
|
|
#else
|
|
|
|
#error "this build type is unknown"
|
2012-10-27 00:42:49 -03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#define PROGMEM_STRING(_v, _s) static const char _v[] PROGMEM = _s
|
|
|
|
|
|
|
|
#endif // __AP_PROGMEM_H__
|
|
|
|
|