mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
arch/arm/src/kinetis: Create a chip sub-directory as with other architectures. Start moving some headers... a lot more still be be moved.
This commit is contained in:
+5
-5
@@ -1,7 +1,7 @@
|
|||||||
/********************************************************************************************
|
/********************************************************************************************
|
||||||
* arch/arm/src/kinetis/kinetis_k40pinmux.h
|
* arch/arm/src/kinetis/chip/kinetis_k20pinmux.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2015-2016 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@@ -33,8 +33,8 @@
|
|||||||
*
|
*
|
||||||
********************************************************************************************/
|
********************************************************************************************/
|
||||||
|
|
||||||
#ifndef __ARCH_ARM_SRC_KINETIS_KINETIS_K20PINMUX_H
|
#ifndef __ARCH_ARM_SRC_KINETIS_CHIP_KINETIS_K20PINMUX_H
|
||||||
#define __ARCH_ARM_SRC_KINETIS_KINETIS_K20PINMUX_H
|
#define __ARCH_ARM_SRC_KINETIS_CHIP_KINETIS_K20PINMUX_H
|
||||||
|
|
||||||
/********************************************************************************************
|
/********************************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@@ -349,4 +349,4 @@
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
********************************************************************************************/
|
********************************************************************************************/
|
||||||
|
|
||||||
#endif /* __ARCH_ARM_SRC_KINETIS_KINETIS_K20PINMUX_H */
|
#endif /* __ARCH_ARM_SRC_KINETIS_CHIP_KINETIS_K20PINMUX_H */
|
||||||
+5
-5
@@ -1,7 +1,7 @@
|
|||||||
/********************************************************************************************
|
/********************************************************************************************
|
||||||
* arch/arm/src/kinetis/kinetis_k40pinmux.h
|
* arch/arm/src/kinetis/chip/kinetis_k40pinmux.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2011, 2016 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@@ -33,8 +33,8 @@
|
|||||||
*
|
*
|
||||||
********************************************************************************************/
|
********************************************************************************************/
|
||||||
|
|
||||||
#ifndef __ARCH_ARM_SRC_KINETIS_KINETIS_K40PINMUX_H
|
#ifndef __ARCH_ARM_SRC_KINETIS_CHIP_KINETIS_K40PINMUX_H
|
||||||
#define __ARCH_ARM_SRC_KINETIS_KINETIS_K40PINMUX_H
|
#define __ARCH_ARM_SRC_KINETIS_CHIP_KINETIS_K40PINMUX_H
|
||||||
|
|
||||||
/********************************************************************************************
|
/********************************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@@ -515,4 +515,4 @@
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
********************************************************************************************/
|
********************************************************************************************/
|
||||||
|
|
||||||
#endif /* __ARCH_ARM_SRC_KINETIS_KINETIS_K40PINMUX_H */
|
#endif /* __ARCH_ARM_SRC_KINETIS_CHIP_KINETIS_K40PINMUX_H */
|
||||||
+5
-5
@@ -1,7 +1,7 @@
|
|||||||
/********************************************************************************************
|
/********************************************************************************************
|
||||||
* arch/arm/src/kinetis/kinetis_k60pinset.h
|
* arch/arm/src/kinetis/chip/kinetis_k60pinset.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2011, 2016 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@@ -33,8 +33,8 @@
|
|||||||
*
|
*
|
||||||
********************************************************************************************/
|
********************************************************************************************/
|
||||||
|
|
||||||
#ifndef __ARCH_ARM_SRC_KINETIS_KINETIS_K60PINMUX_H
|
#ifndef __ARCH_ARM_SRC_KINETIS_CHIP_KINETIS_K60PINMUX_H
|
||||||
#define __ARCH_ARM_SRC_KINETIS_KINETIS_K60PINMUX_H
|
#define __ARCH_ARM_SRC_KINETIS_CHIP_KINETIS_K60PINMUX_H
|
||||||
|
|
||||||
/********************************************************************************************
|
/********************************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@@ -479,4 +479,4 @@
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
********************************************************************************************/
|
********************************************************************************************/
|
||||||
|
|
||||||
#endif /* __ARCH_ARM_SRC_KINETIS_KINETIS_K60PINMUX_H */
|
#endif /* __ARCH_ARM_SRC_KINETIS_CHIP_KINETIS_K60PINMUX_H */
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
/********************************************************************************************
|
/********************************************************************************************
|
||||||
* arch/arm/src/kinetis/kinetis_pinmux.h
|
* arch/arm/src/kinetis/chip/kinetis_pinmux.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2011, 2015 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2011, 2015-2016 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@@ -33,8 +33,8 @@
|
|||||||
*
|
*
|
||||||
********************************************************************************************/
|
********************************************************************************************/
|
||||||
|
|
||||||
#ifndef __ARCH_ARM_SRC_KINETIS_KINETIS_PINMUX_H
|
#ifndef __ARCH_ARM_SRC_KINETIS_CHIP_KINETIS_PINMUX_H
|
||||||
#define __ARCH_ARM_SRC_KINETIS_KINETIS_PINMUX_H
|
#define __ARCH_ARM_SRC_KINETIS_CHIP_KINETIS_PINMUX_H
|
||||||
|
|
||||||
/********************************************************************************************
|
/********************************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@@ -74,4 +74,4 @@
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
********************************************************************************************/
|
********************************************************************************************/
|
||||||
|
|
||||||
#endif /* __ARCH_ARM_SRC_KINETIS_KINETIS_PINMUX_H */
|
#endif /* __ARCH_ARM_SRC_KINETIS_CHIP_KINETIS_PINMUX_H */
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
#include "kinetis_sim.h"
|
#include "kinetis_sim.h"
|
||||||
#include "kinetis_fmc.h"
|
#include "kinetis_fmc.h"
|
||||||
#include "kinetis_llwu.h"
|
#include "kinetis_llwu.h"
|
||||||
#include "kinetis_pinmux.h"
|
#include "chip/kinetis_pinmux.h"
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
|
|||||||
@@ -65,7 +65,7 @@
|
|||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "kinetis.h"
|
#include "kinetis.h"
|
||||||
#include "kinetis_config.h"
|
#include "kinetis_config.h"
|
||||||
#include "kinetis_pinmux.h"
|
#include "chip/kinetis_pinmux.h"
|
||||||
#include "kinetis_sim.h"
|
#include "kinetis_sim.h"
|
||||||
#include "kinetis_mpu.h"
|
#include "kinetis_mpu.h"
|
||||||
#include "kinetis_enet.h"
|
#include "kinetis_enet.h"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
#include "kinetis.h"
|
#include "kinetis.h"
|
||||||
#include "kinetis_uart.h"
|
#include "kinetis_uart.h"
|
||||||
#include "kinetis_sim.h"
|
#include "kinetis_sim.h"
|
||||||
#include "kinetis_pinmux.h"
|
#include "chip/kinetis_pinmux.h"
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
|
|||||||
@@ -73,7 +73,7 @@
|
|||||||
defined(CONFIG_KINETIS_FTM2_PWM)
|
defined(CONFIG_KINETIS_FTM2_PWM)
|
||||||
|
|
||||||
#include <arch/board/board.h>
|
#include <arch/board/board.h>
|
||||||
#include "kinetis_pinmux.h"
|
#include "chip/kinetis_pinmux.h"
|
||||||
|
|
||||||
/* For each timer that is enabled for PWM usage, we need the following additional
|
/* For each timer that is enabled for PWM usage, we need the following additional
|
||||||
* configuration settings:
|
* configuration settings:
|
||||||
|
|||||||
@@ -61,7 +61,7 @@
|
|||||||
#include "up_arch.h"
|
#include "up_arch.h"
|
||||||
|
|
||||||
#include "kinetis.h"
|
#include "kinetis.h"
|
||||||
#include "kinetis_pinmux.h"
|
#include "chip/kinetis_pinmux.h"
|
||||||
#include "kinetis_sim.h"
|
#include "kinetis_sim.h"
|
||||||
#include "kinetis_sdhc.h"
|
#include "kinetis_sdhc.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user