Upstream Nuttx restructured directories use micro_hal

This commit is contained in:
David Sidrane 2016-12-12 14:33:30 -10:00 committed by Lorenz Meier
parent d8580d39b9
commit fd7d399958
4 changed files with 6 additions and 4 deletions

View File

@ -45,8 +45,9 @@
* non-interrupt-mode client.
*/
#include <px4_config.h>
#include <nuttx/arch.h>
#include <stm32_spi.h>
#include "spi.h"
#ifndef CONFIG_SPI_EXCHANGE

View File

@ -47,7 +47,7 @@
#ifdef __PX4_NUTTX
#include <apps/nsh.h>
#include <nshlib/nshlib.h>
#endif /* __PX4_NUTTX */

View File

@ -1,7 +1,8 @@
#pragma once
#ifdef __PX4_NUTTX
#include <nuttx/spi.h>
#include <nuttx/config.h>
#include <nuttx/spi/spi.h>
#elif defined(__PX4_POSIX)
enum spi_dev_e {
SPIDEV_NONE = 0, /* Not a valid value */

View File

@ -47,7 +47,7 @@
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>
#include <apps/nsh.h>
#include <nshlib/nshlib.h>
#include <fcntl.h>
#include <systemlib/err.h>
#include <drivers/drv_hrt.h>