N25Q128 driver files renamed for consistency.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9466 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Giovanni Di Sirio 2016-05-11 14:02:06 +00:00
parent e6864865cc
commit c5fc09cf76
5 changed files with 10 additions and 9 deletions

View File

@ -18,16 +18,16 @@
*/ */
/** /**
* @file n25q128.c * @file n25q128_spi.c
* @brief N25Q128 flash interface module code. * @brief N25Q128 over SPI driver code.
* *
* @addtogroup n25q128 * @addtogroup n25q128_spi
* @{ * @{
*/ */
#include "hal.h" #include "hal.h"
#include "n25q128.h" #include "n25q128_spi.h"
/*===========================================================================*/ /*===========================================================================*/
/* Driver local definitions. */ /* Driver local definitions. */

View File

@ -18,9 +18,10 @@
*/ */
/** /**
* @file n25q128.h * @file n25q128_spi.h
* @brief N25Q128 flash interface module header. * @brief N25Q128 over SPI driver header.
* *
* @addtogroup n25q128_spi
* @{ * @{
*/ */

View File

@ -1,6 +1,6 @@
# List of all the N25Q128 device files. # List of all the N25Q128 device files.
N25Q128SRC := $(CHIBIOS)/os/hal/lib/peripherals/flash/hal_flash.c \ N25Q128SRC := $(CHIBIOS)/os/hal/lib/peripherals/flash/hal_flash.c \
$(CHIBIOS)/os/ex/Micron/n25q128.c $(CHIBIOS)/os/ex/Micron/n25q128_spi.c
# Required include directories # Required include directories
N25Q128INC := $(CHIBIOS)/os/hal/lib/peripherals/flash \ N25Q128INC := $(CHIBIOS)/os/hal/lib/peripherals/flash \

View File

@ -98,7 +98,7 @@ include $(CHIBIOS)/os/hal/osal/rt/osal.mk
include $(CHIBIOS)/os/rt/rt.mk include $(CHIBIOS)/os/rt/rt.mk
include $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk include $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk
# Other files (optional). # Other files (optional).
include $(CHIBIOS)/os/ex/Micron/n25q128.mk include $(CHIBIOS)/os/ex/Micron/n25q128_spi.mk
include $(CHIBIOS)/os/ex/subsystems/mfs/mfs.mk include $(CHIBIOS)/os/ex/subsystems/mfs/mfs.mk
# Define linker script file here # Define linker script file here

View File

@ -17,7 +17,7 @@
#include "ch.h" #include "ch.h"
#include "hal.h" #include "hal.h"
#include "n25q128.h" #include "n25q128_spi.h"
/* /*
* Maximum speed SPI configuration (18MHz, CPHA=0, CPOL=0, MSb first). * Maximum speed SPI configuration (18MHz, CPHA=0, CPOL=0, MSb first).