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:
Gregory Nutt 2016-07-01 08:48:57 -06:00
parent 0f0258c922
commit 71ff84b96a
9 changed files with 25 additions and 25 deletions

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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:

View File

@ -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"