mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-04 23:18:28 -04:00
18 lines
379 B
C
18 lines
379 B
C
|
|
#ifndef __AP_PROGMEM_H__
|
|
#define __AP_PROGMEM_H__
|
|
|
|
#include <AP_HAL_Boards.h>
|
|
#if defined(__AVR__)
|
|
#include "AP_Progmem_AVR.h"
|
|
#elif defined(PX4FMU_BUILD) || (CONFIG_HAL_BOARD==HAL_BOARD_AVR_SITL)
|
|
#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__
|
|
|