You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
401 B
18 lines
401 B
#ifndef __AP_HAL_LINUX_STORAGE_H__ |
|
#define __AP_HAL_LINUX_STORAGE_H__ |
|
|
|
#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 |
|
#include "Storage_FRAM.h" |
|
#else |
|
#include "Storage_FS.h" |
|
#endif |
|
|
|
#endif // __AP_HAL_LINUX_STORAGE_H__ |
|
|
|
|