diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-10-07 12:06:42 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-10-07 12:06:42 +0000 |
commit | 8bd7175893bc05ed967b44da1977d6c5108c6afa (patch) | |
tree | fcf0cdad790783413636d0db228af534013616d7 | |
parent | dc7ae21c744272f7796386c4a8ad68cb41278359 (diff) | |
download | ChibiOS-8bd7175893bc05ed967b44da1977d6c5108c6afa.tar.gz ChibiOS-8bd7175893bc05ed967b44da1977d6c5108c6afa.tar.bz2 ChibiOS-8bd7175893bc05ed967b44da1977d6c5108c6afa.zip |
Renamed for consistency.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12347 110e8d01-0319-4d1e-a829-52ad28d1bb01
-rw-r--r-- | os/hal/lib/complex/mfs/hal_mfs.c (renamed from os/hal/lib/complex/mfs/mfs.c) | 6 | ||||
-rw-r--r-- | os/hal/lib/complex/mfs/hal_mfs.h (renamed from os/hal/lib/complex/mfs/mfs.h) | 10 | ||||
-rw-r--r-- | os/hal/lib/complex/mfs/hal_mfs.mk (renamed from os/hal/lib/complex/mfs/mfs.mk) | 2 | ||||
-rw-r--r-- | os/hal/lib/complex/serial_nor/devices/micron_n25q/hal_flash_device.c | 2 | ||||
-rw-r--r-- | os/hal/lib/complex/serial_nor/devices/micron_n25q/hal_flash_device.h | 2 | ||||
-rw-r--r-- | os/hal/lib/complex/serial_nor/hal_serial_nor.c | 8 | ||||
-rw-r--r-- | test/mfs/configuration.xml | 8 | ||||
-rw-r--r-- | test/mfs/source/test/mfs_test_root.c | 2 | ||||
-rw-r--r-- | test/mfs/source/test/mfs_test_root.h | 2 | ||||
-rw-r--r-- | test/mfs/source/test/mfs_test_sequence_001.c | 2 | ||||
-rw-r--r-- | test/mfs/source/test/mfs_test_sequence_002.c | 2 | ||||
-rw-r--r-- | testhal/STM32/multi/WSPI-MFS/main.c | 2 | ||||
-rw-r--r-- | testhal/STM32/multi/WSPI-MFS/make/stm32l476_discovery.make | 2 |
13 files changed, 25 insertions, 25 deletions
diff --git a/os/hal/lib/complex/mfs/mfs.c b/os/hal/lib/complex/mfs/hal_mfs.c index 32ae2432a..d37326134 100644 --- a/os/hal/lib/complex/mfs/mfs.c +++ b/os/hal/lib/complex/mfs/hal_mfs.c @@ -18,7 +18,7 @@ */
/**
- * @file mfs.c
+ * @file hal_mfs.c
* @brief Managed Flash Storage module code.
* @details This module manages a flash partition as a generic storage where
* arbitrary data records can be created, updated, deleted and
@@ -30,7 +30,7 @@ * banks (where possible) caused by power loss during operations.
* Both operations are transparent to the user.
*
- * @addtogroup MFS
+ * @addtogroup HAL_MFS
* @{
*/
@@ -38,7 +38,7 @@ #include "hal.h"
-#include "mfs.h"
+#include "hal_mfs.h"
/*===========================================================================*/
/* Driver local definitions. */
diff --git a/os/hal/lib/complex/mfs/mfs.h b/os/hal/lib/complex/mfs/hal_mfs.h index d41dcf9bf..19c9b195f 100644 --- a/os/hal/lib/complex/mfs/mfs.h +++ b/os/hal/lib/complex/mfs/hal_mfs.h @@ -18,15 +18,15 @@ */
/**
- * @file mfs.h
+ * @file hal_mfs.h
* @brief Managed Flash Storage module header.
*
- * @addtogroup MFS
+ * @addtogroup HAL_MFS
* @{
*/
-#ifndef MFS_H
-#define MFS_H
+#ifndef HAL_MFS_H
+#define HAL_MFS_H
#include "hal_flash.h"
@@ -364,7 +364,7 @@ extern "C" { }
#endif
-#endif /* MFS_H */
+#endif /* HAL_MFS_H */
/** @} */
diff --git a/os/hal/lib/complex/mfs/mfs.mk b/os/hal/lib/complex/mfs/hal_mfs.mk index b1b67bb61..6448737b8 100644 --- a/os/hal/lib/complex/mfs/mfs.mk +++ b/os/hal/lib/complex/mfs/hal_mfs.mk @@ -1,5 +1,5 @@ # List of all the MFS subsystem files.
-MFSSRC := $(CHIBIOS)/os/hal/lib/complex/mfs/mfs.c
+MFSSRC := $(CHIBIOS)/os/hal/lib/complex/mfs/hal_mfs.c
# Required include directories
MFSINC := $(CHIBIOS)/os/hal/lib/complex/mfs
diff --git a/os/hal/lib/complex/serial_nor/devices/micron_n25q/hal_flash_device.c b/os/hal/lib/complex/serial_nor/devices/micron_n25q/hal_flash_device.c index 1bba8f99a..e82af004d 100644 --- a/os/hal/lib/complex/serial_nor/devices/micron_n25q/hal_flash_device.c +++ b/os/hal/lib/complex/serial_nor/devices/micron_n25q/hal_flash_device.c @@ -15,7 +15,7 @@ */
/**
- * @file flash_device.c
+ * @file hal_flash_device.c
* @brief Micron N25Q serial flash driver code.
*
* @addtogroup MICRON_N25Q
diff --git a/os/hal/lib/complex/serial_nor/devices/micron_n25q/hal_flash_device.h b/os/hal/lib/complex/serial_nor/devices/micron_n25q/hal_flash_device.h index 22b024b95..1f13f0c82 100644 --- a/os/hal/lib/complex/serial_nor/devices/micron_n25q/hal_flash_device.h +++ b/os/hal/lib/complex/serial_nor/devices/micron_n25q/hal_flash_device.h @@ -15,7 +15,7 @@ */
/**
- * @file flash_device.h
+ * @file hal_flash_device.h
* @brief Micron N25Q serial flash driver header.
*
* @addtogroup MICRON_N25Q
diff --git a/os/hal/lib/complex/serial_nor/hal_serial_nor.c b/os/hal/lib/complex/serial_nor/hal_serial_nor.c index b21d09694..95d4ac267 100644 --- a/os/hal/lib/complex/serial_nor/hal_serial_nor.c +++ b/os/hal/lib/complex/serial_nor/hal_serial_nor.c @@ -15,11 +15,11 @@ */
/**
- * @file m25q.c
- * @brief M25Q serial flash driver code.
+ * @file hal_serial_nor.c
+ * @brief Serial NOR serial flash driver code.
*
- * @addtogroup M25Q
- * @ingroup M25Q
+ * @addtogroup HAL_SERIAL_NOR
+ * @ingroup HAL_SERIAL_NOR
* @{
*/
diff --git a/test/mfs/configuration.xml b/test/mfs/configuration.xml index d89368ebc..a222033f8 100644 --- a/test/mfs/configuration.xml +++ b/test/mfs/configuration.xml @@ -38,7 +38,7 @@ <value>mfs_</value>
</code_prefix>
<global_definitions>
- <value><![CDATA[#include "mfs.h" + <value><![CDATA[#include "hal_mfs.h" #define TEST_SUITE_NAME "ChibiOS/HAL MFS Test Suite" @@ -53,7 +53,7 @@ flash_error_t bank_verify_erased(mfs_bank_t bank); void test_print_mfs_info(void);]]></value>
</global_definitions>
<global_code>
- <value><![CDATA[#include "mfs.h"
+ <value><![CDATA[#include "hal_mfs.h"
MFSDriver mfs1; uint8_t mfs_buffer[512]; @@ -128,7 +128,7 @@ flash_error_t bank_verify_erased(mfs_bank_t bank) { </condition>
<shared_code>
<value><![CDATA[#include <string.h> -#include "mfs.h" +#include "hal_mfs.h" static const uint8_t pattern1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 @@ -879,7 +879,7 @@ test_assert(bank_verify_erased(MFS_BANK_0) == FLASH_NO_ERROR, "bank 0 not erased <value />
</condition>
<shared_code>
- <value><![CDATA[#include "mfs.h"]]></value>
+ <value><![CDATA[#include "hal_mfs.h"]]></value>
</shared_code>
<cases>
<case>
diff --git a/test/mfs/source/test/mfs_test_root.c b/test/mfs/source/test/mfs_test_root.c index ce23aaac6..447278610 100644 --- a/test/mfs/source/test/mfs_test_root.c +++ b/test/mfs/source/test/mfs_test_root.c @@ -61,7 +61,7 @@ const testsuite_t mfs_test_suite = { /* Shared code. */
/*===========================================================================*/
-#include "mfs.h"
+#include "hal_mfs.h"
MFSDriver mfs1;
uint8_t mfs_buffer[512];
diff --git a/test/mfs/source/test/mfs_test_root.h b/test/mfs/source/test/mfs_test_root.h index 4679c0c96..672b7da80 100644 --- a/test/mfs/source/test/mfs_test_root.h +++ b/test/mfs/source/test/mfs_test_root.h @@ -46,7 +46,7 @@ extern "C" { /* Shared definitions. */
/*===========================================================================*/
-#include "mfs.h"
+#include "hal_mfs.h"
#define TEST_SUITE_NAME "ChibiOS/HAL MFS Test Suite"
diff --git a/test/mfs/source/test/mfs_test_sequence_001.c b/test/mfs/source/test/mfs_test_sequence_001.c index 7804fcd80..272924bd4 100644 --- a/test/mfs/source/test/mfs_test_sequence_001.c +++ b/test/mfs/source/test/mfs_test_sequence_001.c @@ -45,7 +45,7 @@ ****************************************************************************/
#include <string.h>
-#include "mfs.h"
+#include "hal_mfs.h"
static const uint8_t pattern1[] = {
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
diff --git a/test/mfs/source/test/mfs_test_sequence_002.c b/test/mfs/source/test/mfs_test_sequence_002.c index c8cbfe6d5..735b359df 100644 --- a/test/mfs/source/test/mfs_test_sequence_002.c +++ b/test/mfs/source/test/mfs_test_sequence_002.c @@ -39,7 +39,7 @@ * Shared code.
****************************************************************************/
-#include "mfs.h"
+#include "hal_mfs.h"
/****************************************************************************
* Test cases.
diff --git a/testhal/STM32/multi/WSPI-MFS/main.c b/testhal/STM32/multi/WSPI-MFS/main.c index eb964184b..826daab70 100644 --- a/testhal/STM32/multi/WSPI-MFS/main.c +++ b/testhal/STM32/multi/WSPI-MFS/main.c @@ -20,7 +20,7 @@ #include "hal.h"
#include "hal_serial_nor.h"
-#include "mfs.h"
+#include "hal_mfs.h"
#include "mfs_test_root.h"
diff --git a/testhal/STM32/multi/WSPI-MFS/make/stm32l476_discovery.make b/testhal/STM32/multi/WSPI-MFS/make/stm32l476_discovery.make index ad212eca6..e4860c5a3 100644 --- a/testhal/STM32/multi/WSPI-MFS/make/stm32l476_discovery.make +++ b/testhal/STM32/multi/WSPI-MFS/make/stm32l476_discovery.make @@ -114,7 +114,7 @@ include $(CHIBIOS)/tools/mk/autobuild.mk include $(CHIBIOS)/test/lib/test.mk
include $(CHIBIOS)/test/mfs/mfs_test.mk
include $(CHIBIOS)/os/hal/lib/complex/serial_nor/devices/micron_n25q/hal_flash_device.mk
-include $(CHIBIOS)/os/hal/lib/complex/mfs/mfs.mk
+include $(CHIBIOS)/os/hal/lib/complex/mfs/hal_mfs.mk
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
# Define linker script file here
|