Rename new SPI API to spi.[ch]
This commit is contained in:
parent
8ea998847b
commit
2cad626360
@ -32,7 +32,7 @@
|
||||
#include <stdint.h>
|
||||
#include "contiki.h"
|
||||
#include "reg.h"
|
||||
#include "spi-hal.h"
|
||||
#include "dev/spi.h"
|
||||
#include "gpio-hal-arch.h"
|
||||
#include "sys/cc.h"
|
||||
#include "ioc.h"
|
||||
|
@ -29,7 +29,7 @@
|
||||
*/
|
||||
#include "contiki.h"
|
||||
#include "ti-lib.h"
|
||||
#include "spi-hal.h"
|
||||
#include "dev/spi.h"
|
||||
#include "sys/mutex.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
@ -38,7 +38,7 @@
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#include "contiki.h"
|
||||
#include "ext-flash.h"
|
||||
#include "spi-hal.h"
|
||||
#include "dev/spi.h"
|
||||
#include "gpio-hal.h"
|
||||
#include "sys/log.h"
|
||||
|
||||
|
@ -42,8 +42,7 @@
|
||||
#ifndef EXT_FLASH_H_
|
||||
#define EXT_FLASH_H_
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#include "spi-hal.h"
|
||||
|
||||
#include "dev/spi.h"
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
|
@ -37,9 +37,8 @@
|
||||
* Implementation of the platform-independent aspects of the SPI HAL
|
||||
*/
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#include <dev/spi.h>
|
||||
#include "contiki.h"
|
||||
#include "spi-hal.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
/*---------------------------------------------------------------------------*/
|
@ -45,8 +45,8 @@
|
||||
* Header file for the SPI HAL
|
||||
*/
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#ifndef SPI_HAL_H_
|
||||
#define SPI_HAL_H_
|
||||
#ifndef SPI_H_
|
||||
#define SPI_H_
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#include "contiki.h"
|
||||
#include "gpio-hal.h"
|
||||
@ -358,7 +358,7 @@ spi_status_t spi_arch_select(spi_device_t *dev);
|
||||
*/
|
||||
spi_status_t spi_arch_deselect(spi_device_t *dev);
|
||||
|
||||
#endif /* SPI_HAL_H_ */
|
||||
#endif /* SPI_H_ */
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/**
|
||||
* @}
|
Loading…
Reference in New Issue
Block a user