ardupilot/libraries/AP_Progmem/AP_Progmem.h

19 lines
376 B
C

#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"
#elif defined(PX4FMU_BUILD)
#include "AP_Progmem_Identity.h"
#else
#error "this build type is unknown"
#endif
#define PROGMEM_STRING(_v, _s) static const char _v[] PROGMEM = _s
#endif // __AP_PROGMEM_H__