Skip to content

Commit

Permalink
imxrt: preprocessor and include fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
PetervdPerk-NXP committed Dec 5, 2023
1 parent 116f47d commit 807f48f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
6 changes: 3 additions & 3 deletions arch/arm/src/imxrt/imxrt_clockconfig_ver1.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
*
****************************************************************************/

#ifndef __ARCH_ARM_SRC_IMXRT_IMXRT_CLOCKCONFIG_H
#define __ARCH_ARM_SRC_IMXRT_IMXRT_CLOCKCONFIG_H
#ifndef __ARCH_ARM_SRC_IMXRT_IMXRT_CLOCKCONFIG_VER1_H
#define __ARCH_ARM_SRC_IMXRT_IMXRT_CLOCKCONFIG_VER2_H

/****************************************************************************
* Included Files
Expand All @@ -43,4 +43,4 @@

void imxrt_clockconfig(void);

#endif /* __ARCH_ARM_SRC_IMXRT_IMXRT_CLOCKCONFIG_H */
#endif /* __ARCH_ARM_SRC_IMXRT_IMXRT_CLOCKCONFIG_VER1_H */
6 changes: 0 additions & 6 deletions arch/arm/src/imxrt/imxrt_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,6 @@
# error Unrecognized i.MX RT architecture
#endif

/****************************************************************************
* Pre-processor Definitions
****************************************************************************/

#define IMXRT_PADMUX_INVALID 255

/****************************************************************************
* Public Data
****************************************************************************/
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/src/imxrt/imxrt_gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
* Pre-processor Definitions
****************************************************************************/

#define IMXRT_PADMUX_INVALID 255

/* 32-bit Encoding:
*
* 3322 2222 2222 1111 1111 1100 0000 0000
Expand Down
1 change: 1 addition & 0 deletions arch/arm/src/imxrt/imxrt_start.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#include "imxrt_clockconfig.h"
#include "imxrt_mpuinit.h"
#include "imxrt_userspace.h"
#include "imxrt_lowputc.h"
#include "imxrt_serial.h"
#include "imxrt_start.h"
#include "imxrt_gpio.h"
Expand Down

0 comments on commit 807f48f

Please sign in to comment.