Rename arch/arm/src/efm32/chip to arch/arm/src/efm32/hardware.
This commit is contained in:
parent
961b17e740
commit
9839f8ad91
@ -44,7 +44,7 @@
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
#include "chip/efm32_adc.h"
|
||||
#include "hardware/efm32_adc.h"
|
||||
|
||||
#include <nuttx/analog/adc.h>
|
||||
|
||||
|
@ -42,7 +42,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -50,9 +50,9 @@
|
||||
#include "chip.h"
|
||||
#include "itm_syslog.h"
|
||||
#include "efm32_gpio.h"
|
||||
#include "chip/efm32_msc.h"
|
||||
#include "chip/efm32_cmu.h"
|
||||
#include "chip/efm32_gpio.h"
|
||||
#include "hardware/efm32_msc.h"
|
||||
#include "hardware/efm32_cmu.h"
|
||||
#include "hardware/efm32_gpio.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -50,8 +50,8 @@
|
||||
#include <nuttx/arch.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "chip/efm32_cmu.h"
|
||||
#include "chip/efm32_dma.h"
|
||||
#include "hardware/efm32_cmu.h"
|
||||
#include "hardware/efm32_dma.h"
|
||||
#include "efm32_dma.h"
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -47,7 +47,7 @@
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "chip/efm32_dma.h"
|
||||
#include "hardware/efm32_dma.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -80,8 +80,8 @@
|
||||
#include "up_internal.h"
|
||||
#include "up_arch.h"
|
||||
|
||||
#include "chip/efm32_msc.h"
|
||||
#include "chip/efm32_devinfo.h"
|
||||
#include "hardware/efm32_msc.h"
|
||||
#include "hardware/efm32_devinfo.h"
|
||||
|
||||
#include "efm32_bitband.h"
|
||||
|
||||
|
@ -45,7 +45,7 @@
|
||||
#include <errno.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "chip/efm32_gpio.h"
|
||||
#include "hardware/efm32_gpio.h"
|
||||
#include "efm32_gpio.h"
|
||||
|
||||
/************************************************************************************
|
||||
|
@ -47,7 +47,7 @@
|
||||
#include <nuttx/irq.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "chip/efm32_gpio.h"
|
||||
#include "hardware/efm32_gpio.h"
|
||||
#include "efm32_gpio.h"
|
||||
#include "efm32_bitband.h"
|
||||
|
||||
|
@ -80,8 +80,8 @@
|
||||
#include "up_arch.h"
|
||||
|
||||
#include "efm32_gpio.h"
|
||||
#include "chip/efm32_cmu.h"
|
||||
#include "chip/efm32_i2c.h"
|
||||
#include "hardware/efm32_cmu.h"
|
||||
#include "hardware/efm32_i2c.h"
|
||||
|
||||
/* At least one I2C peripheral must be enabled */
|
||||
|
||||
|
@ -57,7 +57,7 @@
|
||||
#include "up_arch.h"
|
||||
#include "up_internal.h"
|
||||
|
||||
#include "chip/efm32_leuart.h"
|
||||
#include "hardware/efm32_leuart.h"
|
||||
#include "efm32_config.h"
|
||||
#include "efm32_lowputc.h"
|
||||
|
||||
|
@ -47,10 +47,10 @@
|
||||
|
||||
#include "up_arch.h"
|
||||
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "chip/efm32_usart.h"
|
||||
#include "chip/efm32_leuart.h"
|
||||
#include "chip/efm32_cmu.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
#include "hardware/efm32_usart.h"
|
||||
#include "hardware/efm32_leuart.h"
|
||||
#include "hardware/efm32_cmu.h"
|
||||
|
||||
#include "efm32_gpio.h"
|
||||
#include "efm32_lowputc.h"
|
||||
|
@ -53,8 +53,8 @@
|
||||
#include "up_arch.h"
|
||||
#include "up_internal.h"
|
||||
|
||||
#include "chip/efm32_cmu.h"
|
||||
#include "chip/efm32_timer.h"
|
||||
#include "hardware/efm32_cmu.h"
|
||||
#include "hardware/efm32_timer.h"
|
||||
#include "efm32_timer.h"
|
||||
#include "efm32_config.h"
|
||||
#include "efm32_gpio.h"
|
||||
|
@ -82,7 +82,7 @@
|
||||
defined(CONFIG_EFM32_TIMER3_PWM)
|
||||
|
||||
#include <arch/board/board.h>
|
||||
#include "chip/efm32_timer.h"
|
||||
#include "hardware/efm32_timer.h"
|
||||
|
||||
/* For each timer that is enabled for PWM usage, we need the following additional
|
||||
* configuration settings:
|
||||
|
@ -50,8 +50,8 @@
|
||||
|
||||
#include "up_arch.h"
|
||||
|
||||
#include "chip/efm32_emu.h"
|
||||
#include "chip/efm32_rmu.h"
|
||||
#include "hardware/efm32_emu.h"
|
||||
#include "hardware/efm32_rmu.h"
|
||||
|
||||
#include "efm32_rmu.h"
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_rmu.h"
|
||||
#include "hardware/efm32_rmu.h"
|
||||
|
||||
#ifdef CONFIG_EFM32_RMU
|
||||
|
||||
|
@ -53,7 +53,7 @@
|
||||
#include "up_arch.h"
|
||||
|
||||
#include "chip.h"
|
||||
#include "chip/efm32_burtc.h"
|
||||
#include "hardware/efm32_burtc.h"
|
||||
|
||||
#include "efm32_rmu.h"
|
||||
#include "efm32_rtc.h"
|
||||
|
@ -61,7 +61,7 @@
|
||||
#include "up_arch.h"
|
||||
#include "up_internal.h"
|
||||
|
||||
#include "chip/efm32_usart.h"
|
||||
#include "hardware/efm32_usart.h"
|
||||
#include "efm32_config.h"
|
||||
#include "efm32_gpio.h"
|
||||
#include "efm32_lowputc.h"
|
||||
|
@ -62,7 +62,7 @@
|
||||
#include "up_arch.h"
|
||||
|
||||
#include "chip.h"
|
||||
#include "chip/efm32_usart.h"
|
||||
#include "hardware/efm32_usart.h"
|
||||
#include "efm32_config.h"
|
||||
#include "efm32_dma.h"
|
||||
#include "efm32_lowputc.h"
|
||||
|
@ -51,7 +51,7 @@
|
||||
#include "up_arch.h"
|
||||
#include "up_internal.h"
|
||||
|
||||
#include "chip/efm32_timer.h"
|
||||
#include "hardware/efm32_timer.h"
|
||||
#include "efm32_config.h"
|
||||
#include "efm32_gpio.h"
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_timer.h"
|
||||
#include "hardware/efm32_timer.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -44,7 +44,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "chip/efm32_usb.h"
|
||||
#include "hardware/efm32_usb.h"
|
||||
|
||||
#if defined(CONFIG_EFM32_OTGFS)
|
||||
|
||||
|
@ -60,7 +60,7 @@
|
||||
#include "up_arch.h"
|
||||
#include "up_internal.h"
|
||||
|
||||
#include "chip/efm32_cmu.h"
|
||||
#include "hardware/efm32_cmu.h"
|
||||
|
||||
#include "efm32_usb.h"
|
||||
|
||||
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG)
|
||||
# warning This is the EFM32GG header file; Review/modification needed for this archtecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG)
|
||||
# warning This is the EFM32GG header file; Review/modification needed for this archtecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG)
|
||||
# warning This is the EFM32GG header file; Review/modification needed for this archtecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG)
|
||||
# warning This is the EFM32GG header file; Review/modification needed for this archtecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG)
|
||||
# warning This is the EFM32GG header file; Review/modification needed for this archtecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG) && !defined(CONFIG_EFM32_EFM32G)
|
||||
# warning This is the EFM32GG/G header file; Review/modification needed for this archtecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG)
|
||||
# warning This is the EFM32GG header file; Review/modification needed for this archtecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG)
|
||||
# warning This is the EFM32GG header file; Review/modification needed for this archtecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG) && !defined(CONFIG_EFM32_EFM32G)
|
||||
# warning This is the EFM32GG/G header file; Review/modification needed for this archtecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG)
|
||||
# warning This is the EFM32GG header file; Review/modification needed for this archtecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG) && !defined(CONFIG_EFM32_EFM32G)
|
||||
# warning This is the EFM32GG/G header file; Review/modification needed for this archtecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG)
|
||||
# warning This is the EFM32GG header file; Review/modification needed for this archtecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG)
|
||||
# warning This is the EFM32GG header file; Review/modification needed for this archtecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG)
|
||||
# warning This is the EFM32GG header file; Review/modification needed for this archtecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG)
|
||||
# warning This is the EFM32GG header file; Review/modification needed for this archtecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG) && !defined(CONFIG_EFM32_EFM32G)
|
||||
# warning This is the EFM32GG/G header file; Review/modification needed for this archtecture
|
@ -44,11 +44,11 @@
|
||||
#include "chip.h"
|
||||
|
||||
#if defined(CONFIG_EFM32_EFM32TG)
|
||||
# include "chip/efm32tg_memorymap.h"
|
||||
# include "hardware/efm32tg_memorymap.h"
|
||||
#elif defined(CONFIG_EFM32_EFM32G)
|
||||
# include "chip/efm32g_memorymap.h"
|
||||
# include "hardware/efm32g_memorymap.h"
|
||||
#elif defined(CONFIG_EFM32_EFM32GG)
|
||||
# include "chip/efm32gg_memorymap.h"
|
||||
# include "hardware/efm32gg_memorymap.h"
|
||||
#else
|
||||
# error "Unsupported EFM32 memory map"
|
||||
#endif
|
@ -65,7 +65,7 @@
|
||||
* Included Files
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
/*******************************************************************************************************************************
|
||||
* Pre-processor Definitions
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG)
|
||||
# warning This is the EFM32GG header file; Review/modification needed for this archtecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG)
|
||||
# warning This is the EFM32GG header file; Review/modification needed for this archtecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG)
|
||||
# warning This is the EFM32GG header file; Review/modification needed for this archtecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG)
|
||||
# warning This is the EFM32GG header file; Review/modification needed for this archtecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG)
|
||||
# warning This is the EFM32GG header file; Review/modification needed for this archtecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG)
|
||||
# warning This is the EFM32GG header file; Review/modification needed for this architecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG) && !defined(CONFIG_EFM32_EFM32G)
|
||||
# warning This is the EFM32GG/G header file; Review/modification needed for this archtecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG)
|
||||
# warning This is the EFM32GG header file; Review/modification needed for this archtecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG)
|
||||
# warning This is the EFM32GG header file; Review/modification needed for this archtecture
|
@ -66,7 +66,7 @@
|
||||
*******************************************************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/efm32_memorymap.h"
|
||||
#include "hardware/efm32_memorymap.h"
|
||||
|
||||
#if !defined(CONFIG_EFM32_EFM32GG)
|
||||
# warning This is the EFM32GG header file; Review/modification needed for this archtecture
|
@ -44,8 +44,8 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "chip/efm32_cmu.h"
|
||||
#include "chip/efm32_usart.h"
|
||||
#include "hardware/efm32_cmu.h"
|
||||
#include "hardware/efm32_usart.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -44,8 +44,8 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "chip/efm32_cmu.h"
|
||||
#include "chip/efm32_usart.h"
|
||||
#include "hardware/efm32_cmu.h"
|
||||
#include "hardware/efm32_usart.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -44,8 +44,8 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "chip/efm32_cmu.h"
|
||||
#include "chip/efm32_usart.h"
|
||||
#include "hardware/efm32_cmu.h"
|
||||
#include "hardware/efm32_usart.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
Loading…
Reference in New Issue
Block a user