diff --git a/ChibiOS/BrainPad2/nanoBooter/halconf_nf.h b/ChibiOS/BrainPad2/nanoBooter/halconf_nf.h index 81cfcee6..65f4f98e 100644 --- a/ChibiOS/BrainPad2/nanoBooter/halconf_nf.h +++ b/ChibiOS/BrainPad2/nanoBooter/halconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) @@ -15,5 +15,5 @@ #define HAL_NF_USE_STM32_RNG FALSE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/BrainPad2/nanoBooter/mcuconf_nf.h b/ChibiOS/BrainPad2/nanoBooter/mcuconf_nf.h index 574b9636..7c28e970 100644 --- a/ChibiOS/BrainPad2/nanoBooter/mcuconf_nf.h +++ b/ChibiOS/BrainPad2/nanoBooter/mcuconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/BrainPad2/nanoBooter/target_board.h.in b/ChibiOS/BrainPad2/nanoBooter/target_board.h.in index 4a388d2e..210bd332 100644 --- a/ChibiOS/BrainPad2/nanoBooter/target_board.h.in +++ b/ChibiOS/BrainPad2/nanoBooter/target_board.h.in @@ -8,12 +8,12 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOBOOTER_H_ -#define _TARGET_BOARD_NANOBOOTER_H_ +#ifndef TARGET_BOARD_NANOBOOTER_H +#define TARGET_BOARD_NANOBOOTER_H #include #include #define OEMSYSTEMINFOSTRING "nanoBooter running @ @TARGET_NAME@ built with ChibiOS v" CH_VERSION "." STR(CH_VERSION_MONTH) -#endif /* _TARGET_BOARD_NANOBOOTER_H_ */ +#endif // TARGET_BOARD_NANOBOOTER_H diff --git a/ChibiOS/BrainPad2/nanoCLR/halconf_nf.h b/ChibiOS/BrainPad2/nanoCLR/halconf_nf.h index 81cfcee6..65f4f98e 100644 --- a/ChibiOS/BrainPad2/nanoCLR/halconf_nf.h +++ b/ChibiOS/BrainPad2/nanoCLR/halconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) @@ -15,5 +15,5 @@ #define HAL_NF_USE_STM32_RNG FALSE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/BrainPad2/nanoCLR/mcuconf_nf.h b/ChibiOS/BrainPad2/nanoCLR/mcuconf_nf.h index 5ff03534..aeebf5fa 100644 --- a/ChibiOS/BrainPad2/nanoCLR/mcuconf_nf.h +++ b/ChibiOS/BrainPad2/nanoCLR/mcuconf_nf.h @@ -3,7 +3,7 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/BrainPad2/nanoCLR/target_board.h.in b/ChibiOS/BrainPad2/nanoCLR/target_board.h.in index 2643e780..f3eec5eb 100644 --- a/ChibiOS/BrainPad2/nanoCLR/target_board.h.in +++ b/ChibiOS/BrainPad2/nanoCLR/target_board.h.in @@ -8,12 +8,12 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOCLR_H_ -#define _TARGET_BOARD_NANOCLR_H_ +#ifndef TARGET_BOARD_NANOCLR_H +#define TARGET_BOARD_NANOCLR_H #include #include #define OEMSYSTEMINFOSTRING "nanoCLR running @ @TARGET_NAME@ built with ChibiOS v" CH_VERSION "." STR(CH_VERSION_MONTH) -#endif /* _TARGET_BOARD_NANOCLR_H_ */ +#endif // TARGET_BOARD_NANOCLR_H diff --git a/ChibiOS/BrainPad2/target_BlockStorage.h b/ChibiOS/BrainPad2/target_BlockStorage.h index aa50b1b7..eb15ab5d 100644 --- a/ChibiOS/BrainPad2/target_BlockStorage.h +++ b/ChibiOS/BrainPad2/target_BlockStorage.h @@ -3,10 +3,10 @@ // See LICENSE file in the project root for full license information. // -#ifndef _TARGETPAL_BLOCKSTORAGE_H_ -#define _TARGETPAL_BLOCKSTORAGE_H_ 1 +#ifndef TARGETPAL_BLOCKSTORAGE_H +#define TARGETPAL_BLOCKSTORAGE_H // this device has 1 block storage devices #define TARGET_BLOCKSTORAGE_COUNT 1 -#endif //_TARGETPAL_BLOCKSTORAGE_H_ +#endif //TARGETPAL_BLOCKSTORAGE_H diff --git a/ChibiOS/BrainPad2/target_common.h.in b/ChibiOS/BrainPad2/target_common.h.in index 04f4f4a0..4b42cdad 100644 --- a/ChibiOS/BrainPad2/target_common.h.in +++ b/ChibiOS/BrainPad2/target_common.h.in @@ -8,10 +8,8 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_COMMON_H_ -#define _TARGET_COMMON_H_ - -#include +#ifndef TARGET_COMMON_H +#define TARGET_COMMON_H ///////////////////////////////////////////////////////////////////////////////////////// // The following addresses and sizes should be filled in according to the SoC data-sheet @@ -34,4 +32,4 @@ #define PLATFORMNAMESTRING "STM32F4" /////////////////////////////////////////////// -#endif /* _TARGET_COMMON_H_ */ +#endif // TARGET_COMMON_H diff --git a/ChibiOS/GHI_FEZ_CERB40_NF/nanoBooter/halconf_nf.h b/ChibiOS/GHI_FEZ_CERB40_NF/nanoBooter/halconf_nf.h index 83ae9e61..1b4a9bd8 100644 --- a/ChibiOS/GHI_FEZ_CERB40_NF/nanoBooter/halconf_nf.h +++ b/ChibiOS/GHI_FEZ_CERB40_NF/nanoBooter/halconf_nf.h @@ -3,13 +3,13 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) #define HAL_NF_USE_STM32_FLASH TRUE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/GHI_FEZ_CERB40_NF/nanoBooter/mcuconf_nf.h b/ChibiOS/GHI_FEZ_CERB40_NF/nanoBooter/mcuconf_nf.h index f05caa0b..b9f9ee0c 100644 --- a/ChibiOS/GHI_FEZ_CERB40_NF/nanoBooter/mcuconf_nf.h +++ b/ChibiOS/GHI_FEZ_CERB40_NF/nanoBooter/mcuconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/GHI_FEZ_CERB40_NF/nanoBooter/target_board.h.in b/ChibiOS/GHI_FEZ_CERB40_NF/nanoBooter/target_board.h.in index ad151ebd..39c1d452 100644 --- a/ChibiOS/GHI_FEZ_CERB40_NF/nanoBooter/target_board.h.in +++ b/ChibiOS/GHI_FEZ_CERB40_NF/nanoBooter/target_board.h.in @@ -8,11 +8,11 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOBOOTER_H_ -#define _TARGET_BOARD_NANOBOOTER_H_ +#ifndef TARGET_BOARD_NANOBOOTER_H +#define TARGET_BOARD_NANOBOOTER_H #include #define OEMSYSTEMINFOSTRING "nanoBooter running @ @CHIBIOS_BOARD@" -#endif /* _TARGET_BOARD_NANOBOOTER_H_ */ +#endif // TARGET_BOARD_NANOBOOTER_H diff --git a/ChibiOS/GHI_FEZ_CERB40_NF/nanoCLR/halconf_nf.h b/ChibiOS/GHI_FEZ_CERB40_NF/nanoCLR/halconf_nf.h index 3f9982db..fffbf2c6 100644 --- a/ChibiOS/GHI_FEZ_CERB40_NF/nanoCLR/halconf_nf.h +++ b/ChibiOS/GHI_FEZ_CERB40_NF/nanoCLR/halconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) @@ -16,5 +16,5 @@ #define HAL_NF_USE_STM32_CAN FALSE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/GHI_FEZ_CERB40_NF/nanoCLR/mcuconf_nf.h b/ChibiOS/GHI_FEZ_CERB40_NF/nanoCLR/mcuconf_nf.h index f05caa0b..b9f9ee0c 100644 --- a/ChibiOS/GHI_FEZ_CERB40_NF/nanoCLR/mcuconf_nf.h +++ b/ChibiOS/GHI_FEZ_CERB40_NF/nanoCLR/mcuconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/GHI_FEZ_CERB40_NF/nanoCLR/target_board.h.in b/ChibiOS/GHI_FEZ_CERB40_NF/nanoCLR/target_board.h.in index 5c88b00a..53a87fce 100644 --- a/ChibiOS/GHI_FEZ_CERB40_NF/nanoCLR/target_board.h.in +++ b/ChibiOS/GHI_FEZ_CERB40_NF/nanoCLR/target_board.h.in @@ -8,11 +8,11 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOCLR_H_ -#define _TARGET_BOARD_NANOCLR_H_ +#ifndef TARGET_BOARD_NANOCLR_H +#define TARGET_BOARD_NANOCLR_H #include #define OEMSYSTEMINFOSTRING "nanoCLR running @ @TARGET_NAME@" -#endif /* _TARGET_BOARD_NANOCLR_H_ */ +#endif // TARGET_BOARD_NANOCLR_H diff --git a/ChibiOS/GHI_FEZ_CERB40_NF/target_BlockStorage.h b/ChibiOS/GHI_FEZ_CERB40_NF/target_BlockStorage.h index 8a56d0ee..eac9e104 100644 --- a/ChibiOS/GHI_FEZ_CERB40_NF/target_BlockStorage.h +++ b/ChibiOS/GHI_FEZ_CERB40_NF/target_BlockStorage.h @@ -3,10 +3,10 @@ // See LICENSE file in the project root for full license information. // -#ifndef _TARGETPAL_BLOCKSTORAGE_H_ -#define _TARGETPAL_BLOCKSTORAGE_H_ 1 +#ifndef TARGETPAL_BLOCKSTORAGE_H +#define TARGETPAL_BLOCKSTORAGE_H // this device has 1 block storage devices #define TARGET_BLOCKSTORAGE_COUNT 1 -#endif //_TARGETPAL_BLOCKSTORAGE_H_ +#endif //TARGETPAL_BLOCKSTORAGE_H diff --git a/ChibiOS/GHI_FEZ_CERB40_NF/target_common.h.in b/ChibiOS/GHI_FEZ_CERB40_NF/target_common.h.in index c99ee6a1..11ec3fd3 100644 --- a/ChibiOS/GHI_FEZ_CERB40_NF/target_common.h.in +++ b/ChibiOS/GHI_FEZ_CERB40_NF/target_common.h.in @@ -8,10 +8,8 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_COMMON_H_ -#define _TARGET_COMMON_H_ - -#include +#ifndef TARGET_COMMON_H +#define TARGET_COMMON_H ///////////////////////////////////////////////////////////////////////////////////////// // The following addresses and sizes should be filled in according to the SoC data-sheet @@ -34,4 +32,4 @@ #define PLATFORMNAMESTRING "STM32F4" /////////////////////////////////////////////// -#endif /* _TARGET_COMMON_H_ */ +#endif // TARGET_COMMON_H diff --git a/ChibiOS/I2M_ELECTRON_NF/nanoBooter/halconf_nf.h b/ChibiOS/I2M_ELECTRON_NF/nanoBooter/halconf_nf.h index 4ddadac7..22fa6e58 100644 --- a/ChibiOS/I2M_ELECTRON_NF/nanoBooter/halconf_nf.h +++ b/ChibiOS/I2M_ELECTRON_NF/nanoBooter/halconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) @@ -15,5 +15,5 @@ #define HAL_NF_USE_STM32_RNG FALSE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/I2M_ELECTRON_NF/nanoBooter/mcuconf_nf.h b/ChibiOS/I2M_ELECTRON_NF/nanoBooter/mcuconf_nf.h index f05caa0b..b9f9ee0c 100644 --- a/ChibiOS/I2M_ELECTRON_NF/nanoBooter/mcuconf_nf.h +++ b/ChibiOS/I2M_ELECTRON_NF/nanoBooter/mcuconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/I2M_ELECTRON_NF/nanoBooter/target_board.h.in b/ChibiOS/I2M_ELECTRON_NF/nanoBooter/target_board.h.in index 38200547..ac85c850 100644 --- a/ChibiOS/I2M_ELECTRON_NF/nanoBooter/target_board.h.in +++ b/ChibiOS/I2M_ELECTRON_NF/nanoBooter/target_board.h.in @@ -8,11 +8,11 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOBOOTER_H_ -#define _TARGET_BOARD_NANOBOOTER_H_ +#ifndef TARGET_BOARD_NANOBOOTER_H +#define TARGET_BOARD_NANOBOOTER_H #include #define OEMSYSTEMINFOSTRING "nanoBooter running @ @TARGET_NAME@" -#endif /* _TARGET_BOARD_NANOBOOTER_H_ */ +#endif // TARGET_BOARD_NANOBOOTER_H diff --git a/ChibiOS/I2M_ELECTRON_NF/nanoCLR/halconf_nf.h b/ChibiOS/I2M_ELECTRON_NF/nanoCLR/halconf_nf.h index 4ddadac7..22fa6e58 100644 --- a/ChibiOS/I2M_ELECTRON_NF/nanoCLR/halconf_nf.h +++ b/ChibiOS/I2M_ELECTRON_NF/nanoCLR/halconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) @@ -15,5 +15,5 @@ #define HAL_NF_USE_STM32_RNG FALSE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/I2M_ELECTRON_NF/nanoCLR/mcuconf_nf.h b/ChibiOS/I2M_ELECTRON_NF/nanoCLR/mcuconf_nf.h index f05caa0b..b9f9ee0c 100644 --- a/ChibiOS/I2M_ELECTRON_NF/nanoCLR/mcuconf_nf.h +++ b/ChibiOS/I2M_ELECTRON_NF/nanoCLR/mcuconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/I2M_ELECTRON_NF/nanoCLR/target_board.h.in b/ChibiOS/I2M_ELECTRON_NF/nanoCLR/target_board.h.in index 5c88b00a..53a87fce 100644 --- a/ChibiOS/I2M_ELECTRON_NF/nanoCLR/target_board.h.in +++ b/ChibiOS/I2M_ELECTRON_NF/nanoCLR/target_board.h.in @@ -8,11 +8,11 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOCLR_H_ -#define _TARGET_BOARD_NANOCLR_H_ +#ifndef TARGET_BOARD_NANOCLR_H +#define TARGET_BOARD_NANOCLR_H #include #define OEMSYSTEMINFOSTRING "nanoCLR running @ @TARGET_NAME@" -#endif /* _TARGET_BOARD_NANOCLR_H_ */ +#endif // TARGET_BOARD_NANOCLR_H diff --git a/ChibiOS/I2M_ELECTRON_NF/target_BlockStorage.h b/ChibiOS/I2M_ELECTRON_NF/target_BlockStorage.h index 8a56d0ee..eac9e104 100644 --- a/ChibiOS/I2M_ELECTRON_NF/target_BlockStorage.h +++ b/ChibiOS/I2M_ELECTRON_NF/target_BlockStorage.h @@ -3,10 +3,10 @@ // See LICENSE file in the project root for full license information. // -#ifndef _TARGETPAL_BLOCKSTORAGE_H_ -#define _TARGETPAL_BLOCKSTORAGE_H_ 1 +#ifndef TARGETPAL_BLOCKSTORAGE_H +#define TARGETPAL_BLOCKSTORAGE_H // this device has 1 block storage devices #define TARGET_BLOCKSTORAGE_COUNT 1 -#endif //_TARGETPAL_BLOCKSTORAGE_H_ +#endif //TARGETPAL_BLOCKSTORAGE_H diff --git a/ChibiOS/I2M_ELECTRON_NF/target_common.h.in b/ChibiOS/I2M_ELECTRON_NF/target_common.h.in index d42e44a2..a619771f 100644 --- a/ChibiOS/I2M_ELECTRON_NF/target_common.h.in +++ b/ChibiOS/I2M_ELECTRON_NF/target_common.h.in @@ -8,10 +8,8 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_COMMON_H_ -#define _TARGET_COMMON_H_ - -#include +#ifndef TARGET_COMMON_H +#define TARGET_COMMON_H ///////////////////////////////////////////////////////////////////////////////////////// // The following addresses and sizes should be filled in according to the SoC data-sheet @@ -34,4 +32,4 @@ #define PLATFORMNAMESTRING "STM32F4" /////////////////////////////////////////////// -#endif /* _TARGET_COMMON_H_ */ +#endif // TARGET_COMMON_H diff --git a/ChibiOS/I2M_OXYGEN_NF/nanoBooter/halconf_nf.h b/ChibiOS/I2M_OXYGEN_NF/nanoBooter/halconf_nf.h index 4ddadac7..22fa6e58 100644 --- a/ChibiOS/I2M_OXYGEN_NF/nanoBooter/halconf_nf.h +++ b/ChibiOS/I2M_OXYGEN_NF/nanoBooter/halconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) @@ -15,5 +15,5 @@ #define HAL_NF_USE_STM32_RNG FALSE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/I2M_OXYGEN_NF/nanoBooter/mcuconf_nf.h b/ChibiOS/I2M_OXYGEN_NF/nanoBooter/mcuconf_nf.h index f05caa0b..b9f9ee0c 100644 --- a/ChibiOS/I2M_OXYGEN_NF/nanoBooter/mcuconf_nf.h +++ b/ChibiOS/I2M_OXYGEN_NF/nanoBooter/mcuconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/I2M_OXYGEN_NF/nanoBooter/target_board.h.in b/ChibiOS/I2M_OXYGEN_NF/nanoBooter/target_board.h.in index 38200547..ac85c850 100644 --- a/ChibiOS/I2M_OXYGEN_NF/nanoBooter/target_board.h.in +++ b/ChibiOS/I2M_OXYGEN_NF/nanoBooter/target_board.h.in @@ -8,11 +8,11 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOBOOTER_H_ -#define _TARGET_BOARD_NANOBOOTER_H_ +#ifndef TARGET_BOARD_NANOBOOTER_H +#define TARGET_BOARD_NANOBOOTER_H #include #define OEMSYSTEMINFOSTRING "nanoBooter running @ @TARGET_NAME@" -#endif /* _TARGET_BOARD_NANOBOOTER_H_ */ +#endif // TARGET_BOARD_NANOBOOTER_H diff --git a/ChibiOS/I2M_OXYGEN_NF/nanoCLR/halconf_nf.h b/ChibiOS/I2M_OXYGEN_NF/nanoCLR/halconf_nf.h index 4ddadac7..22fa6e58 100644 --- a/ChibiOS/I2M_OXYGEN_NF/nanoCLR/halconf_nf.h +++ b/ChibiOS/I2M_OXYGEN_NF/nanoCLR/halconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) @@ -15,5 +15,5 @@ #define HAL_NF_USE_STM32_RNG FALSE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/I2M_OXYGEN_NF/nanoCLR/mcuconf_nf.h b/ChibiOS/I2M_OXYGEN_NF/nanoCLR/mcuconf_nf.h index f05caa0b..b9f9ee0c 100644 --- a/ChibiOS/I2M_OXYGEN_NF/nanoCLR/mcuconf_nf.h +++ b/ChibiOS/I2M_OXYGEN_NF/nanoCLR/mcuconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/I2M_OXYGEN_NF/nanoCLR/target_board.h.in b/ChibiOS/I2M_OXYGEN_NF/nanoCLR/target_board.h.in index 5c88b00a..53a87fce 100644 --- a/ChibiOS/I2M_OXYGEN_NF/nanoCLR/target_board.h.in +++ b/ChibiOS/I2M_OXYGEN_NF/nanoCLR/target_board.h.in @@ -8,11 +8,11 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOCLR_H_ -#define _TARGET_BOARD_NANOCLR_H_ +#ifndef TARGET_BOARD_NANOCLR_H +#define TARGET_BOARD_NANOCLR_H #include #define OEMSYSTEMINFOSTRING "nanoCLR running @ @TARGET_NAME@" -#endif /* _TARGET_BOARD_NANOCLR_H_ */ +#endif // TARGET_BOARD_NANOCLR_H diff --git a/ChibiOS/I2M_OXYGEN_NF/target_BlockStorage.h b/ChibiOS/I2M_OXYGEN_NF/target_BlockStorage.h index 8a56d0ee..eac9e104 100644 --- a/ChibiOS/I2M_OXYGEN_NF/target_BlockStorage.h +++ b/ChibiOS/I2M_OXYGEN_NF/target_BlockStorage.h @@ -3,10 +3,10 @@ // See LICENSE file in the project root for full license information. // -#ifndef _TARGETPAL_BLOCKSTORAGE_H_ -#define _TARGETPAL_BLOCKSTORAGE_H_ 1 +#ifndef TARGETPAL_BLOCKSTORAGE_H +#define TARGETPAL_BLOCKSTORAGE_H // this device has 1 block storage devices #define TARGET_BLOCKSTORAGE_COUNT 1 -#endif //_TARGETPAL_BLOCKSTORAGE_H_ +#endif //TARGETPAL_BLOCKSTORAGE_H diff --git a/ChibiOS/I2M_OXYGEN_NF/target_common.h.in b/ChibiOS/I2M_OXYGEN_NF/target_common.h.in index d42e44a2..a619771f 100644 --- a/ChibiOS/I2M_OXYGEN_NF/target_common.h.in +++ b/ChibiOS/I2M_OXYGEN_NF/target_common.h.in @@ -8,10 +8,8 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_COMMON_H_ -#define _TARGET_COMMON_H_ - -#include +#ifndef TARGET_COMMON_H +#define TARGET_COMMON_H ///////////////////////////////////////////////////////////////////////////////////////// // The following addresses and sizes should be filled in according to the SoC data-sheet @@ -34,4 +32,4 @@ #define PLATFORMNAMESTRING "STM32F4" /////////////////////////////////////////////// -#endif /* _TARGET_COMMON_H_ */ +#endif // TARGET_COMMON_H diff --git a/ChibiOS/MBN_QUAIL/nanoBooter/halconf_nf.h b/ChibiOS/MBN_QUAIL/nanoBooter/halconf_nf.h index 83ae9e61..1b4a9bd8 100644 --- a/ChibiOS/MBN_QUAIL/nanoBooter/halconf_nf.h +++ b/ChibiOS/MBN_QUAIL/nanoBooter/halconf_nf.h @@ -3,13 +3,13 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) #define HAL_NF_USE_STM32_FLASH TRUE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/MBN_QUAIL/nanoBooter/mcuconf_nf.h b/ChibiOS/MBN_QUAIL/nanoBooter/mcuconf_nf.h index f05caa0b..b9f9ee0c 100644 --- a/ChibiOS/MBN_QUAIL/nanoBooter/mcuconf_nf.h +++ b/ChibiOS/MBN_QUAIL/nanoBooter/mcuconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/MBN_QUAIL/nanoBooter/target_board.h.in b/ChibiOS/MBN_QUAIL/nanoBooter/target_board.h.in index 38200547..ac85c850 100644 --- a/ChibiOS/MBN_QUAIL/nanoBooter/target_board.h.in +++ b/ChibiOS/MBN_QUAIL/nanoBooter/target_board.h.in @@ -8,11 +8,11 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOBOOTER_H_ -#define _TARGET_BOARD_NANOBOOTER_H_ +#ifndef TARGET_BOARD_NANOBOOTER_H +#define TARGET_BOARD_NANOBOOTER_H #include #define OEMSYSTEMINFOSTRING "nanoBooter running @ @TARGET_NAME@" -#endif /* _TARGET_BOARD_NANOBOOTER_H_ */ +#endif // TARGET_BOARD_NANOBOOTER_H diff --git a/ChibiOS/MBN_QUAIL/nanoCLR/halconf_nf.h b/ChibiOS/MBN_QUAIL/nanoCLR/halconf_nf.h index 80248bb4..e979c1fa 100644 --- a/ChibiOS/MBN_QUAIL/nanoCLR/halconf_nf.h +++ b/ChibiOS/MBN_QUAIL/nanoCLR/halconf_nf.h @@ -3,12 +3,12 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) #define HAL_NF_USE_STM32_FLASH TRUE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/MBN_QUAIL/nanoCLR/mcuconf_nf.h b/ChibiOS/MBN_QUAIL/nanoCLR/mcuconf_nf.h index f05caa0b..b9f9ee0c 100644 --- a/ChibiOS/MBN_QUAIL/nanoCLR/mcuconf_nf.h +++ b/ChibiOS/MBN_QUAIL/nanoCLR/mcuconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/MBN_QUAIL/nanoCLR/target_board.h.in b/ChibiOS/MBN_QUAIL/nanoCLR/target_board.h.in index 5c88b00a..53a87fce 100644 --- a/ChibiOS/MBN_QUAIL/nanoCLR/target_board.h.in +++ b/ChibiOS/MBN_QUAIL/nanoCLR/target_board.h.in @@ -8,11 +8,11 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOCLR_H_ -#define _TARGET_BOARD_NANOCLR_H_ +#ifndef TARGET_BOARD_NANOCLR_H +#define TARGET_BOARD_NANOCLR_H #include #define OEMSYSTEMINFOSTRING "nanoCLR running @ @TARGET_NAME@" -#endif /* _TARGET_BOARD_NANOCLR_H_ */ +#endif // TARGET_BOARD_NANOCLR_H diff --git a/ChibiOS/MBN_QUAIL/target_BlockStorage.h b/ChibiOS/MBN_QUAIL/target_BlockStorage.h index 8a56d0ee..eac9e104 100644 --- a/ChibiOS/MBN_QUAIL/target_BlockStorage.h +++ b/ChibiOS/MBN_QUAIL/target_BlockStorage.h @@ -3,10 +3,10 @@ // See LICENSE file in the project root for full license information. // -#ifndef _TARGETPAL_BLOCKSTORAGE_H_ -#define _TARGETPAL_BLOCKSTORAGE_H_ 1 +#ifndef TARGETPAL_BLOCKSTORAGE_H +#define TARGETPAL_BLOCKSTORAGE_H // this device has 1 block storage devices #define TARGET_BLOCKSTORAGE_COUNT 1 -#endif //_TARGETPAL_BLOCKSTORAGE_H_ +#endif //TARGETPAL_BLOCKSTORAGE_H diff --git a/ChibiOS/MBN_QUAIL/target_common.h.in b/ChibiOS/MBN_QUAIL/target_common.h.in index 0331fab7..9d467d69 100644 --- a/ChibiOS/MBN_QUAIL/target_common.h.in +++ b/ChibiOS/MBN_QUAIL/target_common.h.in @@ -8,12 +8,8 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_COMMON_H_ -#define _TARGET_COMMON_H_ - -#include - -///////////////////////////////////////////////////////////////////////////////////////// +#ifndef TARGET_COMMON_H +#define TARGET_COMMON_H // The following addresses and sizes should be filled in according to the SoC data-sheet // they also must be coherent with what's in the linker file for nanoBooter and nanoCLR @@ -38,4 +34,4 @@ //#define EVENTS_HEART_BEAT palToggleLine(GPIOE_LED1) ///////////////////////////////////// -#endif /* _TARGET_COMMON_H_ */ +#endif // TARGET_COMMON_H diff --git a/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoBooter/halconf_nf.h b/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoBooter/halconf_nf.h index 83ae9e61..1b4a9bd8 100644 --- a/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoBooter/halconf_nf.h +++ b/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoBooter/halconf_nf.h @@ -3,13 +3,13 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) #define HAL_NF_USE_STM32_FLASH TRUE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoBooter/mcuconf_nf.h b/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoBooter/mcuconf_nf.h index 7c689dd2..35e74e10 100644 --- a/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoBooter/mcuconf_nf.h +++ b/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoBooter/mcuconf_nf.h @@ -3,7 +3,7 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoBooter/target_board.h.in b/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoBooter/target_board.h.in index 38200547..ac85c850 100644 --- a/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoBooter/target_board.h.in +++ b/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoBooter/target_board.h.in @@ -8,11 +8,11 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOBOOTER_H_ -#define _TARGET_BOARD_NANOBOOTER_H_ +#ifndef TARGET_BOARD_NANOBOOTER_H +#define TARGET_BOARD_NANOBOOTER_H #include #define OEMSYSTEMINFOSTRING "nanoBooter running @ @TARGET_NAME@" -#endif /* _TARGET_BOARD_NANOBOOTER_H_ */ +#endif // TARGET_BOARD_NANOBOOTER_H diff --git a/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoCLR/halconf_nf.h b/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoCLR/halconf_nf.h index 80248bb4..e979c1fa 100644 --- a/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoCLR/halconf_nf.h +++ b/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoCLR/halconf_nf.h @@ -3,12 +3,12 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) #define HAL_NF_USE_STM32_FLASH TRUE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoCLR/mcuconf_nf.h b/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoCLR/mcuconf_nf.h index 7c689dd2..35e74e10 100644 --- a/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoCLR/mcuconf_nf.h +++ b/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoCLR/mcuconf_nf.h @@ -3,7 +3,7 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoCLR/target_board.h.in b/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoCLR/target_board.h.in index 5c88b00a..53a87fce 100644 --- a/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoCLR/target_board.h.in +++ b/ChibiOS/ST_NUCLEO144_F412ZG_NF/nanoCLR/target_board.h.in @@ -8,11 +8,11 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOCLR_H_ -#define _TARGET_BOARD_NANOCLR_H_ +#ifndef TARGET_BOARD_NANOCLR_H +#define TARGET_BOARD_NANOCLR_H #include #define OEMSYSTEMINFOSTRING "nanoCLR running @ @TARGET_NAME@" -#endif /* _TARGET_BOARD_NANOCLR_H_ */ +#endif // TARGET_BOARD_NANOCLR_H diff --git a/ChibiOS/ST_NUCLEO144_F412ZG_NF/target_BlockStorage.h b/ChibiOS/ST_NUCLEO144_F412ZG_NF/target_BlockStorage.h index 8a56d0ee..eac9e104 100644 --- a/ChibiOS/ST_NUCLEO144_F412ZG_NF/target_BlockStorage.h +++ b/ChibiOS/ST_NUCLEO144_F412ZG_NF/target_BlockStorage.h @@ -3,10 +3,10 @@ // See LICENSE file in the project root for full license information. // -#ifndef _TARGETPAL_BLOCKSTORAGE_H_ -#define _TARGETPAL_BLOCKSTORAGE_H_ 1 +#ifndef TARGETPAL_BLOCKSTORAGE_H +#define TARGETPAL_BLOCKSTORAGE_H // this device has 1 block storage devices #define TARGET_BLOCKSTORAGE_COUNT 1 -#endif //_TARGETPAL_BLOCKSTORAGE_H_ +#endif //TARGETPAL_BLOCKSTORAGE_H diff --git a/ChibiOS/ST_NUCLEO144_F412ZG_NF/target_common.h.in b/ChibiOS/ST_NUCLEO144_F412ZG_NF/target_common.h.in index 3f89ea05..5a8c064a 100644 --- a/ChibiOS/ST_NUCLEO144_F412ZG_NF/target_common.h.in +++ b/ChibiOS/ST_NUCLEO144_F412ZG_NF/target_common.h.in @@ -8,14 +8,8 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_COMMON_H_ -#define _TARGET_COMMON_H_ - -#include - -///////////////////////////////////////////////////////////////////////////////////////// -// The following addresses and sizes should be filled in according to the SoC data-sheet -// they also must be coherent with what's in the linker file for nanoBooter and nanoCLR +#ifndef TARGET_COMMON_H +#define TARGET_COMMON_H // RAM base address #define RAM1_MEMORY_StartAddress ((uint32_t)0x200000C0) @@ -34,4 +28,4 @@ #define PLATFORMNAMESTRING "STM32F4" /////////////////////////////////////////////// -#endif /* _TARGET_COMMON_H_ */ +#endif // TARGET_COMMON_H diff --git a/ChibiOS/ST_NUCLEO144_F439ZI/lwipopts.h b/ChibiOS/ST_NUCLEO144_F439ZI/lwipopts.h index 18dd6192..60fb4602 100644 --- a/ChibiOS/ST_NUCLEO144_F439ZI/lwipopts.h +++ b/ChibiOS/ST_NUCLEO144_F439ZI/lwipopts.h @@ -40,8 +40,8 @@ * Author: Adam Dunkels * */ -#ifndef __LWIPOPT_H__ -#define __LWIPOPT_H__ +#ifndef LWIPOPT_H +#define LWIPOPT_H #define _REENT_ONLY @@ -2164,4 +2164,4 @@ // this requires adding an extra field in ChibiOS thread_t (see comment on platform_sys_arch.c) //#define LWIP_NETCONN_FULLDUPLEX 1 -#endif /* __LWIPOPT_H__ */ +#endif // _LWIPOPT_H */ diff --git a/ChibiOS/ST_NUCLEO144_F439ZI/nanoBooter/halconf_nf.h b/ChibiOS/ST_NUCLEO144_F439ZI/nanoBooter/halconf_nf.h index 5223e630..c3e09e4b 100644 --- a/ChibiOS/ST_NUCLEO144_F439ZI/nanoBooter/halconf_nf.h +++ b/ChibiOS/ST_NUCLEO144_F439ZI/nanoBooter/halconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // Enables the ChibiOS community overlay. #if !defined(HAL_NF_USE_COMMUNITY) @@ -16,5 +16,5 @@ #define HAL_NF_USE_STM32_FLASH TRUE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/ST_NUCLEO144_F439ZI/nanoBooter/mcuconf_nf.h b/ChibiOS/ST_NUCLEO144_F439ZI/nanoBooter/mcuconf_nf.h index 7c689dd2..35e74e10 100644 --- a/ChibiOS/ST_NUCLEO144_F439ZI/nanoBooter/mcuconf_nf.h +++ b/ChibiOS/ST_NUCLEO144_F439ZI/nanoBooter/mcuconf_nf.h @@ -3,7 +3,7 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/ST_NUCLEO144_F439ZI/nanoBooter/target_board.h.in b/ChibiOS/ST_NUCLEO144_F439ZI/nanoBooter/target_board.h.in index 38200547..ac85c850 100644 --- a/ChibiOS/ST_NUCLEO144_F439ZI/nanoBooter/target_board.h.in +++ b/ChibiOS/ST_NUCLEO144_F439ZI/nanoBooter/target_board.h.in @@ -8,11 +8,11 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOBOOTER_H_ -#define _TARGET_BOARD_NANOBOOTER_H_ +#ifndef TARGET_BOARD_NANOBOOTER_H +#define TARGET_BOARD_NANOBOOTER_H #include #define OEMSYSTEMINFOSTRING "nanoBooter running @ @TARGET_NAME@" -#endif /* _TARGET_BOARD_NANOBOOTER_H_ */ +#endif // TARGET_BOARD_NANOBOOTER_H diff --git a/ChibiOS/ST_NUCLEO144_F439ZI/nanoCLR/halconf_nf.h b/ChibiOS/ST_NUCLEO144_F439ZI/nanoCLR/halconf_nf.h index 3173a985..9b6238b4 100644 --- a/ChibiOS/ST_NUCLEO144_F439ZI/nanoCLR/halconf_nf.h +++ b/ChibiOS/ST_NUCLEO144_F439ZI/nanoCLR/halconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ 1 +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // Enables the ChibiOS community overlay. #if !defined(HAL_NF_USE_COMMUNITY) @@ -16,4 +16,4 @@ #define HAL_NF_USE_STM32_FLASH TRUE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/ST_NUCLEO144_F439ZI/nanoCLR/mcuconf_nf.h b/ChibiOS/ST_NUCLEO144_F439ZI/nanoCLR/mcuconf_nf.h index 7c689dd2..35e74e10 100644 --- a/ChibiOS/ST_NUCLEO144_F439ZI/nanoCLR/mcuconf_nf.h +++ b/ChibiOS/ST_NUCLEO144_F439ZI/nanoCLR/mcuconf_nf.h @@ -3,7 +3,7 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/ST_NUCLEO144_F439ZI/nanoCLR/target_board.h.in b/ChibiOS/ST_NUCLEO144_F439ZI/nanoCLR/target_board.h.in index 5c88b00a..53a87fce 100644 --- a/ChibiOS/ST_NUCLEO144_F439ZI/nanoCLR/target_board.h.in +++ b/ChibiOS/ST_NUCLEO144_F439ZI/nanoCLR/target_board.h.in @@ -8,11 +8,11 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOCLR_H_ -#define _TARGET_BOARD_NANOCLR_H_ +#ifndef TARGET_BOARD_NANOCLR_H +#define TARGET_BOARD_NANOCLR_H #include #define OEMSYSTEMINFOSTRING "nanoCLR running @ @TARGET_NAME@" -#endif /* _TARGET_BOARD_NANOCLR_H_ */ +#endif // TARGET_BOARD_NANOCLR_H diff --git a/ChibiOS/ST_NUCLEO144_F439ZI/target_BlockStorage.h b/ChibiOS/ST_NUCLEO144_F439ZI/target_BlockStorage.h index 8a56d0ee..eac9e104 100644 --- a/ChibiOS/ST_NUCLEO144_F439ZI/target_BlockStorage.h +++ b/ChibiOS/ST_NUCLEO144_F439ZI/target_BlockStorage.h @@ -3,10 +3,10 @@ // See LICENSE file in the project root for full license information. // -#ifndef _TARGETPAL_BLOCKSTORAGE_H_ -#define _TARGETPAL_BLOCKSTORAGE_H_ 1 +#ifndef TARGETPAL_BLOCKSTORAGE_H +#define TARGETPAL_BLOCKSTORAGE_H // this device has 1 block storage devices #define TARGET_BLOCKSTORAGE_COUNT 1 -#endif //_TARGETPAL_BLOCKSTORAGE_H_ +#endif //TARGETPAL_BLOCKSTORAGE_H diff --git a/ChibiOS/ST_NUCLEO144_F439ZI/target_common.h.in b/ChibiOS/ST_NUCLEO144_F439ZI/target_common.h.in index 47737a8d..33695212 100644 --- a/ChibiOS/ST_NUCLEO144_F439ZI/target_common.h.in +++ b/ChibiOS/ST_NUCLEO144_F439ZI/target_common.h.in @@ -8,10 +8,8 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_COMMON_H_ -#define _TARGET_COMMON_H_ - -#include +#ifndef TARGET_COMMON_H +#define TARGET_COMMON_H ///////////////////////////////////////////////////////////////////////////////////////// // The following addresses and sizes should be filled in according to the SoC data-sheet @@ -38,4 +36,4 @@ #define PLATFORM_HAS_RNG TRUE ///////////////////////////////////// -#endif /* _TARGET_COMMON_H_ */ +#endif // TARGET_COMMON_H diff --git a/ChibiOS/ST_NUCLEO144_F746ZG/lwipopts.h b/ChibiOS/ST_NUCLEO144_F746ZG/lwipopts.h index 18dd6192..60fb4602 100644 --- a/ChibiOS/ST_NUCLEO144_F746ZG/lwipopts.h +++ b/ChibiOS/ST_NUCLEO144_F746ZG/lwipopts.h @@ -40,8 +40,8 @@ * Author: Adam Dunkels * */ -#ifndef __LWIPOPT_H__ -#define __LWIPOPT_H__ +#ifndef LWIPOPT_H +#define LWIPOPT_H #define _REENT_ONLY @@ -2164,4 +2164,4 @@ // this requires adding an extra field in ChibiOS thread_t (see comment on platform_sys_arch.c) //#define LWIP_NETCONN_FULLDUPLEX 1 -#endif /* __LWIPOPT_H__ */ +#endif // _LWIPOPT_H */ diff --git a/ChibiOS/ST_NUCLEO144_F746ZG/nanoBooter/halconf_nf.h b/ChibiOS/ST_NUCLEO144_F746ZG/nanoBooter/halconf_nf.h index 83ae9e61..1b4a9bd8 100644 --- a/ChibiOS/ST_NUCLEO144_F746ZG/nanoBooter/halconf_nf.h +++ b/ChibiOS/ST_NUCLEO144_F746ZG/nanoBooter/halconf_nf.h @@ -3,13 +3,13 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) #define HAL_NF_USE_STM32_FLASH TRUE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/ST_NUCLEO144_F746ZG/nanoBooter/mcuconf_nf.h b/ChibiOS/ST_NUCLEO144_F746ZG/nanoBooter/mcuconf_nf.h index 7c689dd2..35e74e10 100644 --- a/ChibiOS/ST_NUCLEO144_F746ZG/nanoBooter/mcuconf_nf.h +++ b/ChibiOS/ST_NUCLEO144_F746ZG/nanoBooter/mcuconf_nf.h @@ -3,7 +3,7 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/ST_NUCLEO144_F746ZG/nanoBooter/target_board.h.in b/ChibiOS/ST_NUCLEO144_F746ZG/nanoBooter/target_board.h.in index 38200547..ac85c850 100644 --- a/ChibiOS/ST_NUCLEO144_F746ZG/nanoBooter/target_board.h.in +++ b/ChibiOS/ST_NUCLEO144_F746ZG/nanoBooter/target_board.h.in @@ -8,11 +8,11 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOBOOTER_H_ -#define _TARGET_BOARD_NANOBOOTER_H_ +#ifndef TARGET_BOARD_NANOBOOTER_H +#define TARGET_BOARD_NANOBOOTER_H #include #define OEMSYSTEMINFOSTRING "nanoBooter running @ @TARGET_NAME@" -#endif /* _TARGET_BOARD_NANOBOOTER_H_ */ +#endif // TARGET_BOARD_NANOBOOTER_H diff --git a/ChibiOS/ST_NUCLEO144_F746ZG/nanoCLR/halconf_nf.h b/ChibiOS/ST_NUCLEO144_F746ZG/nanoCLR/halconf_nf.h index b1e8f715..e979c1fa 100644 --- a/ChibiOS/ST_NUCLEO144_F746ZG/nanoCLR/halconf_nf.h +++ b/ChibiOS/ST_NUCLEO144_F746ZG/nanoCLR/halconf_nf.h @@ -3,12 +3,12 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ 1 +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) #define HAL_NF_USE_STM32_FLASH TRUE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/ST_NUCLEO144_F746ZG/nanoCLR/mcuconf_nf.h b/ChibiOS/ST_NUCLEO144_F746ZG/nanoCLR/mcuconf_nf.h index 7c689dd2..35e74e10 100644 --- a/ChibiOS/ST_NUCLEO144_F746ZG/nanoCLR/mcuconf_nf.h +++ b/ChibiOS/ST_NUCLEO144_F746ZG/nanoCLR/mcuconf_nf.h @@ -3,7 +3,7 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/ST_NUCLEO144_F746ZG/nanoCLR/target_board.h.in b/ChibiOS/ST_NUCLEO144_F746ZG/nanoCLR/target_board.h.in index 5c88b00a..53a87fce 100644 --- a/ChibiOS/ST_NUCLEO144_F746ZG/nanoCLR/target_board.h.in +++ b/ChibiOS/ST_NUCLEO144_F746ZG/nanoCLR/target_board.h.in @@ -8,11 +8,11 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOCLR_H_ -#define _TARGET_BOARD_NANOCLR_H_ +#ifndef TARGET_BOARD_NANOCLR_H +#define TARGET_BOARD_NANOCLR_H #include #define OEMSYSTEMINFOSTRING "nanoCLR running @ @TARGET_NAME@" -#endif /* _TARGET_BOARD_NANOCLR_H_ */ +#endif // TARGET_BOARD_NANOCLR_H diff --git a/ChibiOS/ST_NUCLEO144_F746ZG/target_BlockStorage.h b/ChibiOS/ST_NUCLEO144_F746ZG/target_BlockStorage.h index 8a56d0ee..eac9e104 100644 --- a/ChibiOS/ST_NUCLEO144_F746ZG/target_BlockStorage.h +++ b/ChibiOS/ST_NUCLEO144_F746ZG/target_BlockStorage.h @@ -3,10 +3,10 @@ // See LICENSE file in the project root for full license information. // -#ifndef _TARGETPAL_BLOCKSTORAGE_H_ -#define _TARGETPAL_BLOCKSTORAGE_H_ 1 +#ifndef TARGETPAL_BLOCKSTORAGE_H +#define TARGETPAL_BLOCKSTORAGE_H // this device has 1 block storage devices #define TARGET_BLOCKSTORAGE_COUNT 1 -#endif //_TARGETPAL_BLOCKSTORAGE_H_ +#endif //TARGETPAL_BLOCKSTORAGE_H diff --git a/ChibiOS/ST_NUCLEO144_F746ZG/target_common.h.in b/ChibiOS/ST_NUCLEO144_F746ZG/target_common.h.in index 167dea54..9f4768d0 100644 --- a/ChibiOS/ST_NUCLEO144_F746ZG/target_common.h.in +++ b/ChibiOS/ST_NUCLEO144_F746ZG/target_common.h.in @@ -8,10 +8,8 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_COMMON_H_ -#define _TARGET_COMMON_H_ - -#include +#ifndef TARGET_COMMON_H +#define TARGET_COMMON_H ///////////////////////////////////////////////////////////////////////////////////////// // The following addresses and sizes should be filled in according to the SoC data-sheet @@ -38,4 +36,4 @@ #define PLATFORM_HAS_RNG TRUE ///////////////////////////////////// -#endif /* _TARGET_COMMON_H_ */ +#endif // TARGET_COMMON_H diff --git a/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoBooter/halconf_nf.h b/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoBooter/halconf_nf.h index 4ddadac7..22fa6e58 100644 --- a/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoBooter/halconf_nf.h +++ b/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoBooter/halconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) @@ -15,5 +15,5 @@ #define HAL_NF_USE_STM32_RNG FALSE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoBooter/mcuconf_nf.h b/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoBooter/mcuconf_nf.h index f05caa0b..b9f9ee0c 100644 --- a/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoBooter/mcuconf_nf.h +++ b/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoBooter/mcuconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoBooter/target_board.h.in b/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoBooter/target_board.h.in index 38200547..ac85c850 100644 --- a/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoBooter/target_board.h.in +++ b/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoBooter/target_board.h.in @@ -8,11 +8,11 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOBOOTER_H_ -#define _TARGET_BOARD_NANOBOOTER_H_ +#ifndef TARGET_BOARD_NANOBOOTER_H +#define TARGET_BOARD_NANOBOOTER_H #include #define OEMSYSTEMINFOSTRING "nanoBooter running @ @TARGET_NAME@" -#endif /* _TARGET_BOARD_NANOBOOTER_H_ */ +#endif // TARGET_BOARD_NANOBOOTER_H diff --git a/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoCLR/halconf_nf.h b/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoCLR/halconf_nf.h index eb2956cb..8698f28c 100644 --- a/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoCLR/halconf_nf.h +++ b/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoCLR/halconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) @@ -21,4 +21,4 @@ #define HAL_NF_USE_STM32_RNG FALSE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoCLR/mcuconf_nf.h b/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoCLR/mcuconf_nf.h index f05caa0b..b9f9ee0c 100644 --- a/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoCLR/mcuconf_nf.h +++ b/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoCLR/mcuconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoCLR/target_board.h.in b/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoCLR/target_board.h.in index 5c88b00a..53a87fce 100644 --- a/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoCLR/target_board.h.in +++ b/ChibiOS/ST_NUCLEO64_F401RE_NF/nanoCLR/target_board.h.in @@ -8,11 +8,11 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOCLR_H_ -#define _TARGET_BOARD_NANOCLR_H_ +#ifndef TARGET_BOARD_NANOCLR_H +#define TARGET_BOARD_NANOCLR_H #include #define OEMSYSTEMINFOSTRING "nanoCLR running @ @TARGET_NAME@" -#endif /* _TARGET_BOARD_NANOCLR_H_ */ +#endif // TARGET_BOARD_NANOCLR_H diff --git a/ChibiOS/ST_NUCLEO64_F401RE_NF/target_BlockStorage.h b/ChibiOS/ST_NUCLEO64_F401RE_NF/target_BlockStorage.h index 8a56d0ee..eac9e104 100644 --- a/ChibiOS/ST_NUCLEO64_F401RE_NF/target_BlockStorage.h +++ b/ChibiOS/ST_NUCLEO64_F401RE_NF/target_BlockStorage.h @@ -3,10 +3,10 @@ // See LICENSE file in the project root for full license information. // -#ifndef _TARGETPAL_BLOCKSTORAGE_H_ -#define _TARGETPAL_BLOCKSTORAGE_H_ 1 +#ifndef TARGETPAL_BLOCKSTORAGE_H +#define TARGETPAL_BLOCKSTORAGE_H // this device has 1 block storage devices #define TARGET_BLOCKSTORAGE_COUNT 1 -#endif //_TARGETPAL_BLOCKSTORAGE_H_ +#endif //TARGETPAL_BLOCKSTORAGE_H diff --git a/ChibiOS/ST_NUCLEO64_F401RE_NF/target_common.h.in b/ChibiOS/ST_NUCLEO64_F401RE_NF/target_common.h.in index ace4608e..f46c765e 100644 --- a/ChibiOS/ST_NUCLEO64_F401RE_NF/target_common.h.in +++ b/ChibiOS/ST_NUCLEO64_F401RE_NF/target_common.h.in @@ -8,10 +8,8 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_COMMON_H_ -#define _TARGET_COMMON_H_ - -#include +#ifndef TARGET_COMMON_H +#define TARGET_COMMON_H ///////////////////////////////////////////////////////////////////////////////////////// // The following addresses and sizes should be filled in according to the SoC data-sheet @@ -34,4 +32,4 @@ #define PLATFORMNAMESTRING "STM32F4" /////////////////////////////////////////////// -#endif /* _TARGET_COMMON_H_ */ +#endif // TARGET_COMMON_H diff --git a/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoBooter/halconf_nf.h b/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoBooter/halconf_nf.h index 4ddadac7..22fa6e58 100644 --- a/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoBooter/halconf_nf.h +++ b/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoBooter/halconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) @@ -15,5 +15,5 @@ #define HAL_NF_USE_STM32_RNG FALSE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoBooter/mcuconf_nf.h b/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoBooter/mcuconf_nf.h index f05caa0b..b9f9ee0c 100644 --- a/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoBooter/mcuconf_nf.h +++ b/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoBooter/mcuconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoBooter/target_board.h.in b/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoBooter/target_board.h.in index ea0d4921..b13878b4 100644 --- a/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoBooter/target_board.h.in +++ b/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoBooter/target_board.h.in @@ -8,12 +8,12 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOBOOTER_H_ -#define _TARGET_BOARD_NANOBOOTER_H_ +#ifndef TARGET_BOARD_NANOBOOTER_H +#define TARGET_BOARD_NANOBOOTER_H #include #include #define OEMSYSTEMINFOSTRING "nanoBooter running @ @TARGET_NAME@" -#endif /* _TARGET_BOARD_NANOBOOTER_H_ */ +#endif // TARGET_BOARD_NANOBOOTER_H diff --git a/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoCLR/halconf_nf.h b/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoCLR/halconf_nf.h index 78131e10..0acb8620 100644 --- a/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoCLR/halconf_nf.h +++ b/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoCLR/halconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) @@ -21,4 +21,4 @@ #define HAL_NF_USE_STM32_RNG FALSE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoCLR/mcuconf_nf.h b/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoCLR/mcuconf_nf.h index f05caa0b..b9f9ee0c 100644 --- a/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoCLR/mcuconf_nf.h +++ b/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoCLR/mcuconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoCLR/target_board.h.in b/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoCLR/target_board.h.in index a5c85da2..9fe574a4 100644 --- a/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoCLR/target_board.h.in +++ b/ChibiOS/ST_NUCLEO64_F411RE_NF/nanoCLR/target_board.h.in @@ -8,12 +8,12 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOCLR_H_ -#define _TARGET_BOARD_NANOCLR_H_ +#ifndef TARGET_BOARD_NANOCLR_H +#define TARGET_BOARD_NANOCLR_H #include #include #define OEMSYSTEMINFOSTRING "nanoCLR running @ @TARGET_NAME@" -#endif /* _TARGET_BOARD_NANOCLR_H_ */ +#endif // TARGET_BOARD_NANOCLR_H diff --git a/ChibiOS/ST_NUCLEO64_F411RE_NF/target_BlockStorage.h b/ChibiOS/ST_NUCLEO64_F411RE_NF/target_BlockStorage.h index 8a56d0ee..eac9e104 100644 --- a/ChibiOS/ST_NUCLEO64_F411RE_NF/target_BlockStorage.h +++ b/ChibiOS/ST_NUCLEO64_F411RE_NF/target_BlockStorage.h @@ -3,10 +3,10 @@ // See LICENSE file in the project root for full license information. // -#ifndef _TARGETPAL_BLOCKSTORAGE_H_ -#define _TARGETPAL_BLOCKSTORAGE_H_ 1 +#ifndef TARGETPAL_BLOCKSTORAGE_H +#define TARGETPAL_BLOCKSTORAGE_H // this device has 1 block storage devices #define TARGET_BLOCKSTORAGE_COUNT 1 -#endif //_TARGETPAL_BLOCKSTORAGE_H_ +#endif //TARGETPAL_BLOCKSTORAGE_H diff --git a/ChibiOS/ST_NUCLEO64_F411RE_NF/target_common.h.in b/ChibiOS/ST_NUCLEO64_F411RE_NF/target_common.h.in index d42e44a2..a619771f 100644 --- a/ChibiOS/ST_NUCLEO64_F411RE_NF/target_common.h.in +++ b/ChibiOS/ST_NUCLEO64_F411RE_NF/target_common.h.in @@ -8,10 +8,8 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_COMMON_H_ -#define _TARGET_COMMON_H_ - -#include +#ifndef TARGET_COMMON_H +#define TARGET_COMMON_H ///////////////////////////////////////////////////////////////////////////////////////// // The following addresses and sizes should be filled in according to the SoC data-sheet @@ -34,4 +32,4 @@ #define PLATFORMNAMESTRING "STM32F4" /////////////////////////////////////////////// -#endif /* _TARGET_COMMON_H_ */ +#endif // TARGET_COMMON_H diff --git a/ChibiOS/ST_STM32F411_DISCOVERY/nanoBooter/halconf_nf.h b/ChibiOS/ST_STM32F411_DISCOVERY/nanoBooter/halconf_nf.h index 4ddadac7..22fa6e58 100644 --- a/ChibiOS/ST_STM32F411_DISCOVERY/nanoBooter/halconf_nf.h +++ b/ChibiOS/ST_STM32F411_DISCOVERY/nanoBooter/halconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) @@ -15,5 +15,5 @@ #define HAL_NF_USE_STM32_RNG FALSE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/ST_STM32F411_DISCOVERY/nanoBooter/mcuconf_nf.h b/ChibiOS/ST_STM32F411_DISCOVERY/nanoBooter/mcuconf_nf.h index f05caa0b..b9f9ee0c 100644 --- a/ChibiOS/ST_STM32F411_DISCOVERY/nanoBooter/mcuconf_nf.h +++ b/ChibiOS/ST_STM32F411_DISCOVERY/nanoBooter/mcuconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/ST_STM32F411_DISCOVERY/nanoBooter/target_board.h.in b/ChibiOS/ST_STM32F411_DISCOVERY/nanoBooter/target_board.h.in index 38200547..ac85c850 100644 --- a/ChibiOS/ST_STM32F411_DISCOVERY/nanoBooter/target_board.h.in +++ b/ChibiOS/ST_STM32F411_DISCOVERY/nanoBooter/target_board.h.in @@ -8,11 +8,11 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOBOOTER_H_ -#define _TARGET_BOARD_NANOBOOTER_H_ +#ifndef TARGET_BOARD_NANOBOOTER_H +#define TARGET_BOARD_NANOBOOTER_H #include #define OEMSYSTEMINFOSTRING "nanoBooter running @ @TARGET_NAME@" -#endif /* _TARGET_BOARD_NANOBOOTER_H_ */ +#endif // TARGET_BOARD_NANOBOOTER_H diff --git a/ChibiOS/ST_STM32F411_DISCOVERY/nanoCLR/halconf_nf.h b/ChibiOS/ST_STM32F411_DISCOVERY/nanoCLR/halconf_nf.h index 0fd6f7e9..16bcf1f3 100644 --- a/ChibiOS/ST_STM32F411_DISCOVERY/nanoCLR/halconf_nf.h +++ b/ChibiOS/ST_STM32F411_DISCOVERY/nanoCLR/halconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ 1 +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) @@ -31,4 +31,4 @@ #define HAL_NF_USE_STM32_QSPI FALSE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/ST_STM32F411_DISCOVERY/nanoCLR/mcuconf_nf.h b/ChibiOS/ST_STM32F411_DISCOVERY/nanoCLR/mcuconf_nf.h index f05caa0b..b9f9ee0c 100644 --- a/ChibiOS/ST_STM32F411_DISCOVERY/nanoCLR/mcuconf_nf.h +++ b/ChibiOS/ST_STM32F411_DISCOVERY/nanoCLR/mcuconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/ST_STM32F411_DISCOVERY/nanoCLR/target_board.h.in b/ChibiOS/ST_STM32F411_DISCOVERY/nanoCLR/target_board.h.in index 5c88b00a..53a87fce 100644 --- a/ChibiOS/ST_STM32F411_DISCOVERY/nanoCLR/target_board.h.in +++ b/ChibiOS/ST_STM32F411_DISCOVERY/nanoCLR/target_board.h.in @@ -8,11 +8,11 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOCLR_H_ -#define _TARGET_BOARD_NANOCLR_H_ +#ifndef TARGET_BOARD_NANOCLR_H +#define TARGET_BOARD_NANOCLR_H #include #define OEMSYSTEMINFOSTRING "nanoCLR running @ @TARGET_NAME@" -#endif /* _TARGET_BOARD_NANOCLR_H_ */ +#endif // TARGET_BOARD_NANOCLR_H diff --git a/ChibiOS/ST_STM32F411_DISCOVERY/target_BlockStorage.h b/ChibiOS/ST_STM32F411_DISCOVERY/target_BlockStorage.h index 8a56d0ee..eac9e104 100644 --- a/ChibiOS/ST_STM32F411_DISCOVERY/target_BlockStorage.h +++ b/ChibiOS/ST_STM32F411_DISCOVERY/target_BlockStorage.h @@ -3,10 +3,10 @@ // See LICENSE file in the project root for full license information. // -#ifndef _TARGETPAL_BLOCKSTORAGE_H_ -#define _TARGETPAL_BLOCKSTORAGE_H_ 1 +#ifndef TARGETPAL_BLOCKSTORAGE_H +#define TARGETPAL_BLOCKSTORAGE_H // this device has 1 block storage devices #define TARGET_BLOCKSTORAGE_COUNT 1 -#endif //_TARGETPAL_BLOCKSTORAGE_H_ +#endif //TARGETPAL_BLOCKSTORAGE_H diff --git a/ChibiOS/ST_STM32F411_DISCOVERY/target_common.h.in b/ChibiOS/ST_STM32F411_DISCOVERY/target_common.h.in index d42e44a2..190dc14b 100644 --- a/ChibiOS/ST_STM32F411_DISCOVERY/target_common.h.in +++ b/ChibiOS/ST_STM32F411_DISCOVERY/target_common.h.in @@ -8,12 +8,8 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_COMMON_H_ -#define _TARGET_COMMON_H_ - -#include - -///////////////////////////////////////////////////////////////////////////////////////// +#ifndef TARGET_COMMON_H +#define TARGET_COMMON_H // The following addresses and sizes should be filled in according to the SoC data-sheet // they also must be coherent with what's in the linker file for nanoBooter and nanoCLR @@ -34,4 +30,4 @@ #define PLATFORMNAMESTRING "STM32F4" /////////////////////////////////////////////// -#endif /* _TARGET_COMMON_H_ */ +#endif // TARGET_COMMON_H diff --git a/ChibiOS/ST_STM32F4_DISCOVERY/nanoBooter/halconf_nf.h b/ChibiOS/ST_STM32F4_DISCOVERY/nanoBooter/halconf_nf.h index 83ae9e61..1b4a9bd8 100644 --- a/ChibiOS/ST_STM32F4_DISCOVERY/nanoBooter/halconf_nf.h +++ b/ChibiOS/ST_STM32F4_DISCOVERY/nanoBooter/halconf_nf.h @@ -3,13 +3,13 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) #define HAL_NF_USE_STM32_FLASH TRUE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/ST_STM32F4_DISCOVERY/nanoBooter/mcuconf_nf.h b/ChibiOS/ST_STM32F4_DISCOVERY/nanoBooter/mcuconf_nf.h index f05caa0b..b9f9ee0c 100644 --- a/ChibiOS/ST_STM32F4_DISCOVERY/nanoBooter/mcuconf_nf.h +++ b/ChibiOS/ST_STM32F4_DISCOVERY/nanoBooter/mcuconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/ST_STM32F4_DISCOVERY/nanoBooter/target_board.h.in b/ChibiOS/ST_STM32F4_DISCOVERY/nanoBooter/target_board.h.in index 38200547..ac85c850 100644 --- a/ChibiOS/ST_STM32F4_DISCOVERY/nanoBooter/target_board.h.in +++ b/ChibiOS/ST_STM32F4_DISCOVERY/nanoBooter/target_board.h.in @@ -8,11 +8,11 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOBOOTER_H_ -#define _TARGET_BOARD_NANOBOOTER_H_ +#ifndef TARGET_BOARD_NANOBOOTER_H +#define TARGET_BOARD_NANOBOOTER_H #include #define OEMSYSTEMINFOSTRING "nanoBooter running @ @TARGET_NAME@" -#endif /* _TARGET_BOARD_NANOBOOTER_H_ */ +#endif // TARGET_BOARD_NANOBOOTER_H diff --git a/ChibiOS/ST_STM32F4_DISCOVERY/nanoCLR/halconf_nf.h b/ChibiOS/ST_STM32F4_DISCOVERY/nanoCLR/halconf_nf.h index 5089080f..af33bb4f 100644 --- a/ChibiOS/ST_STM32F4_DISCOVERY/nanoCLR/halconf_nf.h +++ b/ChibiOS/ST_STM32F4_DISCOVERY/nanoCLR/halconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) @@ -16,5 +16,5 @@ #define HAL_NF_USE_STM32_CAN TRUE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/ST_STM32F4_DISCOVERY/nanoCLR/mcuconf_nf.h b/ChibiOS/ST_STM32F4_DISCOVERY/nanoCLR/mcuconf_nf.h index f05caa0b..b9f9ee0c 100644 --- a/ChibiOS/ST_STM32F4_DISCOVERY/nanoCLR/mcuconf_nf.h +++ b/ChibiOS/ST_STM32F4_DISCOVERY/nanoCLR/mcuconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/ST_STM32F4_DISCOVERY/nanoCLR/target_board.h.in b/ChibiOS/ST_STM32F4_DISCOVERY/nanoCLR/target_board.h.in index 5c88b00a..53a87fce 100644 --- a/ChibiOS/ST_STM32F4_DISCOVERY/nanoCLR/target_board.h.in +++ b/ChibiOS/ST_STM32F4_DISCOVERY/nanoCLR/target_board.h.in @@ -8,11 +8,11 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOCLR_H_ -#define _TARGET_BOARD_NANOCLR_H_ +#ifndef TARGET_BOARD_NANOCLR_H +#define TARGET_BOARD_NANOCLR_H #include #define OEMSYSTEMINFOSTRING "nanoCLR running @ @TARGET_NAME@" -#endif /* _TARGET_BOARD_NANOCLR_H_ */ +#endif // TARGET_BOARD_NANOCLR_H diff --git a/ChibiOS/ST_STM32F4_DISCOVERY/target_BlockStorage.h b/ChibiOS/ST_STM32F4_DISCOVERY/target_BlockStorage.h index 8a56d0ee..eac9e104 100644 --- a/ChibiOS/ST_STM32F4_DISCOVERY/target_BlockStorage.h +++ b/ChibiOS/ST_STM32F4_DISCOVERY/target_BlockStorage.h @@ -3,10 +3,10 @@ // See LICENSE file in the project root for full license information. // -#ifndef _TARGETPAL_BLOCKSTORAGE_H_ -#define _TARGETPAL_BLOCKSTORAGE_H_ 1 +#ifndef TARGETPAL_BLOCKSTORAGE_H +#define TARGETPAL_BLOCKSTORAGE_H // this device has 1 block storage devices #define TARGET_BLOCKSTORAGE_COUNT 1 -#endif //_TARGETPAL_BLOCKSTORAGE_H_ +#endif //TARGETPAL_BLOCKSTORAGE_H diff --git a/ChibiOS/ST_STM32F4_DISCOVERY/target_common.h.in b/ChibiOS/ST_STM32F4_DISCOVERY/target_common.h.in index f0fe2aab..3ce79e06 100644 --- a/ChibiOS/ST_STM32F4_DISCOVERY/target_common.h.in +++ b/ChibiOS/ST_STM32F4_DISCOVERY/target_common.h.in @@ -8,10 +8,8 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_COMMON_H_ -#define _TARGET_COMMON_H_ - -#include +#ifndef TARGET_COMMON_H +#define TARGET_COMMON_H ///////////////////////////////////////////////////////////////////////////////////////// // The following addresses and sizes should be filled in according to the SoC data-sheet @@ -34,4 +32,4 @@ #define PLATFORMNAMESTRING "STM32F4" /////////////////////////////////////////////// -#endif /* _TARGET_COMMON_H_ */ +#endif // TARGET_COMMON_H diff --git a/ChibiOS/WEACT_F411CE/nanoBooter/halconf_nf.h b/ChibiOS/WEACT_F411CE/nanoBooter/halconf_nf.h index 4ddadac7..22fa6e58 100644 --- a/ChibiOS/WEACT_F411CE/nanoBooter/halconf_nf.h +++ b/ChibiOS/WEACT_F411CE/nanoBooter/halconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) @@ -15,5 +15,5 @@ #define HAL_NF_USE_STM32_RNG FALSE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/WEACT_F411CE/nanoBooter/mcuconf_nf.h b/ChibiOS/WEACT_F411CE/nanoBooter/mcuconf_nf.h index f05caa0b..b9f9ee0c 100644 --- a/ChibiOS/WEACT_F411CE/nanoBooter/mcuconf_nf.h +++ b/ChibiOS/WEACT_F411CE/nanoBooter/mcuconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/WEACT_F411CE/nanoBooter/target_board.h.in b/ChibiOS/WEACT_F411CE/nanoBooter/target_board.h.in index 38200547..ac85c850 100644 --- a/ChibiOS/WEACT_F411CE/nanoBooter/target_board.h.in +++ b/ChibiOS/WEACT_F411CE/nanoBooter/target_board.h.in @@ -8,11 +8,11 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOBOOTER_H_ -#define _TARGET_BOARD_NANOBOOTER_H_ +#ifndef TARGET_BOARD_NANOBOOTER_H +#define TARGET_BOARD_NANOBOOTER_H #include #define OEMSYSTEMINFOSTRING "nanoBooter running @ @TARGET_NAME@" -#endif /* _TARGET_BOARD_NANOBOOTER_H_ */ +#endif // TARGET_BOARD_NANOBOOTER_H diff --git a/ChibiOS/WEACT_F411CE/nanoCLR/halconf_nf.h b/ChibiOS/WEACT_F411CE/nanoCLR/halconf_nf.h index 4ddadac7..22fa6e58 100644 --- a/ChibiOS/WEACT_F411CE/nanoCLR/halconf_nf.h +++ b/ChibiOS/WEACT_F411CE/nanoCLR/halconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _HALCONF_NF_H_ -#define _HALCONF_NF_H_ +#ifndef HALCONF_NF_H +#define HALCONF_NF_H // enables STM32 Flash driver #if !defined(HAL_NF_USE_STM32_FLASH) @@ -15,5 +15,5 @@ #define HAL_NF_USE_STM32_RNG FALSE #endif -#endif // _HALCONF_NF_H_ +#endif // HALCONF_NF_H diff --git a/ChibiOS/WEACT_F411CE/nanoCLR/mcuconf_nf.h b/ChibiOS/WEACT_F411CE/nanoCLR/mcuconf_nf.h index f05caa0b..b9f9ee0c 100644 --- a/ChibiOS/WEACT_F411CE/nanoCLR/mcuconf_nf.h +++ b/ChibiOS/WEACT_F411CE/nanoCLR/mcuconf_nf.h @@ -3,8 +3,8 @@ // See LICENSE file in the project root for full license information. // -#ifndef _MCUCONF_NF_H_ -#define _MCUCONF_NF_H_ +#ifndef MCUCONF_NF_H +#define MCUCONF_NF_H -#endif // _MCUCONF_NF_H_ +#endif // MCUCONF_NF_H diff --git a/ChibiOS/WEACT_F411CE/nanoCLR/target_board.h.in b/ChibiOS/WEACT_F411CE/nanoCLR/target_board.h.in index 5c88b00a..53a87fce 100644 --- a/ChibiOS/WEACT_F411CE/nanoCLR/target_board.h.in +++ b/ChibiOS/WEACT_F411CE/nanoCLR/target_board.h.in @@ -8,11 +8,11 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOCLR_H_ -#define _TARGET_BOARD_NANOCLR_H_ +#ifndef TARGET_BOARD_NANOCLR_H +#define TARGET_BOARD_NANOCLR_H #include #define OEMSYSTEMINFOSTRING "nanoCLR running @ @TARGET_NAME@" -#endif /* _TARGET_BOARD_NANOCLR_H_ */ +#endif // TARGET_BOARD_NANOCLR_H diff --git a/ChibiOS/WEACT_F411CE/target_BlockStorage.h b/ChibiOS/WEACT_F411CE/target_BlockStorage.h index 8a56d0ee..eac9e104 100644 --- a/ChibiOS/WEACT_F411CE/target_BlockStorage.h +++ b/ChibiOS/WEACT_F411CE/target_BlockStorage.h @@ -3,10 +3,10 @@ // See LICENSE file in the project root for full license information. // -#ifndef _TARGETPAL_BLOCKSTORAGE_H_ -#define _TARGETPAL_BLOCKSTORAGE_H_ 1 +#ifndef TARGETPAL_BLOCKSTORAGE_H +#define TARGETPAL_BLOCKSTORAGE_H // this device has 1 block storage devices #define TARGET_BLOCKSTORAGE_COUNT 1 -#endif //_TARGETPAL_BLOCKSTORAGE_H_ +#endif //TARGETPAL_BLOCKSTORAGE_H diff --git a/ChibiOS/WEACT_F411CE/target_common.h.in b/ChibiOS/WEACT_F411CE/target_common.h.in index d42e44a2..a619771f 100644 --- a/ChibiOS/WEACT_F411CE/target_common.h.in +++ b/ChibiOS/WEACT_F411CE/target_common.h.in @@ -8,10 +8,8 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_COMMON_H_ -#define _TARGET_COMMON_H_ - -#include +#ifndef TARGET_COMMON_H +#define TARGET_COMMON_H ///////////////////////////////////////////////////////////////////////////////////////// // The following addresses and sizes should be filled in according to the SoC data-sheet @@ -34,4 +32,4 @@ #define PLATFORMNAMESTRING "STM32F4" /////////////////////////////////////////////// -#endif /* _TARGET_COMMON_H_ */ +#endif // TARGET_COMMON_H diff --git a/TI-SimpleLink/TI_CC1352P1_LAUNCHXL/nanoCLR/target_board.h.in b/TI-SimpleLink/TI_CC1352P1_LAUNCHXL/nanoCLR/target_board.h.in index 3d24fd3f..becf2f09 100644 --- a/TI-SimpleLink/TI_CC1352P1_LAUNCHXL/nanoCLR/target_board.h.in +++ b/TI-SimpleLink/TI_CC1352P1_LAUNCHXL/nanoCLR/target_board.h.in @@ -8,9 +8,9 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_BOARD_NANOCLR_H_ -#define _TARGET_BOARD_NANOCLR_H_ +#ifndef TARGET_BOARD_NANOCLR_H +#define TARGET_BOARD_NANOCLR_H #include -#endif /* _TARGET_BOARD_NANOCLR_H_ */ +#endif // TARGET_BOARD_NANOCLR_H diff --git a/TI-SimpleLink/TI_CC1352P1_LAUNCHXL/target_BlockStorage.h b/TI-SimpleLink/TI_CC1352P1_LAUNCHXL/target_BlockStorage.h index 8a56d0ee..eac9e104 100644 --- a/TI-SimpleLink/TI_CC1352P1_LAUNCHXL/target_BlockStorage.h +++ b/TI-SimpleLink/TI_CC1352P1_LAUNCHXL/target_BlockStorage.h @@ -3,10 +3,10 @@ // See LICENSE file in the project root for full license information. // -#ifndef _TARGETPAL_BLOCKSTORAGE_H_ -#define _TARGETPAL_BLOCKSTORAGE_H_ 1 +#ifndef TARGETPAL_BLOCKSTORAGE_H +#define TARGETPAL_BLOCKSTORAGE_H // this device has 1 block storage devices #define TARGET_BLOCKSTORAGE_COUNT 1 -#endif //_TARGETPAL_BLOCKSTORAGE_H_ +#endif //TARGETPAL_BLOCKSTORAGE_H diff --git a/TI-SimpleLink/TI_CC1352P1_LAUNCHXL/target_common.h.in b/TI-SimpleLink/TI_CC1352P1_LAUNCHXL/target_common.h.in index f65eca0c..843b1ced 100644 --- a/TI-SimpleLink/TI_CC1352P1_LAUNCHXL/target_common.h.in +++ b/TI-SimpleLink/TI_CC1352P1_LAUNCHXL/target_common.h.in @@ -8,10 +8,8 @@ // Any changes you make here will be overwritten when it's generated again. // ////////////////////////////////////////////////////////////////////////////// -#ifndef _TARGET_COMMON_H_ -#define _TARGET_COMMON_H_ - -#include +#ifndef TARGET_COMMON_H +#define TARGET_COMMON_H #define TARGETINFOSTRING "@CMAKE_BUILD_TYPE@ build with TI CC13x2_26x2 SDK v@TI_SL_CC13x2_26x2_SDK_TAG@" @@ -60,4 +58,4 @@ //#define EVENTS_HEART_BEAT GPIO_toggle(Board_GPIO_RLED) ///////////////////////////////////// -#endif /* _TARGET_COMMON_H_ */ +#endif // TARGET_COMMON_H diff --git a/TI-SimpleLink/TI_CC1352P1_LAUNCHXL/target_windows_devices_gpio.h b/TI-SimpleLink/TI_CC1352P1_LAUNCHXL/target_windows_devices_gpio.h index cd46fb90..01c19239 100644 --- a/TI-SimpleLink/TI_CC1352P1_LAUNCHXL/target_windows_devices_gpio.h +++ b/TI-SimpleLink/TI_CC1352P1_LAUNCHXL/target_windows_devices_gpio.h @@ -3,10 +3,10 @@ // See LICENSE file in the project root for full license information. // -#ifndef _TARGET_WINDOWS_DEVICES_GPIO_H_ -#define _TARGET_WINDOWS_DEVICES_GPIO_H_ +#ifndef TARGET_WINDOWS_DEVICES_GPIO_H +#define TARGET_WINDOWS_DEVICES_GPIO_H // max number of GPIO pins #define GPIO_PINS_COUNT 32 -#endif // _TARGET_WINDOWS_DEVICES_GPIO_H_ +#endif // TARGET_WINDOWS_DEVICES_GPIO_H