Skip to content

Commit

Permalink
Reformat guard macros on all headers
Browse files Browse the repository at this point in the history
***NO_CI***
  • Loading branch information
josesimoes committed Aug 24, 2021
1 parent f2d8711 commit 42d4c0f
Show file tree
Hide file tree
Showing 110 changed files with 330 additions and 366 deletions.
6 changes: 3 additions & 3 deletions ChibiOS/BrainPad2/nanoBooter/halconf_nf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -15,5 +15,5 @@
#define HAL_NF_USE_STM32_RNG FALSE
#endif

#endif // _HALCONF_NF_H_
#endif // HALCONF_NF_H

6 changes: 3 additions & 3 deletions ChibiOS/BrainPad2/nanoBooter/mcuconf_nf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

6 changes: 3 additions & 3 deletions ChibiOS/BrainPad2/nanoBooter/target_board.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 <target_common.h>
#include <chversion.h>

#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
6 changes: 3 additions & 3 deletions ChibiOS/BrainPad2/nanoCLR/halconf_nf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -15,5 +15,5 @@
#define HAL_NF_USE_STM32_RNG FALSE
#endif

#endif // _HALCONF_NF_H_
#endif // HALCONF_NF_H

6 changes: 3 additions & 3 deletions ChibiOS/BrainPad2/nanoCLR/mcuconf_nf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions ChibiOS/BrainPad2/nanoCLR/target_board.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 <target_common.h>
#include <chversion.h>

#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
6 changes: 3 additions & 3 deletions ChibiOS/BrainPad2/target_BlockStorage.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 3 additions & 5 deletions ChibiOS/BrainPad2/target_common.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 <target_os.h>
#ifndef TARGET_COMMON_H
#define TARGET_COMMON_H

/////////////////////////////////////////////////////////////////////////////////////////
// The following addresses and sizes should be filled in according to the SoC data-sheet
Expand All @@ -34,4 +32,4 @@
#define PLATFORMNAMESTRING "STM32F4"
///////////////////////////////////////////////

#endif /* _TARGET_COMMON_H_ */
#endif // TARGET_COMMON_H
6 changes: 3 additions & 3 deletions ChibiOS/GHI_FEZ_CERB40_NF/nanoBooter/halconf_nf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

6 changes: 3 additions & 3 deletions ChibiOS/GHI_FEZ_CERB40_NF/nanoBooter/mcuconf_nf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

6 changes: 3 additions & 3 deletions ChibiOS/GHI_FEZ_CERB40_NF/nanoBooter/target_board.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 <target_common.h>

#define OEMSYSTEMINFOSTRING "nanoBooter running @ @CHIBIOS_BOARD@"

#endif /* _TARGET_BOARD_NANOBOOTER_H_ */
#endif // TARGET_BOARD_NANOBOOTER_H
6 changes: 3 additions & 3 deletions ChibiOS/GHI_FEZ_CERB40_NF/nanoCLR/halconf_nf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -16,5 +16,5 @@
#define HAL_NF_USE_STM32_CAN FALSE
#endif

#endif // _HALCONF_NF_H_
#endif // HALCONF_NF_H

6 changes: 3 additions & 3 deletions ChibiOS/GHI_FEZ_CERB40_NF/nanoCLR/mcuconf_nf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

6 changes: 3 additions & 3 deletions ChibiOS/GHI_FEZ_CERB40_NF/nanoCLR/target_board.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 <target_common.h>

#define OEMSYSTEMINFOSTRING "nanoCLR running @ @TARGET_NAME@"

#endif /* _TARGET_BOARD_NANOCLR_H_ */
#endif // TARGET_BOARD_NANOCLR_H
6 changes: 3 additions & 3 deletions ChibiOS/GHI_FEZ_CERB40_NF/target_BlockStorage.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 3 additions & 5 deletions ChibiOS/GHI_FEZ_CERB40_NF/target_common.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 <target_os.h>
#ifndef TARGET_COMMON_H
#define TARGET_COMMON_H

/////////////////////////////////////////////////////////////////////////////////////////
// The following addresses and sizes should be filled in according to the SoC data-sheet
Expand All @@ -34,4 +32,4 @@
#define PLATFORMNAMESTRING "STM32F4"
///////////////////////////////////////////////

#endif /* _TARGET_COMMON_H_ */
#endif // TARGET_COMMON_H
6 changes: 3 additions & 3 deletions ChibiOS/I2M_ELECTRON_NF/nanoBooter/halconf_nf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -15,5 +15,5 @@
#define HAL_NF_USE_STM32_RNG FALSE
#endif

#endif // _HALCONF_NF_H_
#endif // HALCONF_NF_H

6 changes: 3 additions & 3 deletions ChibiOS/I2M_ELECTRON_NF/nanoBooter/mcuconf_nf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

6 changes: 3 additions & 3 deletions ChibiOS/I2M_ELECTRON_NF/nanoBooter/target_board.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 <target_common.h>

#define OEMSYSTEMINFOSTRING "nanoBooter running @ @TARGET_NAME@"

#endif /* _TARGET_BOARD_NANOBOOTER_H_ */
#endif // TARGET_BOARD_NANOBOOTER_H
6 changes: 3 additions & 3 deletions ChibiOS/I2M_ELECTRON_NF/nanoCLR/halconf_nf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -15,5 +15,5 @@
#define HAL_NF_USE_STM32_RNG FALSE
#endif

#endif // _HALCONF_NF_H_
#endif // HALCONF_NF_H

6 changes: 3 additions & 3 deletions ChibiOS/I2M_ELECTRON_NF/nanoCLR/mcuconf_nf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

6 changes: 3 additions & 3 deletions ChibiOS/I2M_ELECTRON_NF/nanoCLR/target_board.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 <target_common.h>

#define OEMSYSTEMINFOSTRING "nanoCLR running @ @TARGET_NAME@"

#endif /* _TARGET_BOARD_NANOCLR_H_ */
#endif // TARGET_BOARD_NANOCLR_H
6 changes: 3 additions & 3 deletions ChibiOS/I2M_ELECTRON_NF/target_BlockStorage.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 3 additions & 5 deletions ChibiOS/I2M_ELECTRON_NF/target_common.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 <target_os.h>
#ifndef TARGET_COMMON_H
#define TARGET_COMMON_H

/////////////////////////////////////////////////////////////////////////////////////////
// The following addresses and sizes should be filled in according to the SoC data-sheet
Expand All @@ -34,4 +32,4 @@
#define PLATFORMNAMESTRING "STM32F4"
///////////////////////////////////////////////

#endif /* _TARGET_COMMON_H_ */
#endif // TARGET_COMMON_H
6 changes: 3 additions & 3 deletions ChibiOS/I2M_OXYGEN_NF/nanoBooter/halconf_nf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -15,5 +15,5 @@
#define HAL_NF_USE_STM32_RNG FALSE
#endif

#endif // _HALCONF_NF_H_
#endif // HALCONF_NF_H

6 changes: 3 additions & 3 deletions ChibiOS/I2M_OXYGEN_NF/nanoBooter/mcuconf_nf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Loading

0 comments on commit 42d4c0f

Please sign in to comment.