mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
307e8c7a17
Introduce XMEGA EBI driver. This enable EBI for use with all memory supported by the device and peripherals. It include support to SRAM, SDRAM, LCDs or any other external bus access. Note: This feature only works for A1/A1U series, which are, the series with EBI hardware. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
91 lines
1.9 KiB
Plaintext
91 lines
1.9 KiB
Plaintext
# Copyright (c) 2020 HAW Hamburg
|
|
# Copyright (c) 2021 Gerson Fernando Budke
|
|
#
|
|
# This file is subject to the terms and conditions of the GNU Lesser
|
|
# General Public License v2.1. See the file LICENSE in the top level
|
|
# directory for more details.
|
|
#
|
|
|
|
config HAS_CPU_CORE_ATXMEGA
|
|
bool
|
|
select CPU_ARCH_AVR8
|
|
select HAS_CPU_ATXMEGA
|
|
select HAS_CPP
|
|
|
|
config CPU_COMMON_ATXMEGA
|
|
bool
|
|
select HAS_CPU_CORE_ATXMEGA
|
|
select HAS_PERIPH_CPUID
|
|
select HAS_PERIPH_GPIO
|
|
select HAS_PERIPH_GPIO_IRQ
|
|
select HAS_PERIPH_NVM
|
|
select HAS_PERIPH_PM
|
|
select HAS_PERIPH_TIMER
|
|
select HAS_PERIPH_TIMER_PERIODIC
|
|
|
|
config CPU_CORE_ATXMEGA_A1
|
|
bool
|
|
select CPU_COMMON_ATXMEGA
|
|
select HAS_ATXMEGA_EBI
|
|
|
|
config CPU_CORE_ATXMEGA_A3
|
|
bool
|
|
select CPU_COMMON_ATXMEGA
|
|
|
|
config CPU_CORE_ATXMEGA_A4
|
|
bool
|
|
select CPU_COMMON_ATXMEGA
|
|
|
|
config CPU_CORE_ATXMEGA_B1
|
|
bool
|
|
select CPU_COMMON_ATXMEGA
|
|
|
|
config CPU_CORE_ATXMEGA_B3
|
|
bool
|
|
select CPU_COMMON_ATXMEGA
|
|
|
|
config CPU_CORE_ATXMEGA_C3
|
|
bool
|
|
select CPU_COMMON_ATXMEGA
|
|
|
|
config CPU_CORE_ATXMEGA_C4
|
|
bool
|
|
select CPU_COMMON_ATXMEGA
|
|
|
|
config CPU_CORE_ATXMEGA_D3
|
|
bool
|
|
select CPU_COMMON_ATXMEGA
|
|
|
|
config CPU_CORE_ATXMEGA_D4
|
|
bool
|
|
select CPU_COMMON_ATXMEGA
|
|
|
|
config CPU_CORE_ATXMEGA_E5
|
|
bool
|
|
select CPU_COMMON_ATXMEGA
|
|
|
|
config CPU
|
|
default "atxmega" if CPU_COMMON_ATXMEGA
|
|
|
|
source "$(RIOTCPU)/atxmega/Kconfig.XMEGAA"
|
|
source "$(RIOTCPU)/atxmega/Kconfig.XMEGAB"
|
|
source "$(RIOTCPU)/atxmega/Kconfig.XMEGAC"
|
|
source "$(RIOTCPU)/atxmega/Kconfig.XMEGAD"
|
|
source "$(RIOTCPU)/atxmega/Kconfig.XMEGAE"
|
|
|
|
## Declaration of specific features
|
|
config HAS_CPU_ATXMEGA
|
|
bool
|
|
|
|
config HAS_ATXMEGA_EBI
|
|
bool
|
|
help
|
|
Indicates that the External Bus Interface is present.
|
|
|
|
config HAS_PERIPH_NVM
|
|
bool
|
|
help
|
|
Indicates that the Non Volatile Memory controller is present.
|
|
|
|
source "$(RIOTCPU)/avr8_common/Kconfig"
|