2013-09-22 03:01:24 -03:00
|
|
|
#ifndef __AP_HAL_LINUX_STORAGE_H__
|
|
|
|
#define __AP_HAL_LINUX_STORAGE_H__
|
|
|
|
|
2014-08-18 09:21:35 -03:00
|
|
|
#if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_ERLE || CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_PXF
|
|
|
|
#define LINUX_STORAGE_USE_FRAM 1
|
|
|
|
#else
|
|
|
|
#define LINUX_STORAGE_USE_FRAM 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#if LINUX_STORAGE_USE_FRAM
|
2014-08-10 02:24:12 -03:00
|
|
|
#include "Storage_FRAM.h"
|
|
|
|
#else
|
|
|
|
#include "Storage_FS.h"
|
|
|
|
#endif
|
2013-09-22 03:01:24 -03:00
|
|
|
|
2014-08-18 09:21:35 -03:00
|
|
|
#endif // __AP_HAL_LINUX_STORAGE_H__
|
|
|
|
|