mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 20:08:15 +08:00
arch/stm32h7: Fix nxstyle errors
arch/arm/src/stm32h7/chip.h:
* Fix nxstyle issues.
This commit is contained in:
committed by
Abdelatif Guettouche
parent
b3d36219e4
commit
8cc9308da7
+18
-18
@@ -1,4 +1,4 @@
|
|||||||
/************************************************************************************
|
/****************************************************************************
|
||||||
* arch/arm/src/stm32h7/chip.h
|
* arch/arm/src/stm32h7/chip.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2018 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2018 Gregory Nutt. All rights reserved.
|
||||||
@@ -31,19 +31,19 @@
|
|||||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
* POSSIBILITY OF SUCH DAMAGE.
|
* POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
************************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __ARCH_ARM_SRC_STM32H7_CHIP_H
|
#ifndef __ARCH_ARM_SRC_STM32H7_CHIP_H
|
||||||
#define __ARCH_ARM_SRC_STM32H7_CHIP_H
|
#define __ARCH_ARM_SRC_STM32H7_CHIP_H
|
||||||
|
|
||||||
/************************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
************************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <nuttx/config.h>
|
#include <nuttx/config.h>
|
||||||
|
|
||||||
/* Include the memory map and the chip definitions file. Other chip hardware files
|
/* Include the memory map and the chip definitions file. Other chip
|
||||||
* should then include this file for the proper setup.
|
* hardware files should then include this file for the proper setup.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/irq.h>
|
#include <arch/irq.h>
|
||||||
@@ -51,14 +51,14 @@
|
|||||||
#include "hardware/stm32_pinmap.h"
|
#include "hardware/stm32_pinmap.h"
|
||||||
#include "hardware/stm32_memorymap.h"
|
#include "hardware/stm32_memorymap.h"
|
||||||
|
|
||||||
/************************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
************************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* If the common ARMv7-M vector handling logic is used, then it expects the
|
/* If the common ARMv7-M vector handling logic is used, then it expects the
|
||||||
* following definition in this file that provides the number of supported external
|
* following definition in this file that provides the number of supported
|
||||||
* interrupts which, for this architecture, is provided in the arch/stm32h7/chip.h
|
* external interrupts which, for this architecture, is provided in the
|
||||||
* header file.
|
* arch/stm32h7/chip.h header file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define ARMV7M_PERIPHERAL_INTERRUPTS STM32_IRQ_NEXTINTS
|
#define ARMV7M_PERIPHERAL_INTERRUPTS STM32_IRQ_NEXTINTS
|
||||||
@@ -68,16 +68,16 @@
|
|||||||
#define ARMV7M_DCACHE_LINESIZE 32 /* 32 bytes (8 words) */
|
#define ARMV7M_DCACHE_LINESIZE 32 /* 32 bytes (8 words) */
|
||||||
#define ARMV7M_ICACHE_LINESIZE 32 /* 32 bytes (8 words) */
|
#define ARMV7M_ICACHE_LINESIZE 32 /* 32 bytes (8 words) */
|
||||||
|
|
||||||
/************************************************************************************
|
/****************************************************************************
|
||||||
* Public Types
|
* Public Types
|
||||||
************************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/************************************************************************************
|
/****************************************************************************
|
||||||
* Public Data
|
* Public Data
|
||||||
************************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/************************************************************************************
|
/****************************************************************************
|
||||||
* Public Functions
|
* Public Function Prototypes
|
||||||
************************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#endif /* __ARCH_ARM_SRC_STM32H7_CHIP_H */
|
#endif /* __ARCH_ARM_SRC_STM32H7_CHIP_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user