Skip to content

Commit

Permalink
add xmc4800-relax to nuttx
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasNS authored and xiaoxiang781216 committed Jan 27, 2024
1 parent ba1b96e commit 26ffb1f
Show file tree
Hide file tree
Showing 15 changed files with 1,562 additions and 0 deletions.
13 changes: 13 additions & 0 deletions boards/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2868,6 +2868,15 @@ config ARCH_BOARD_XMC4700RELAX
---help---
Infineon XMC4700 Relax

config ARCH_BOARD_XMC4800RELAX
bool "Infineon XMC4800 Relax"
depends on ARCH_CHIP_XMC4800
select ARCH_HAVE_LEDS
select ARCH_HAVE_BUTTONS
select ARCH_HAVE_IRQBUTTONS
---help---
Infineon XMC4800 Relax

config ARCH_BOARD_VERDIN_MX8MP
bool "Toradex Verdin i.MX8MP"
depends on ARCH_CHIP_MX8MP
Expand Down Expand Up @@ -3364,6 +3373,7 @@ config ARCH_BOARD
default "viewtool-stm32f107" if ARCH_BOARD_VIEWTOOL_STM32F107
default "xmc4500-relax" if ARCH_BOARD_XMC4500RELAX
default "xmc4700-relax" if ARCH_BOARD_XMC4700RELAX
default "xmc4800-relax" if ARCH_BOARD_XMC4800RELAX
default "verdin-mx8mp" if ARCH_BOARD_VERDIN_MX8MP
default "z16f2800100zcog" if ARCH_BOARD_Z16F2800100ZCOG
default "z20x" if ARCH_BOARD_Z20X
Expand Down Expand Up @@ -4070,6 +4080,9 @@ endif
if ARCH_BOARD_XMC4700RELAX
source "boards/arm/xmc4/xmc4700-relax/Kconfig"
endif
if ARCH_BOARD_XMC4800RELAX
source "boards/arm/xmc4/xmc4800-relax/Kconfig"
endif
if ARCH_BOARD_VERDIN_MX8MP
source "boards/arm/mx8mp/verdin-mx8mp/Kconfig"
endif
Expand Down
4 changes: 4 additions & 0 deletions boards/arm/xmc4/xmc4800-relax/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
43 changes: 43 additions & 0 deletions boards/arm/xmc4/xmc4800-relax/configs/nsh/defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#
# This file is autogenerated: PLEASE DO NOT EDIT IT.
#
# You can use "make menuconfig" to make any modifications to the installed .config file.
# You can then do "make savedefconfig" to generate a new defconfig file that includes your
# modifications.
#
# CONFIG_ARCH_RAMFUNCS is not set
CONFIG_ARCH="arm"
CONFIG_ARCH_BOARD="xmc4800-relax"
CONFIG_ARCH_BOARD_XMC4800RELAX=y
CONFIG_ARCH_BUTTONS=y
CONFIG_ARCH_CHIP="xmc4"
CONFIG_ARCH_CHIP_XMC4800=y
CONFIG_ARCH_CHIP_XMC4=y
CONFIG_ARCH_INTERRUPTSTACK=2048
CONFIG_ARCH_IRQBUTTONS=y
CONFIG_ARCH_STACKDUMP=y
CONFIG_BOARD_LOOPSPERMSEC=8000
CONFIG_BUILTIN=y
CONFIG_DEBUG_NOOPT=y
CONFIG_INIT_ENTRYPOINT="nsh_main"
CONFIG_INTELHEX_BINARY=y
CONFIG_NSH_ARCHINIT=y
CONFIG_NSH_BUILTIN_APPS=y
CONFIG_NSH_FILEIOSIZE=512
CONFIG_NSH_LINELEN=64
CONFIG_NSH_READLINE=y
CONFIG_PREALLOC_TIMERS=4
CONFIG_RAM_SIZE=65536
CONFIG_RAM_START=0x20000000
CONFIG_RAW_BINARY=y
CONFIG_RR_INTERVAL=200
CONFIG_SCHED_HPWORK=y
CONFIG_SCHED_WAITPID=y
CONFIG_START_DAY=10
CONFIG_START_MONTH=3
CONFIG_START_YEAR=2014
CONFIG_SYSTEM_NSH=y
CONFIG_TESTING_RAMTEST=y
CONFIG_UART0_SERIAL_CONSOLE=y
CONFIG_XMC4_USIC0=y
CONFIG_XMC4_USIC0_CHAN1_NONE=y
Loading

0 comments on commit 26ffb1f

Please sign in to comment.