1
0
Fork 0
forked from nuttx/nuttx-update

Rename all remaining arch/xxx/src/xxx/chip to arch/xxx/src/xxx/hardware.

This commit is contained in:
Gregory Nutt 2019-05-25 09:27:28 -06:00
parent 4126ec86cb
commit d5bbbba8ad
68 changed files with 191 additions and 189 deletions

View file

@ -240,7 +240,7 @@
<h1><big><font color="#3c34ec">
<i>NuttX RTOS Porting Guide</i>
</font></big></h1>
<p>Last Updated: February 18, 2019</p>
<p>Last Updated: May 25, 2019</p>
</td>
</tr>
</table>
@ -488,7 +488,7 @@
<p>
<b>Configuration Files</b>.
The NuttX configuration consists of logic in processor architecture directories, chip/SoC directories, and board configuration directories.
The NuttX configuration consists of logic in processor architecture directories, <i>chip/SoC</i> directories, and board configuration directories.
The complete configuration is specified by several settings in the NuttX configuration file.
</p>
<ul>
@ -1780,7 +1780,7 @@ The specific environmental definitions are unique for each board but should incl
This strict layering is enforced in the NuttX build system by controlling the compiler include paths: Higher level code can never include header files from either; of the platform-specific source directories; microcontroller-specific code can never include header files from the board-specific source directories. The board-specific directories are, then, at the bottom of the layered hierarchy.
</p>
<p>
An exception to these inclusion restrictions is the platform-specific <i>include/</i>. These are made available to higher level OS logic. The microcontroller-specific include directory will be linked at <code>include/arch/chip</code> and, hence, can be included like <code>#include &lt;arch/chip/chip.h</code>.
An exception to these inclusion restrictions is the platform-specific <i>include/</i>. These are made available to higher level OS logic. The microcontroller-specific include directory will be linked at <code>include/arch/chip</code> and, hence, can be included like <code>#include &lt;arch/hardware/chip.h</code>.
Similarly, the board-specific include directory will be linked at <code>include/arch/board</code> and, hence, can be included like <code>#include &lt;arch/board/board.h</code>.
</p>
<p>
@ -5171,7 +5171,7 @@ void iob_dump(FAR const char *msg, FAR struct iob_s *iob, unsigned int len,
<li>
<p>
<b>Examples</b>:
<code>arch/arm/src/chip/lm_serial.c</code>, <code>arch/arm/src/lpc214x/lpc214x_serial.c</code>, <code>arch/z16/src/z16f/z16f_serial.c</code>, etc.
<code>arch/arm/src/stm32/stm32_serial.c</code>, <code>arch/arm/src/lpc214x/lpc214x_serial.c</code>, <code>arch/z16/src/z16f/z16f_serial.c</code>, etc.
</p>
</li>
</ul>
@ -5204,7 +5204,7 @@ void iob_dump(FAR const char *msg, FAR struct iob_s *iob, unsigned int len,
The controller-specific, &quot;upper half&quot; touchscreen drivers reside in the directory <code>drivers/input</code>.
</li>
<li><b>&quot;Lower Half&quot; Drivers</b>.
Platform-specific touchscreen drivers reside in either: (1) The <code>arch/</code><i>&lt;architecture&gt;</i><code>/src/</code><i>&lt;chip&gt;</i> directory for the processor architectures that have build in touchscreen controllers or (2) the <code>configs/</code><i>&lt;board&gt;</i><code>/src/</code> directory for boards that use an external touchscreen controller chip.
Platform-specific touchscreen drivers reside in either: (1) The <code>arch/</code><i>&lt;architecture&gt;</i><code>/src/</code><i>&lt;hardware&gt;</i> directory for the processor architectures that have build in touchscreen controllers or (2) the <code>configs/</code><i>&lt;board&gt;</i><code>/src/</code> directory for boards that use an external touchscreen controller chip.
</li>
</ul>
@ -5229,7 +5229,7 @@ void iob_dump(FAR const char *msg, FAR struct iob_s *iob, unsigned int len,
Common analog logic and share-able analog drivers reside in the <code>drivers/analog/</code>.
</li>
<li>
Platform-specific drivers reside in <code>arch/</code><i>&lt;architecture&gt;</i><code>/src/</code><i>&lt;chip&gt;</i> directory for the specific processor <i>&lt;architecture&gt;</i> and for the specific <i>&lt;chip&gt;</i> analog peripheral devices.
Platform-specific drivers reside in <code>arch/</code><i>&lt;architecture&gt;</i><code>/src/</code><i>&lt;hardware&gt;</i> directory for the specific processor <i>&lt;architecture&gt;</i> and for the specific <i>&lt;chip&gt;</i> analog peripheral devices.
</li>
</ul>
@ -5315,7 +5315,7 @@ void iob_dump(FAR const char *msg, FAR struct iob_s *iob, unsigned int len,
The generic, &quot;upper half&quot; PWM driver resides at <code>drivers/pwm.c</code>.
</li>
<li><b>&quot;Lower Half&quot; Drivers</b>.
Platform-specific PWM drivers reside in <code>arch/</code><i>&lt;architecture&gt;</i><code>/src/</code><i>&lt;chip&gt;</i> directory for the specific processor <i>&lt;architecture&gt;</i> and for the specific <i>&lt;chip&gt;</i> PWM peripheral devices.
Platform-specific PWM drivers reside in <code>arch/</code><i>&lt;architecture&gt;</i><code>/src/</code><i>&lt;hardware&gt;</i> directory for the specific processor <i>&lt;architecture&gt;</i> and for the specific <i>&lt;chip&gt;</i> PWM peripheral devices.
</li>
</ul>
@ -5346,7 +5346,7 @@ void iob_dump(FAR const char *msg, FAR struct iob_s *iob, unsigned int len,
The generic, &quot;upper half&quot; CAN driver resides at <code>drivers/can.c</code>.
</li>
<li><b>&quot;Lower Half&quot; Drivers</b>.
Platform-specific CAN drivers reside in <code>arch/</code><i>&lt;architecture&gt;</i><code>/src/</code><i>&lt;chip&gt;</i> directory for the specific processor <i>&lt;architecture&gt;</i> and for the specific <i>&lt;chip&gt;</i> CAN peripheral devices.
Platform-specific CAN drivers reside in <code>arch/</code><i>&lt;architecture&gt;</i><code>/src/</code><i>&lt;hardware&gt;</i> directory for the specific processor <i>&lt;architecture&gt;</i> and for the specific <i>&lt;chip&gt;</i> CAN peripheral devices.
</li>
</ul>
<p>
@ -5414,7 +5414,7 @@ for (i = 0; i &lt;= nread - CAN_MSGLEN(0); i += msglen)
The generic, &quot;upper half&quot; Quadrature Encoder driver resides at <code>drivers/sensors/qencoder.c</code>.
</li>
<li><b>&quot;Lower Half&quot; Drivers</b>.
Platform-specific Quadrature Encoder drivers reside in <code>arch/</code><i>&lt;architecture&gt;</i><code>/src/</code><i>&lt;chip&gt;</i> directory for the specific processor <i>&lt;architecture&gt;</i> and for the specific <i>&lt;chip&gt;</i> Quadrature Encoder peripheral devices.
Platform-specific Quadrature Encoder drivers reside in <code>arch/</code><i>&lt;architecture&gt;</i><code>/src/</code><i>&lt;hardware&gt;</i> directory for the specific processor <i>&lt;architecture&gt;</i> and for the specific <i>&lt;chip&gt;</i> Quadrature Encoder peripheral devices.
</li>
</ul>
@ -5443,7 +5443,7 @@ for (i = 0; i &lt;= nread - CAN_MSGLEN(0); i += msglen)
The generic, &quot;upper half&quot; timer driver resides at <code>drivers/timers/timer.c</code>.
</li>
<li><b>&quot;Lower Half&quot; Drivers</b>.
Platform-specific timer drivers reside in <code>arch/</code><i>&lt;architecture&gt;</i><code>/src/</code><i>&lt;chip&gt;</i> directory for the specific processor <i>&lt;architecture&gt;</i> and for the specific <i>&lt;chip&gt;</i> timer peripheral devices.
Platform-specific timer drivers reside in <code>arch/</code><i>&lt;architecture&gt;</i><code>/src/</code><i>&lt;hardware&gt;</i> directory for the specific processor <i>&lt;architecture&gt;</i> and for the specific <i>&lt;chip&gt;</i> timer peripheral devices.
</li>
</ul>
@ -5472,7 +5472,7 @@ for (i = 0; i &lt;= nread - CAN_MSGLEN(0); i += msglen)
The generic, &quot;upper half&quot; RTC driver resides at <code>drivers/timers/rtc.c</code>.
</li>
<li><b>&quot;Lower Half&quot; Drivers</b>.
Platform-specific RTC drivers reside in <code>arch/</code><i>&lt;architecture&gt;</i><code>/src/</code><i>&lt;chip&gt;</i> directory for the specific processor <i>&lt;architecture&gt;</i> and for the specific <i>&lt;chip&gt;</i> RTC peripheral devices.
Platform-specific RTC drivers reside in <code>arch/</code><i>&lt;architecture&gt;</i><code>/src/</code><i>&lt;hardware&gt;</i> directory for the specific processor <i>&lt;architecture&gt;</i> and for the specific <i>&lt;chip&gt;</i> RTC peripheral devices.
</li>
</ul>
@ -5501,7 +5501,7 @@ for (i = 0; i &lt;= nread - CAN_MSGLEN(0); i += msglen)
The generic, &quot;upper half&quot; watchdog timer driver resides at <code>drivers/timers/watchdog.c</code>.
</li>
<li><b>&quot;Lower Half&quot; Drivers</b>.
Platform-specific watchdog timer drivers reside in <code>arch/</code><i>&lt;architecture&gt;</i><code>/src/</code><i>&lt;chip&gt;</i> directory for the specific processor <i>&lt;architecture&gt;</i> and for the specific <i>&lt;chip&gt;</i> watchdog timer peripheral devices.
Platform-specific watchdog timer drivers reside in <code>arch/</code><i>&lt;architecture&gt;</i><code>/src/</code><i>&lt;hardware&gt;</i> directory for the specific processor <i>&lt;architecture&gt;</i> and for the specific <i>&lt;chip&gt;</i> watchdog timer peripheral devices.
</li>
</ul>

View file

@ -60,7 +60,7 @@
#include "stm32.h"
#include "hardware/stm32_ltdc.h"
#include "hardware/stm32_dma2d.h"
#include "hardware/stm32_ccm.h"
#include "stm32_ccm.h"
#include "stm32_dma2d.h"
/****************************************************************************

View file

@ -1,5 +1,5 @@
/****************************************************************************
* arch/avr/src/xmega/chip/xmegac_memorymap.h
* arch/avr/src/xmega/hardware/xmegac_memorymap.h
*
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
****************************************************************************/
#ifndef __ARCH_AVR_SRC_XMEGA_CHIP_XMEGAC_MEMORYMAP_H
#define __ARCH_AVR_SRC_XMEGA_CHIP_XMEGAC_MEMORYMAP_H
#ifndef __ARCH_AVR_SRC_XMEGA_HARDWARE_XMEGAC_MEMORYMAP_H
#define __ARCH_AVR_SRC_XMEGA_HARDWARE_XMEGAC_MEMORYMAP_H
/****************************************************************************
* Included Files
@ -102,4 +102,4 @@
#define XMEGA_TCF0_BASE 0x0b00 /* Timer/Counter 0 on port F */
#define XMEGA_USARTF0_BASE 0x0ba0 /* USART 0 on port F */
#endif /* __ARCH_AVR_SRC_XMEGA_CHIP_XMEGAC_MEMORYMAP_H */
#endif /* __ARCH_AVR_SRC_XMEGA_HARDWARE_XMEGAC_MEMORYMAP_H */

View file

@ -1,5 +1,5 @@
/********************************************************************************************
* arch/mips/src/pic32mz/pic32mz-dma.h
* arch/mips/src/pic32mz/hardware/pic32mz-dma.h
*
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
********************************************************************************************/
#ifndef __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_DMA_H
#define __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_DMA_H
#ifndef __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_DMA_H
#define __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_DMA_H
/********************************************************************************************
* Included Files
@ -43,7 +43,7 @@
#include <nuttx/config.h>
#include <arch/pic32mz/chip.h>
#include "chip/pic32mz-memorymap.h"
#include "hardware/pic32mz-memorymap.h"
#if CHIP_NDMACH > 0
@ -797,4 +797,4 @@ extern "C"
#endif /* __ASSEMBLY__ */
#endif /* CHIP_NDMACH > 0 */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_DMA_H */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_DMA_H */

View file

@ -1,5 +1,5 @@
/****************************************************************************************************
* arch/mips/src/pic32mz/chip/pic32mz-ethernet.h
* arch/mips/src/pic32mz/hardware/pic32mz-ethernet.h
*
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
****************************************************************************************************/
#ifndef __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_ETHERNET_H
#define __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_ETHERNET_H
#ifndef __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_ETHERNET_H
#define __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_ETHERNET_H
/****************************************************************************************************
* Included Files
@ -43,7 +43,7 @@
#include <nuttx/config.h>
#include <arch/pic32mz/chip.h>
#include "chip/pic32mz-memorymap.h"
#include "hardware/pic32mz-memorymap.h"
#if CHIP_NETHERNET > 0
@ -998,4 +998,4 @@ extern "C"
#endif /* __ASSEMBLY__ */
#endif /* CHIP_NETHERNET > 0 */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_ETHERNET_H */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_ETHERNET_H */

View file

@ -1,5 +1,5 @@
/************************************************************************************
* arch/mips/src/pic32mz/chip/pic32mz-features.h
* arch/mips/src/pic32mz/hardware/pic32mz-features.h
*
* Copyright (C) 2015, 2018 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_FEATURES_H
#define __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_FEATURES_H
#ifndef __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_FEATURES_H
#define __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_FEATURES_H
/************************************************************************************
* Included Files
@ -43,11 +43,11 @@
#include <nuttx/config.h>
#if defined(CONFIG_ARCH_CHIP_PIC32MZEC)
# include <chip/pic32mzec-features.h>
# include "hardware/pic32mzec-features.h"
#elif defined(CONFIG_ARCH_CHIP_PIC32MZEF)
# include <chip/pic32mzef-features.h>
# include "hardware/pic32mzef-features.h"
#else
# error Unknown PIC32MZ family
#endif
#endif /* __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_FEATURES_H */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_FEATURES_H */

View file

@ -1,5 +1,5 @@
/************************************************************************************
* arch/mips/src/pic32mz/pic32mz-i2c.h
* arch/mips/src/pic32mz/hardware/pic32mz-i2c.h
*
* Copyright (C) 2015, 2018 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_I2C_H
#define __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_I2C_H
#ifndef __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_I2C_H
#define __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_I2C_H
/************************************************************************************
* Included Files
@ -43,7 +43,7 @@
#include <nuttx/config.h>
#include <arch/pic32mz/chip.h>
#include "chip/pic32mz-memorymap.h"
#include "hardware/pic32mz-memorymap.h"
#if CHIP_NI2C > 0
@ -371,4 +371,4 @@ extern "C"
#endif
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_I2C_H */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_I2C_H */

View file

@ -1,5 +1,5 @@
/****************************************************************************
* arch/mips/src/pic32mz/pic32mz-int.h
* arch/mips/src/pic32mz/hardware/pic32mz-int.h
*
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
****************************************************************************/
#ifndef __ARCH_MIPS_SRC_PIC32MZ_PIC32MZ_INT_H
#define __ARCH_MIPS_SRC_PIC32MZ_PIC32MZ_INT_H
#ifndef __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_INT_H
#define __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_INT_H
/****************************************************************************
* Included Files
@ -1260,4 +1260,4 @@ extern "C"
#endif
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_PIC32MZ_INT_H */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_INT_H */

View file

@ -1,5 +1,5 @@
/********************************************************************************************
* arch/mips/src/pic32mz/pic32mz-ioport.h
* arch/mips/src/pic32mz/hardware/pic32mz-ioport.h
*
* Copyright (C) 2015, 2019 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
********************************************************************************************/
#ifndef __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_IOPORT_H
#define __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_IOPORT_H
#ifndef __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_IOPORT_H
#define __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_IOPORT_H
/********************************************************************************************
* Included Files
@ -906,4 +906,4 @@ extern "C"
#endif /* __ASSEMBLY__ */
#endif /* CHIP_NPORTS > 0 */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_IOPORT_H */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_IOPORT_H */

View file

@ -1,5 +1,5 @@
/************************************************************************************
* arch/mips/src/pic32mz/chip/pic32mz-memorymap.h
* arch/mips/src/pic32mz/hardware/pic32mz-memorymap.h
*
* Copyright (C) 2015, 2018 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_MEMORYMAP_H
#define __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_MEMORYMAP_H
#ifndef __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_MEMORYMAP_H
#define __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_MEMORYMAP_H
/************************************************************************************
* Included Files
@ -43,11 +43,11 @@
#include <nuttx/config.h>
#if defined(CONFIG_ARCH_CHIP_PIC32MZEC)
# include "chip/pic32mzec-memorymap.h"
# include "hardware/pic32mzec-memorymap.h"
#elif defined(CONFIG_ARCH_CHIP_PIC32MZEF)
# include "chip/pic32mzef-memorymap.h"
# include "hardware/pic32mzef-memorymap.h"
#else
# error Unknown PIC32MZ family
#endif
#endif /* __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_MEMORYMAP_H */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_MEMORYMAP_H */

View file

@ -1,5 +1,5 @@
/****************************************************************************
* arch/mips/src/pic32mz/chip/pic32mz-osc.h
* arch/mips/src/pic32mz/hardware/pic32mz-osc.h
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
****************************************************************************/
#ifndef __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_OSC_H
#define __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_OSC_H
#ifndef __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_OSC_H
#define __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_OSC_H
/****************************************************************************
* Included Files
@ -231,4 +231,4 @@ extern "C"
#endif
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_OSC_H */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_OSC_H */

View file

@ -1,5 +1,5 @@
/********************************************************************************************
* arch/mips/src/pic32mz/pic32mz-pps.h
* arch/mips/src/pic32mz/hardware/pic32mz-pps.h
*
* Copyright (C) 2015, 2018 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
********************************************************************************************/
#ifndef __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_PPS_H
#define __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_PPS_H
#ifndef __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_PPS_H
#define __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_PPS_H
/********************************************************************************************
* Included Files
@ -50,9 +50,9 @@
/* Depends on the peripherals supported by the particular device */
#if defined(CONFIG_ARCH_CHIP_PIC32MZEC)
# include "chip/pic32mzec-pps.h"
# include "hardware/pic32mzec-pps.h"
#elif defined(CONFIG_ARCH_CHIP_PIC32MZEF)
# include "chip/pic32mzef-pps.h"
# include "hardware/pic32mzef-pps.h"
#else
# error Unknown PIC32MZ family
#endif
@ -114,4 +114,4 @@ extern "C"
#endif
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_PPS_H */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_PPS_H */

View file

@ -1,5 +1,5 @@
/********************************************************************************************
* arch/mips/src/pic32mz/chip/pic32mz-prefetch.h
* arch/mips/src/pic32mz/hardware/pic32mz-prefetch.h
*
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
********************************************************************************************/
#ifndef __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_PREFETCH_H
#define __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_PREFETCH_H
#ifndef __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_PREFETCH_H
#define __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_PREFETCH_H
/********************************************************************************************
* Included Files
@ -79,4 +79,4 @@
#define PRESTAT_PFMSEC (1 << 26) /* Bit 26: Flash Single-bit Error Corrected Status */
#define PRESTAT_PFMDED (1 << 27) /* Bit 27: Flash Double-bit Error Detected Status */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_PREFETCH_H */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_PREFETCH_H */

View file

@ -1,5 +1,5 @@
/****************************************************************************
* arch/mips/src/pic32mz/chip/pic32mz-spi.h
* arch/mips/src/pic32mz/hardware/pic32mz-spi.h
*
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
****************************************************************************/
#ifndef __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_SPI_H
#define __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_SPI_H
#ifndef __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_SPI_H
#define __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_SPI_H
/****************************************************************************
* Included Files
@ -43,7 +43,7 @@
#include <nuttx/config.h>
#include <arch/pic32mz/chip.h>
#include "chip/pic32mz-memorymap.h"
#include "hardware/pic32mz-memorymap.h"
#if CHIP_NSPI > 0
@ -329,4 +329,4 @@ extern "C"
#endif /* __ASSEMBLY__ */
#endif /* CHIP_NSPI > 0 */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_SPI_H */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_SPI_H */

View file

@ -1,5 +1,5 @@
/************************************************************************************
* arch/mips/src/pic32mz/pic32mz-timer.h
* arch/mips/src/pic32mz/hardware/pic32mz-timer.h
*
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_TIMER_H
#define __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_TIMER_H
#ifndef __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_TIMER_H
#define __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_TIMER_H
/************************************************************************************
* Included Files
@ -308,4 +308,4 @@ extern "C"
#endif /* __ASSEMBLY__ */
#endif /* CHIP_NTIMERS > 0 */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_TIMER_H */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZ_TIMER_H */

View file

@ -1,5 +1,5 @@
/************************************************************************************
* arch/mips/src/pic42mz/pic42mz-uart.h
* arch/mips/src/pic32mz/hardware/pic32mz-uart.h
*
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_MIPS_SRC_PIC32MZ_PIC32MZ_CHIP_UART_H
#define __ARCH_MIPS_SRC_PIC32MZ_PIC32MZ_CHIP_UART_H
#ifndef __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_UART_H
#define __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_UART_H
/************************************************************************************
* Included Files
@ -43,7 +43,7 @@
#include <nuttx/config.h>
#include <arch/pic32mz/chip.h>
#include "chip/pic32mz-memorymap.h"
#include "hardware/pic32mz-memorymap.h"
/************************************************************************************
* Pre-processor Definitions
@ -290,4 +290,4 @@ extern "C"
#endif
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_PIC32MZ_CHIP_UART_H */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_UART_H */

View file

@ -1,5 +1,5 @@
/************************************************************************************
* arch/mips/src/pic32mz/chip/pic32mzec-features.h
* arch/mips/src/pic32mz/hardware/pic32mzec-features.h
*
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZEC_FEATURES_H
#define __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZEC_FEATURES_H
#ifndef __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZEC_FEATURES_H
#define __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZEC_FEATURES_H
/************************************************************************************
* Included Files
@ -511,4 +511,4 @@
/* Device Serial Number (Boot Flash PIC32MZ_DEVSN_K1BASE) */
/* Device serial number 0-1: 32-bit serial number data */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZEC_FEATURES_H */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZEC_FEATURES_H */

View file

@ -1,5 +1,5 @@
/************************************************************************************
* arch/mips/src/pic32mz/chip/pic32mzec-memorymap.h
* arch/mips/src/pic32mz/hardware/pic32mzec-memorymap.h
*
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZEC_MEMORYMAP_H
#define __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZEC_MEMORYMAP_H
#ifndef __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZEC_MEMORYMAP_H
#define __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZEC_MEMORYMAP_H
/************************************************************************************
* Included Files
@ -146,4 +146,4 @@
#define PIC32MZ_SYSBUS_K1BASE (PIC32MZ_SFR_K1BASE + 0x000f0000) /* System Bus */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZEC_MEMORYMAP_H */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZEC_MEMORYMAP_H */

View file

@ -1,5 +1,5 @@
/********************************************************************************************
* arch/mips/src/pic32mz/pic32mzec-pps.h
* arch/mips/src/pic32mz/hardware/pic32mzec-pps.h
*
* Copyright (C) 2015, 2019 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
********************************************************************************************/
#ifndef __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZEC_PPS_H
#define __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZEC_PPS_H
#ifndef __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZEC_PPS_H
#define __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZEC_PPS_H
/********************************************************************************************
* Included Files
@ -1715,4 +1715,4 @@
#define U6TX_RPG6R 4, PIC32MZ_RPG6R
#define U6TX_RPG9R 4, PIC32MZ_RPG9R
#endif /* __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZEC_PPS_H */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZEC_PPS_H */

View file

@ -1,5 +1,5 @@
/************************************************************************************
* arch/mips/src/pic32mz/chip/pic32mzef-features.h
* arch/mips/src/pic32mz/hardware/pic32mzef-features.h
*
* Copyright (C) 2018 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZEF_FEATURES_H
#define __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZEF_FEATURES_H
#ifndef __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZEF_FEATURES_H
#define __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZEF_FEATURES_H
/************************************************************************************
* Included Files
@ -537,4 +537,4 @@
/* Device Serial Number (Boot Flash PIC32MZ_DEVSN_K1BASE) */
/* Device serial number 0-1: 32-bit serial number data */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZEF_FEATURES_H */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZEF_FEATURES_H */

View file

@ -1,5 +1,5 @@
/************************************************************************************
* arch/mips/src/pic32mz/chip/pic32mzef-memorymap.h
* arch/mips/src/pic32mz/hardware/pic32mzef-memorymap.h
*
* Copyright (C) 2018 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZEF_MEMORYMAP_H
#define __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZEF_MEMORYMAP_H
#ifndef __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZEF_MEMORYMAP_H
#define __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZEF_MEMORYMAP_H
/************************************************************************************
* Included Files
@ -144,4 +144,4 @@
#define PIC32MZ_SYSBUS_K1BASE (PIC32MZ_SFR_K1BASE + 0x000f0000) /* System Bus */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZEF_MEMORYMAP_H */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZEF_MEMORYMAP_H */

View file

@ -1,5 +1,5 @@
/********************************************************************************************
* arch/mips/src/pic32mz/pic32mzef-pps.h
* arch/mips/src/pic32mz/hardware/pic32mzef-pps.h
*
* Copyright (C) 2018 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
********************************************************************************************/
#ifndef __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZEF_PPS_H
#define __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZEF_PPS_H
#ifndef __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZEF_PPS_H
#define __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZEF_PPS_H
/********************************************************************************************
* Included Files
@ -1716,4 +1716,4 @@
#define U6TX_RPG6R 4, PIC32MZ_RPG6R
#define U6TX_RPG9R 4, PIC32MZ_RPG9R
#endif /* __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZEF_PPS_H */
#endif /* __ARCH_MIPS_SRC_PIC32MZ_HARDWARE_PIC32MZEF_PPS_H */

View file

@ -52,7 +52,7 @@
#include "up_arch.h"
#include "up_internal.h"
#include "chip/pic32mz-int.h"
#include "hardware/pic32mz-int.h"
#include "group/group.h"

View file

@ -72,7 +72,7 @@
#include "up_internal.h"
#include "pic32mz-config.h"
#include "chip/pic32mz-ethernet.h"
#include "hardware/pic32mz-ethernet.h"
/* Does this chip have and Ethernet controller? */

View file

@ -53,7 +53,7 @@
#include "up_arch.h"
#include "up_internal.h"
#include "chip/pic32mz-int.h"
#include "hardware/pic32mz-int.h"
/****************************************************************************
* Public Functions

View file

@ -49,7 +49,7 @@
#include "up_arch.h"
#include "chip/pic32mz-ioport.h"
#include "hardware/pic32mz-ioport.h"
#include "pic32mz-gpio.h"
#if CHIP_NPORTS > 0

View file

@ -49,7 +49,7 @@
#include "up_arch.h"
#include "up_internal.h"
#include "chip/pic32mz-ioport.h"
#include "hardware/pic32mz-ioport.h"
#include "pic32mz-gpio.h"
#ifdef CONFIG_PIC32MZ_GPIOIRQ

View file

@ -43,7 +43,7 @@
#include <arch/pic32mz/cp0.h>
#include "pic32mz-config.h"
#include "chip/pic32mz-features.h"
#include "hardware/pic32mz-features.h"
#include "pic32mz-excptmacros.h"
/****************************************************************************

View file

@ -59,7 +59,7 @@
#include "up_internal.h"
#include "up_arch.h"
#include "chip/pic32mz-i2c.h"
#include "hardware/pic32mz-i2c.h"
#include "pic32mz-i2c.h"
/* At least one I2C peripheral must be enabled */

View file

@ -52,7 +52,7 @@
#include "up_arch.h"
#include "up_internal.h"
#include "chip/pic32mz-int.h"
#include "hardware/pic32mz-int.h"
#include "pic32mz-gpio.h"
/****************************************************************************

View file

@ -48,8 +48,8 @@
#include "up_internal.h"
#include "pic32mz-config.h"
#include "chip/pic32mz-uart.h"
#include "chip/pic32mz-pps.h"
#include "hardware/pic32mz-uart.h"
#include "hardware/pic32mz-pps.h"
#include <arch/board/board.h>

View file

@ -47,9 +47,9 @@
#include "up_internal.h"
#include "up_arch.h"
#include "chip/pic32mz-features.h"
#include "chip/pic32mz-prefetch.h"
#include "chip/pic32mz-osc.h"
#include "hardware/pic32mz-features.h"
#include "hardware/pic32mz-prefetch.h"
#include "hardware/pic32mz-osc.h"
#include "pic32mz-config.h"
#include "pic32mz-lowconsole.h"

View file

@ -62,7 +62,7 @@
#include "up_internal.h"
#include "pic32mz-config.h"
#include "chip/pic32mz-uart.h"
#include "hardware/pic32mz-uart.h"
#include "pic32mz-lowconsole.h"
/****************************************************************************

View file

@ -54,8 +54,8 @@
#include "up_internal.h"
#include "up_arch.h"
#include "chip/pic32mz-spi.h"
#include "chip/pic32mz-pps.h"
#include "hardware/pic32mz-spi.h"
#include "hardware/pic32mz-pps.h"
#include "pic32mz-spi.h"
#ifdef CONFIG_PIC32MZ_SPI

View file

@ -59,7 +59,7 @@
#include "up_internal.h"
#include "up_arch.h"
#include "chip/pic32mz-timer.h"
#include "hardware/pic32mz-timer.h"
#include "pic32mz-timer.h"
#include "pic32mz-gpio.h"

View file

@ -51,8 +51,8 @@
#include "up_arch.h"
#include "pic32mz-config.h"
#include "chip/pic32mz-timer.h"
#include "chip/pic32mz-int.h"
#include "hardware/pic32mz-timer.h"
#include "hardware/pic32mz-int.h"
/****************************************************************************
* Pre-processor Definitions

View file

@ -45,7 +45,7 @@
#ifdef CONFIG_RV32IM_CMNVECTOR
# if defined(CONFIG_NR5_NR5M1XX)
# include "chip/nr5m1xx_vectors.h"
# include "hardware/nr5m1xx_vectors.h"
# else
# error "No vector file for this NanoRisc5 family"
# endif

View file

@ -1,5 +1,5 @@
/************************************************************************************
* arch/risc-v/src/nr5m100/chip/nr5_epic.h
* arch/risc-v/src/nr5m100/hardware/nr5_epic.h
*
* Copyright (C) 2016 Ken Pettit. All rights reserved.
* Author: Ken Pettit <pettitkd@gmail.com>

View file

@ -1,5 +1,5 @@
/************************************************************************************
* arch/risc-v/src/nr5m100/chip/nr5m1xx_memorymap.h
* arch/risc-v/src/nr5m100/hardware/nr5m1xx_memorymap.h
*
* Copyright (C) 2016 Ken Pettit. All rights reserved.
* Author: Ken Pettit <pettitkd@gmail.com>
@ -30,8 +30,8 @@
*
************************************************************************************/
#ifndef __ARCH_RISCV_SRC_NR5M100_CHIP_NR5M1XX_MEMORYMAP_H
#define __ARCH_RISCV_SRC_NR5M100_CHIP_NR5M1XX_MEMORYMAP_H
#ifndef __ARCH_RISCV_SRC_NR5M100_HARDWARE_NR5M1XX_MEMORYMAP_H
#define __ARCH_RISCV_SRC_NR5M100_HARDWARE_NR5M1XX_MEMORYMAP_H
/************************************************************************************
* Pre-processor Definitions
@ -53,5 +53,5 @@
#define NR5_TIMER2_BASE 0x40005000 /* 0x40005000 - 0x40005fff: TIMER1 timer */
#define NR5_EXTMEM_BASE 0x40006000 /* 0x40006000 - 0x40006fff: EXTMEM Controller*/
#endif /* __ARCH_RISCV_SRC_NR5M100_CHIP_NR5M1XX_MEMORYMAP_H */
#endif /* __ARCH_RISCV_SRC_NR5M100_HARDWARE_NR5M1XX_MEMORYMAP_H */

View file

@ -1,5 +1,5 @@
/************************************************************************************
* arch/risc-v/src/nr5m100/chip/nr5_timer.h
* arch/risc-v/src/nr5m100/hardware/nr5_timer.h
*
* Copyright (C) 2016 Ken Pettit. All rights reserved.
* Author: Ken Pettit <pettitkd@gmail.com>

View file

@ -1,5 +1,5 @@
/************************************************************************************
* arch/risc-v/src/nr5m100/chip/nr5_uart.h
* arch/risc-v/src/nr5m100/hardware/nr5_uart.h
*
* Copyright (C) 2016 Ken Pettit. All rights reserved.
* Author: Ken Pettit <pettitkd@gmail.com>

View file

@ -47,7 +47,7 @@
#endif
#if defined(CONFIG_NR5_NR5M1XX)
# include "chip/nr5m1xx_epic.h"
# include "hardware/nr5m1xx_epic.h"
#endif
#include <arch/rv32im/csr.h>

View file

@ -36,7 +36,7 @@
//#include <stdint.h>
#ifdef CONFIG_NR5_NR5MXXX
#include "chip/nr5m1xx_memorymap.h"
#include "hardware/nr5m1xx_memorymap.h"
#endif
#endif /* _ARCH_RISCV_SRC_NR5M100_NR5_MEMORYMAP_H */

View file

@ -45,7 +45,7 @@
#include <nuttx/config.h>
#include "chip.h"
#include "chip/nr5m1xx_timer.h"
#include "hardware/nr5m1xx_timer.h"
/************************************************************************************
* Pre-processor Definitions

View file

@ -36,7 +36,7 @@
#include <stdint.h>
#ifdef CONFIG_NR5_NR5M1XX
#include "chip/nr5m1xx_uart.h"
#include "hardware/nr5m1xx_uart.h"
#endif
void nr5_uart_init(int uart_num);

View file

@ -49,7 +49,7 @@
#include <nuttx/irq.h>
#include <arch/irq.h>
#include "chip/esp32_dport.h"
#include "hardware/esp32_dport.h"
#include "esp32_cpuint.h"
#include "xtensa.h"

View file

@ -51,8 +51,8 @@
#include "sched/sched.h"
#include "xtensa.h"
#include "chip/esp32_dport.h"
#include "chip/esp32_rtccntl.h"
#include "hardware/esp32_dport.h"
#include "hardware/esp32_rtccntl.h"
#include "esp32_region.h"
#include "esp32_cpuint.h"
#include "esp32_smp.h"

View file

@ -39,8 +39,8 @@
#include <arch/irq.h>
#include "xtensa.h"
#include "chip/esp32_iomux.h"
#include "chip/esp32_gpio.h"
#include "hardware/esp32_iomux.h"
#include "hardware/esp32_gpio.h"
#include "esp32_cpuint.h"
#include "esp32_gpio.h"

View file

@ -47,7 +47,7 @@
#include <nuttx/spinlock.h>
#include <arch/irq.h>
#include "chip/esp32_dport.h"
#include "hardware/esp32_dport.h"
#include "xtensa.h"
#ifdef CONFIG_SMP

View file

@ -60,10 +60,10 @@
#include <arch/board/board.h>
#include "xtensa.h"
#include "chip/esp32_soc.h"
#include "chip/esp32_iomux.h"
#include "chip/esp32_gpio_sigmap.h"
#include "chip/esp32_uart.h"
#include "hardware/esp32_soc.h"
#include "hardware/esp32_iomux.h"
#include "hardware/esp32_gpio_sigmap.h"
#include "hardware/esp32_uart.h"
#include "rom/esp32_gpio.h"
#include "esp32_config.h"
#include "esp32_gpio.h"

View file

@ -38,8 +38,8 @@
#include "xtensa.h"
#include "xtensa_attr.h"
#include "chip/esp32_dport.h"
#include "chip/esp32_rtccntl.h"
#include "hardware/esp32_dport.h"
#include "hardware/esp32_rtccntl.h"
#include "esp32_clockconfig.h"
#include "esp32_region.h"
#include "esp32_start.h"

View file

@ -1,5 +1,5 @@
/****************************************************************************
* arch/xtensa/src/esp32/chip/esp32_dport.h
* arch/xtensa/src/esp32/hardware/esp32_dport.h
*
* Adapted from use in NuttX by:
*
@ -24,14 +24,14 @@
*
****************************************************************************/
#ifndef __ARCH_XTENSA_SRC_ESP32_CHIP_ESP32_DPORT_H
#define __ARCH_XTENSA_SRC_ESP32_CHIP_ESP32_DPORT_H
#ifndef __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_DPORT_H
#define __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_DPORT_H
/****************************************************************************
* Included Files
****************************************************************************/
#include "chip/esp32_soc.h"
#include "hardware/esp32_soc.h"
/****************************************************************************
* Pre-processor Definitions
@ -4859,4 +4859,5 @@
#define DPORT_DATE_S 0
#define DPORT_DPORT_DATE_VERSION 0x1605190
#endif /*__ARCH_XTENSA_SRC_ESP32_CHIP_ESP32_DPORT_H */
#endif /* __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_DPORT_H */

View file

@ -1,5 +1,5 @@
/****************************************************************************
* arch/xtensa/src/esp32/chip/esp32_gpio.h
* arch/xtensa/src/esp32/hardware/esp32_gpio.h
*
* Adapted from use in NuttX by:
*
@ -24,14 +24,14 @@
*
****************************************************************************/
#ifndef __ARCH_XTENSA_SRC_ESP32_CHIP_ESP32_GPIO_H
#define __ARCH_XTENSA_SRC_ESP32_CHIP_ESP32_GPIO_H
#ifndef __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_GPIO_H
#define __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_GPIO_H
/****************************************************************************
* Included Files
****************************************************************************/
#include "chip/esp32_soc.h"
#include "hardware/esp32_soc.h"
/****************************************************************************
* Pre-preprocessor Definitions
@ -11640,4 +11640,4 @@
#define GPIO_FUNC39_OUT_SEL_V 0x1FF
#define GPIO_FUNC39_OUT_SEL_S 0
#endif /* __ARCH_XTENSA_SRC_ESP32_CHIP_ESP32_GPIO_H */
#endif /* __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_GPIO_H */

View file

@ -1,5 +1,5 @@
/****************************************************************************
* arch/xtensa/src/esp32/chip/esp32_gpio_sigmap.h
* arch/xtensa/src/esp32/hardware/esp32_gpio_sigmap.h
*
* Adapted from use in NuttX by:
*
@ -24,8 +24,8 @@
*
****************************************************************************/
#ifndef __ARCH_XTENSA_SRC_ESP32_CHIP_ESP32_GPIO_SIGMAP_H
#define __ARCH_XTENSA_SRC_ESP32_CHIP_ESP32_GPIO_SIGMAP_H
#ifndef __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_GPIO_SIGMAP_H
#define __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_GPIO_SIGMAP_H
/****************************************************************************
* Pre-processor Definitions
@ -436,4 +436,4 @@
#define SIG_IN_FUNC227_IDX 227
#define SIG_IN_FUNC228_IDX 228
#endif /* __ARCH_XTENSA_SRC_ESP32_CHIP_ESP32_GPIO_SIGMAP_H */
#endif /* __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_GPIO_SIGMAP_H */

View file

@ -1,5 +1,5 @@
/****************************************************************************
* arch/xtensa/src/esp32/esp32_gpio.c
* arch/xtensa/src/esp32/hardware/esp32_gpio.c
*
* Developed for NuttX by:
*
@ -24,14 +24,14 @@
*
****************************************************************************/
#ifndef __ARCH_XTENSA_SRC_ESP32_CHIP_ESP32_MUX_H
#define __ARCH_XTENSA_SRC_ESP32_CHIP_ESP32_MUX_H 1
#ifndef __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_MUX_H
#define __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_MUX_H 1
/****************************************************************************
* Included Files
****************************************************************************/
#include "chip/esp32_soc.h"
#include "hardware/esp32_soc.h"
/****************************************************************************
* Pre-processor Definitions
@ -285,4 +285,4 @@
#define FUNC_GPIO39_GPIO39 2
#define FUNC_GPIO39_GPIO39_0 0
#endif /* __ARCH_XTENSA_SRC_ESP32_CHIP_ESP32_MUX_H */
#endif /* __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_MUX_H */

View file

@ -1,5 +1,5 @@
/****************************************************************************
* arch/xtensa/src/esp32/chip/esp32_rtccnt.h
* arch/xtensa/src/esp32/hardware/esp32_rtccnt.h
*
* Adapted from use in NuttX by:
*
@ -24,14 +24,14 @@
*
****************************************************************************/
#ifndef __ARCH_XTENSA_SRC_ESP32_CHIP_XTENSA_ESP32_H
#define __ARCH_XTENSA_SRC_ESP32_CHIP_XTENSA_ESP32_H
#ifndef __ARCH_XTENSA_SRC_ESP32_HARDWARE_XTENSA_ESP32_H
#define __ARCH_XTENSA_SRC_ESP32_HARDWARE_XTENSA_ESP32_H
/****************************************************************************
* Included Files
****************************************************************************/
#include "chip/esp32_soc.h"
#include "hardware/esp32_soc.h"
/****************************************************************************
* Pre-processor Definitions
@ -2001,4 +2001,4 @@
#define RTC_CNTL_CNTL_DATE_S 0
#define RTC_CNTL_RTC_CNTL_DATE_VERSION 0x1604280
#endif /*__ARCH_XTENSA_SRC_ESP32_CHIP_XTENSA_ESP32_H */
#endif /*__ARCH_XTENSA_SRC_ESP32_HARDWARE_XTENSA_ESP32_H */

View file

@ -1,5 +1,5 @@
/****************************************************************************
* arch/xtensa/src/esp32/chip/esp32_soc.h
* arch/xtensa/src/esp32/hardware/esp32_soc.h
*
* Adapted from use in NuttX by:
*
@ -24,8 +24,8 @@
*
****************************************************************************/
#ifndef __ARCH_XTENSA_SRC_ESP32_CHIP_ESP32_SOC_H
#define __ARCH_XTENSA_SRC_ESP32_CHIP_ESP32_SOC_H
#ifndef __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_SOC_H
#define __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_SOC_H
/****************************************************************************
* Included Files
@ -354,4 +354,4 @@
/* Other interrupt numbers should be managed by the user */
#endif /* __ARCH_XTENSA_SRC_ESP32_CHIP_ESP32_SOC_H */
#endif /* __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_SOC_H */

View file

@ -1,5 +1,5 @@
/****************************************************************************
* arch/xtensa/src/esp32/chip/esp32_uart.h
* arch/xtensa/src/esp32/hardware/esp32_uart.h
*
* Adapted from use in NuttX by:
*
@ -24,14 +24,14 @@
*
****************************************************************************/
#ifndef __ARCH_XTENSA_SRC_ESP32_CHIP_ESP32_UART_H
#define __ARCH_XTENSA_SRC_ESP32_CHIP_ESP32_UART_H
#ifndef __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_UART_H
#define __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_UART_H
/****************************************************************************
* Included Files
****************************************************************************/
#include "chip/esp32_soc.h"
#include "hardware/esp32_soc.h"
/****************************************************************************
* Pre-processor Macros
@ -1695,4 +1695,5 @@
#define UART_ID_V 0xFFFFFFFF
#define UART_ID_S 0
#endif /*__ARCH_XTENSA_SRC_ESP32_CHIP_ESP32_UART_H */
#endif /* __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_UART_H */

View file

@ -36,7 +36,7 @@
#include <stdint.h>
#include <stdbool.h>
#include "chip/esp32_gpio.h"
#include "hardware/esp32_gpio.h"
/****************************************************************************
* Pre-processor Definitions

View file

@ -51,7 +51,7 @@
#include "stm32_gpio.h"
#include "stm32_adc.h"
#include "chip/stm32_adc.h"
#include "hardware/stm32_adc.h"
#include "nucleo-f446re.h"
/****************************************************************************

View file

@ -51,7 +51,7 @@
#include "stm32_gpio.h"
#include "stm32_adc.h"
#include "chip/stm32_adc.h"
#include "hardware/stm32_adc.h"
#include "nucleo-f4x1re.h"
/****************************************************************************

View file

@ -64,7 +64,7 @@
* is we set aside more DMA channels/streams.
*/
/* Values defined in arch/arm/src/stm32l4/chip/stm32l4x3xx_dma.h */
/* Values defined in arch/arm/src/stm32l4/hardware/stm32l4x3xx_dma.h */
#define DMACHAN_SPI1_RX DMACHAN_SPI1_RX_1 /* 2 choices */
#define DMACHAN_SPI1_TX DMACHAN_SPI1_TX_1 /* 2 choices */

View file

@ -60,7 +60,7 @@
* is we set aside more DMA channels/streams.
*/
/* Values defined in arch/arm/src/stm32l4/chip/stm32l4x3xx_dma.h */
/* Values defined in arch/arm/src/stm32l4/hardware/stm32l4x3xx_dma.h */
#define DMACHAN_SDMMC DMACHAN_SDMMC_1 /* 2 choices */

View file

@ -62,7 +62,7 @@
* is we set aside more DMA channels/streams.
*/
/* Values defined in arch/arm/src/stm32l4/chip/stm32l4x6xx_dma.h */
/* Values defined in arch/arm/src/stm32l4/hardware/stm32l4x6xx_dma.h */
#define DMACHAN_SDMMC DMACHAN_SDMMC_1 /* 2 choices */

View file

@ -36,10 +36,10 @@
* Included Files
****************************************************************************/
#include <chip.h>
#include <debug.h>
#include <errno.h>
#include "chip.h"
#include "stm32_adc.h"
/*****************************************************************************

View file

@ -60,7 +60,7 @@
* is we set aside more DMA channels/streams.
*/
/* Values defined in arch/arm/src/stm32l4/chip/stm32l4x6xx_dma.h */
/* Values defined in arch/arm/src/stm32l4/hardware/stm32l4x6xx_dma.h */
/* XXX are these used on disco? */

View file

@ -59,7 +59,7 @@
* is we set aside more DMA channels/streams.
*/
/* Values defined in arch/arm/src/stm32l4/chip/stm32l4x6xx_dma.h */
/* Values defined in arch/arm/src/stm32l4/hardware/stm32l4x6xx_dma.h */
/* XXX are these used on disco? */