ardupilot/libraries/AP_Progmem/AP_Progmem.h
James Bielman a4af314b57 Add AP_HAL_SMACCM implementation.
- Add a board definition for SMACCMPilot.
- Support the SMACCM HAL in required utility libraries.
2013-01-03 13:48:06 -08:00

18 lines
458 B
C

#ifndef __AP_PROGMEM_H__
#define __AP_PROGMEM_H__
#include <AP_HAL_Boards.h>
#if defined(__AVR__)
#include "AP_Progmem_AVR.h"
#elif CONFIG_HAL_BOARD == HAL_BOARD_PX4 || CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL || CONFIG_HAL_BOARD == HAL_BOARD_SMACCM
#include "AP_Progmem_Identity.h"
#else
#error "this build type is unknown - please edit AP_Progmem.h"
#endif
#define PROGMEM_STRING(_v, _s) static const char _v[] PROGMEM = _s
#endif // __AP_PROGMEM_H__