Browse Source

AP_HAL: add HAL_OS_POSIX_IO for aerofc-v1

What aerofc-v1 doesn't have is an sdcard, but it has posix-like API as
it's running on top of NuttX.
mission-4.1.18
Lucas De Marchi 8 years ago
parent
commit
eb70dbc6f5
  1. 3
      libraries/AP_HAL/board/px4.h

3
libraries/AP_HAL/board/px4.h

@ -35,7 +35,8 @@ @@ -35,7 +35,8 @@
#define HAL_STORAGE_SIZE 16384
#define USE_FLASH_STORAGE 1
// we don't have any sdcard
#undef HAL_OS_POSIX_IO
#undef HAL_BOARD_LOG_DIRECTORY
#undef HAL_BOARD_TERRAIN_DIRECTORY
#else
#error "Unknown PX4 board type"
#endif

Loading…
Cancel
Save