This is an automated email from the ASF dual-hosted git repository. GUIDINGLI pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 6abfda65377fe303b24b7b395f685ad0204d7f7b Author: Rodrigo Sim <[email protected]> AuthorDate: Wed Nov 25 23:28:45 2026 -0300 boards/arm/efr32: Add xG24-EK2703A support. Add the Silicon Labs EFR32xG24 Explorer Kit (BRD2703A). - Console on USART0 (PA5/PA6), routed to the virtual COM port of the on-board J-Link. - LED0 (PA4) and LED1 (PA7) as auto LEDs or user LEDs. - BTN0 (PB2) and BTN1 (PB3) with interrupts (ARCH_IRQBUTTONS). - nsh and ostest configurations. BOARD_LOOPSPERMSEC was measured with calib_udelay on the board. - Build the efr32 boards in CI (arm-other). Tested on an xG24-EK2703A: nsh boots, ostest passes, LEDs and buttons work. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Rodrigo Sim <[email protected]> --- boards/Kconfig | 16 +++ boards/arm/efr32/xg24-ek2703a/CMakeLists.txt | 23 ++++ boards/arm/efr32/xg24-ek2703a/Kconfig | 25 ++++ .../arm/efr32/xg24-ek2703a/configs/nsh/defconfig | 55 ++++++++ .../efr32/xg24-ek2703a/configs/ostest/defconfig | 50 +++++++ boards/arm/efr32/xg24-ek2703a/include/board.h | 120 ++++++++++++++++ boards/arm/efr32/xg24-ek2703a/scripts/Make.defs | 34 +++++ boards/arm/efr32/xg24-ek2703a/scripts/ld.script | 115 ++++++++++++++++ boards/arm/efr32/xg24-ek2703a/src/CMakeLists.txt | 41 ++++++ boards/arm/efr32/xg24-ek2703a/src/Makefile | 41 ++++++ boards/arm/efr32/xg24-ek2703a/src/efr32_appinit.c | 75 ++++++++++ boards/arm/efr32/xg24-ek2703a/src/efr32_autoleds.c | 86 ++++++++++++ boards/arm/efr32/xg24-ek2703a/src/efr32_boot.c | 78 +++++++++++ boards/arm/efr32/xg24-ek2703a/src/efr32_bringup.c | 99 ++++++++++++++ boards/arm/efr32/xg24-ek2703a/src/efr32_buttons.c | 151 +++++++++++++++++++++ boards/arm/efr32/xg24-ek2703a/src/efr32_userleds.c | 116 ++++++++++++++++ boards/arm/efr32/xg24-ek2703a/src/xg24-ek2703a.h | 80 +++++++++++ tools/ci/testlist/arm-other.dat | 1 + 18 files changed, 1206 insertions(+) diff --git a/boards/Kconfig b/boards/Kconfig index f2a53359790..1d4f5ded25f 100644 --- a/boards/Kconfig +++ b/boards/Kconfig @@ -288,6 +288,18 @@ config ARCH_BOARD_EFM32GG_STK3700 ---help--- This option selects the EFM32 Giant Gecko Starter Kit (EFM32GG-STK3700). +config ARCH_BOARD_XG24_EK2703A + bool "Silicon Labs EFR32xG24 Explorer Kit (xG24-EK2703A)" + depends on ARCH_CHIP_EFR32MG24B210F1536IM48 + select ARCH_HAVE_LEDS + select ARCH_HAVE_BUTTONS + select ARCH_HAVE_IRQBUTTONS if EFR32_GPIO_IRQ + ---help--- + This option selects the Silicon Labs EFR32xG24 Explorer Kit + (xG24-EK2703A, board BRD2703A) with an EFR32MG24B210F1536IM48 + (Cortex-M33, 1536 KB flash, 256 KB RAM), an on-board J-Link + debugger with a virtual COM port, two LEDs and two buttons. + config ARCH_BOARD_EKKLM3S9B96 bool "TI/Stellaris EKK-LM3S9B96" depends on ARCH_CHIP_LM3S9B96 @@ -4264,6 +4276,7 @@ config ARCH_BOARD default "eagle100" if ARCH_BOARD_EAGLE100 default "efm32-g8xx-stk" if ARCH_BOARD_EFM32G8XXSTK default "efm32gg-stk3700" if ARCH_BOARD_EFM32GG_STK3700 + default "xg24-ek2703a" if ARCH_BOARD_XG24_EK2703A default "ekk-lm3s9b96" if ARCH_BOARD_EKKLM3S9B96 default "elegoo-mega2560r3" if ARCH_BOARD_ELEGOO_MEGA2560R3 default "emw3162" if ARCH_BOARD_EMW3162 @@ -4748,6 +4761,9 @@ endif if ARCH_BOARD_EFM32GG_STK3700 source "boards/arm/efm32/efm32gg-stk3700/Kconfig" endif +if ARCH_BOARD_XG24_EK2703A +source "boards/arm/efr32/xg24-ek2703a/Kconfig" +endif if ARCH_BOARD_OLIMEX_EFM32G880F128_STK source "boards/arm/efm32/olimex-efm32g880f128-stk/Kconfig" endif diff --git a/boards/arm/efr32/xg24-ek2703a/CMakeLists.txt b/boards/arm/efr32/xg24-ek2703a/CMakeLists.txt new file mode 100644 index 00000000000..75ddb62cc37 --- /dev/null +++ b/boards/arm/efr32/xg24-ek2703a/CMakeLists.txt @@ -0,0 +1,23 @@ +# ############################################################################## +# boards/arm/efr32/xg24-ek2703a/CMakeLists.txt +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software Foundation (ASF) under one or more contributor +# license agreements. See the NOTICE file distributed with this work for +# additional information regarding copyright ownership. The ASF licenses this +# file to you under the Apache License, Version 2.0 (the "License"); you may not +# use this file except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations under +# the License. +# +# ############################################################################## + +add_subdirectory(src) diff --git a/boards/arm/efr32/xg24-ek2703a/Kconfig b/boards/arm/efr32/xg24-ek2703a/Kconfig new file mode 100644 index 00000000000..7de1c48dd54 --- /dev/null +++ b/boards/arm/efr32/xg24-ek2703a/Kconfig @@ -0,0 +1,25 @@ +############################################################################ +# boards/arm/efr32/xg24-ek2703a/Kconfig +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. The +# ASF licenses this file to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance with the +# License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# +############################################################################ + +if ARCH_BOARD_XG24_EK2703A + +endif # ARCH_BOARD_XG24_EK2703A diff --git a/boards/arm/efr32/xg24-ek2703a/configs/nsh/defconfig b/boards/arm/efr32/xg24-ek2703a/configs/nsh/defconfig new file mode 100644 index 00000000000..2ece2020b2b --- /dev/null +++ b/boards/arm/efr32/xg24-ek2703a/configs/nsh/defconfig @@ -0,0 +1,55 @@ +# +# 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_LEDS is not set +CONFIG_ARCH="arm" +CONFIG_ARCH_BOARD="xg24-ek2703a" +CONFIG_ARCH_BOARD_XG24_EK2703A=y +CONFIG_ARCH_BUTTONS=y +CONFIG_ARCH_CHIP="efr32" +CONFIG_ARCH_CHIP_EFR32=y +CONFIG_ARCH_CHIP_EFR32MG24B210F1536IM48=y +CONFIG_ARCH_INTERRUPTSTACK=2048 +CONFIG_ARCH_IRQBUTTONS=y +CONFIG_ARCH_STACKDUMP=y +CONFIG_BOARD_LOOPSPERMSEC=7795 +CONFIG_BUILTIN=y +CONFIG_DEBUG_FULLOPT=y +CONFIG_DEBUG_SYMBOLS=y +CONFIG_EFR32_GPIO_IRQ=y +CONFIG_EFR32_USART0=y +CONFIG_EXAMPLES_HELLO=y +CONFIG_FS_PROCFS=y +CONFIG_IDLETHREAD_STACKSIZE=2048 +CONFIG_INIT_ENTRYPOINT="nsh_main" +CONFIG_INIT_STACKSIZE=3072 +CONFIG_INPUT=y +CONFIG_INPUT_BUTTONS=y +CONFIG_INPUT_BUTTONS_LOWER=y +CONFIG_INTELHEX_BINARY=y +CONFIG_LIBC_PERROR_STDOUT=y +CONFIG_LIBC_STRERROR=y +CONFIG_NFILE_DESCRIPTORS_PER_BLOCK=6 +CONFIG_NSH_BUILTIN_APPS=y +CONFIG_NSH_FILEIOSIZE=512 +CONFIG_NSH_MAXARGUMENTS=12 +CONFIG_NSH_READLINE=y +CONFIG_NSH_STRERROR=y +CONFIG_RAM_SIZE=262144 +CONFIG_RAM_START=0x20000000 +CONFIG_RAW_BINARY=y +CONFIG_RR_INTERVAL=200 +CONFIG_SCHED_WAITPID=y +CONFIG_STACK_COLORATION=y +CONFIG_START_DAY=24 +CONFIG_START_MONTH=11 +CONFIG_START_YEAR=2026 +CONFIG_SYSTEM_NSH=y +CONFIG_TASK_NAME_SIZE=12 +CONFIG_USART0_SERIAL_CONSOLE=y +CONFIG_USERLED=y +CONFIG_USERLED_LOWER=y diff --git a/boards/arm/efr32/xg24-ek2703a/configs/ostest/defconfig b/boards/arm/efr32/xg24-ek2703a/configs/ostest/defconfig new file mode 100644 index 00000000000..9b567a6b8ac --- /dev/null +++ b/boards/arm/efr32/xg24-ek2703a/configs/ostest/defconfig @@ -0,0 +1,50 @@ +# +# 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_LEDS is not set +CONFIG_ARCH="arm" +CONFIG_ARCH_BOARD="xg24-ek2703a" +CONFIG_ARCH_BOARD_XG24_EK2703A=y +CONFIG_ARCH_CHIP="efr32" +CONFIG_ARCH_CHIP_EFR32=y +CONFIG_ARCH_CHIP_EFR32MG24B210F1536IM48=y +CONFIG_ARCH_INTERRUPTSTACK=2048 +CONFIG_ARCH_STACKDUMP=y +CONFIG_BOARD_LOOPSPERMSEC=7795 +CONFIG_BUILTIN=y +CONFIG_DEBUG_FULLOPT=y +CONFIG_DEBUG_SYMBOLS=y +CONFIG_EFR32_USART0=y +CONFIG_FS_PROCFS=y +CONFIG_IDLETHREAD_STACKSIZE=2048 +CONFIG_INIT_ENTRYPOINT="nsh_main" +CONFIG_INIT_STACKSIZE=3072 +CONFIG_INTELHEX_BINARY=y +CONFIG_LIBC_PERROR_STDOUT=y +CONFIG_LIBC_STRERROR=y +CONFIG_NFILE_DESCRIPTORS_PER_BLOCK=6 +CONFIG_NSH_BUILTIN_APPS=y +CONFIG_NSH_FILEIOSIZE=512 +CONFIG_NSH_MAXARGUMENTS=12 +CONFIG_NSH_READLINE=y +CONFIG_NSH_STRERROR=y +CONFIG_RAM_SIZE=262144 +CONFIG_RAM_START=0x20000000 +CONFIG_RAW_BINARY=y +CONFIG_RR_INTERVAL=200 +CONFIG_SCHED_CHILD_STATUS=y +CONFIG_SCHED_HAVE_PARENT=y +CONFIG_SCHED_WAITPID=y +CONFIG_SIG_DEFAULT=y +CONFIG_STACK_COLORATION=y +CONFIG_START_DAY=24 +CONFIG_START_MONTH=11 +CONFIG_START_YEAR=2026 +CONFIG_SYSTEM_NSH=y +CONFIG_TASK_NAME_SIZE=12 +CONFIG_TESTING_OSTEST=y +CONFIG_USART0_SERIAL_CONSOLE=y diff --git a/boards/arm/efr32/xg24-ek2703a/include/board.h b/boards/arm/efr32/xg24-ek2703a/include/board.h new file mode 100644 index 00000000000..354bb239275 --- /dev/null +++ b/boards/arm/efr32/xg24-ek2703a/include/board.h @@ -0,0 +1,120 @@ +/**************************************************************************** + * boards/arm/efr32/xg24-ek2703a/include/board.h + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + ****************************************************************************/ + +#ifndef __BOARDS_ARM_EFR32_XG24_EK2703A_INCLUDE_BOARD_H +#define __BOARDS_ARM_EFR32_XG24_EK2703A_INCLUDE_BOARD_H + +/**************************************************************************** + * Included Files + ****************************************************************************/ + +#include <nuttx/config.h> + +/**************************************************************************** + * Pre-processor Definitions + ****************************************************************************/ + +/* Clocking *****************************************************************/ + +/* The kit has a 39 MHz HFXO crystal and a 32.768 kHz LFXO crystal. The + * DPLL locks the HFRCODPLL to the HFXO: + * + * SYSCLK = 39 MHz * (3839 + 1) / (1919 + 1) = 78 MHz + * HCLK = SYSCLK = 78 MHz + * PCLK = HCLK / 2 = 39 MHz (USART0) + */ + +#define BOARD_HFXO_FREQUENCY 39000000 +#define BOARD_LFXO_FREQUENCY 32768 + +#define BOARD_DPLL_N 3839 +#define BOARD_DPLL_M 1919 + +#define BOARD_SYSCLK_FREQUENCY 78000000 +#define BOARD_HCLK_FREQUENCY BOARD_SYSCLK_FREQUENCY +#define BOARD_PCLK_FREQUENCY (BOARD_HCLK_FREQUENCY / 2) + +/* LED definitions **********************************************************/ + +/* The kit has two yellow user LEDs, LED0 (PA4) and LED1 (PA7), both + * active high. + */ + +/* LED index values for use with board_userled() */ + +#define BOARD_LED0 0 +#define BOARD_LED1 1 +#define BOARD_NLEDS 2 + +/* LED bits for use with board_userled_all() */ + +#define BOARD_LED0_BIT (1 << BOARD_LED0) +#define BOARD_LED1_BIT (1 << BOARD_LED1) + +/* If CONFIG_ARCH_LEDS is defined, the LEDs show the state of NuttX: + * + * SYMBOL Meaning LED0 LED1 + * ------------------- ------------------------- ---- ------- + * LED_STARTED NuttX has been started OFF OFF + * LED_HEAPALLOCATE Heap has been allocated OFF OFF + * LED_IRQSENABLED Interrupts enabled OFF OFF + * LED_STACKCREATED Idle stack created ON OFF + * LED_INIRQ In an interrupt (no change) + * LED_SIGNAL In a signal handler (no change) + * LED_ASSERTION An assertion failed (no change) + * LED_PANIC The system has crashed N/C Blinking + * LED_IDLE MCU is in sleep mode (not used) + */ + +#define LED_STARTED 0 +#define LED_HEAPALLOCATE 0 +#define LED_IRQSENABLED 0 +#define LED_STACKCREATED 1 +#define LED_INIRQ 2 +#define LED_SIGNAL 2 +#define LED_ASSERTION 2 +#define LED_PANIC 3 + +/* Button definitions *******************************************************/ + +/* The kit has two user buttons, BTN0 (PB2) and BTN1 (PB3), low when + * pressed and debounced by an RC filter. + */ + +#define BUTTON_BTN0 0 +#define BUTTON_BTN1 1 +#define NUM_BUTTONS 2 + +#define BUTTON_BTN0_BIT (1 << BUTTON_BTN0) +#define BUTTON_BTN1_BIT (1 << BUTTON_BTN1) + +/* Pin routing **************************************************************/ + +/* USART0 is connected to the virtual COM port of the on-board debugger: + * TX on PA5 and RX on PA6 (RTS PA8 and CTS PA9 are not used). + */ + +#define GPIO_USART0_TX (GPIO_PORTA | GPIO_PIN(5) | GPIO_PUSHPULL | \ + GPIO_OUTPUT_SET) +#define GPIO_USART0_RX (GPIO_PORTA | GPIO_PIN(6) | GPIO_INPUT_PULLUP) + +#endif /* __BOARDS_ARM_EFR32_XG24_EK2703A_INCLUDE_BOARD_H */ diff --git a/boards/arm/efr32/xg24-ek2703a/scripts/Make.defs b/boards/arm/efr32/xg24-ek2703a/scripts/Make.defs new file mode 100644 index 00000000000..cbd6045fb9d --- /dev/null +++ b/boards/arm/efr32/xg24-ek2703a/scripts/Make.defs @@ -0,0 +1,34 @@ +############################################################################ +# boards/arm/efr32/xg24-ek2703a/scripts/Make.defs +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. The +# ASF licenses this file to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance with the +# License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# +############################################################################ + +include $(TOPDIR)/.config +include $(TOPDIR)/tools/Config.mk +include $(TOPDIR)/arch/arm/src/armv8-m/Toolchain.defs + +LDSCRIPT = ld.script + +ARCHSCRIPT += $(BOARD_DIR)$(DELIM)scripts$(DELIM)$(LDSCRIPT) + +CFLAGS := $(ARCHCFLAGS) $(ARCHOPTIMIZATION) $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRAFLAGS) +CXXFLAGS := $(ARCHCXXFLAGS) $(ARCHOPTIMIZATION) $(ARCHCPUFLAGS) $(ARCHXXINCLUDES) $(ARCHDEFINES) $(EXTRAFLAGS) +CPPFLAGS := $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRAFLAGS) +AFLAGS := $(CFLAGS) -D__ASSEMBLY__ diff --git a/boards/arm/efr32/xg24-ek2703a/scripts/ld.script b/boards/arm/efr32/xg24-ek2703a/scripts/ld.script new file mode 100644 index 00000000000..0b18d81e2e8 --- /dev/null +++ b/boards/arm/efr32/xg24-ek2703a/scripts/ld.script @@ -0,0 +1,115 @@ +/**************************************************************************** + * boards/arm/efr32/xg24-ek2703a/scripts/ld.script + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + ****************************************************************************/ + +#include <nuttx/config.h> + +/* The EFR32MG24B210F1536IM48 has 1536 KB of flash at 0x08000000 and + * 256 KB of RAM at 0x20000000. The image runs in secure state from the + * start of the flash. + */ + +MEMORY +{ + flash (rx) : ORIGIN = 0x08000000, LENGTH = 1536K + sram (rwx) : ORIGIN = 0x20000000, LENGTH = 256K +} + +OUTPUT_ARCH(arm) +EXTERN(_vectors) +ENTRY(__start) + +SECTIONS +{ + .text : + { + _stext = ABSOLUTE(.); + *(.vectors) + *(.text .text.*) + *(.fixup) + *(.gnu.warning) + *(.rodata .rodata.*) + *(.gnu.linkonce.t.*) + *(.glue_7) + *(.glue_7t) + *(.got) + *(.gcc_except_table) + *(.gnu.linkonce.r.*) + _etext = ABSOLUTE(.); + } > flash + + .init_section : + { + _sinit = ABSOLUTE(.); + KEEP(*(SORT_BY_INIT_PRIORITY(.init_array.*) SORT_BY_INIT_PRIORITY(.ctors.*))) + KEEP(*(.init_array .ctors)) + _einit = ABSOLUTE(.); + } > flash + + .ARM.extab : + { + *(.ARM.extab*) + } > flash + + __exidx_start = ABSOLUTE(.); + .ARM.exidx : + { + *(.ARM.exidx*) + } > flash + __exidx_end = ABSOLUTE(.); + + _eronly = ABSOLUTE(.); + + .data : + { + _sdata = ABSOLUTE(.); + *(.data .data.*) + *(.gnu.linkonce.d.*) + CONSTRUCTORS + . = ALIGN(4); + _edata = ABSOLUTE(.); + } > sram AT > flash + + .bss : + { + _sbss = ABSOLUTE(.); + *(.bss .bss.*) + *(.gnu.linkonce.b.*) + *(COMMON) + . = ALIGN(8); + _ebss = ABSOLUTE(.); + } > sram + + /* Stabs debugging sections. */ + + .stab 0 : { *(.stab) } + .stabstr 0 : { *(.stabstr) } + .stab.excl 0 : { *(.stab.excl) } + .stab.exclstr 0 : { *(.stab.exclstr) } + .stab.index 0 : { *(.stab.index) } + .stab.indexstr 0 : { *(.stab.indexstr) } + .comment 0 : { *(.comment) } + .debug_abbrev 0 : { *(.debug_abbrev) } + .debug_info 0 : { *(.debug_info) } + .debug_line 0 : { *(.debug_line) } + .debug_pubnames 0 : { *(.debug_pubnames) } + .debug_aranges 0 : { *(.debug_aranges) } +} diff --git a/boards/arm/efr32/xg24-ek2703a/src/CMakeLists.txt b/boards/arm/efr32/xg24-ek2703a/src/CMakeLists.txt new file mode 100644 index 00000000000..e6ad674db50 --- /dev/null +++ b/boards/arm/efr32/xg24-ek2703a/src/CMakeLists.txt @@ -0,0 +1,41 @@ +# ############################################################################## +# boards/arm/efr32/xg24-ek2703a/src/CMakeLists.txt +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software Foundation (ASF) under one or more contributor +# license agreements. See the NOTICE file distributed with this work for +# additional information regarding copyright ownership. The ASF licenses this +# file to you under the Apache License, Version 2.0 (the "License"); you may not +# use this file except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations under +# the License. +# +# ############################################################################## + +set(SRCS efr32_boot.c efr32_bringup.c) + +if(CONFIG_BOARDCTL) + list(APPEND SRCS efr32_appinit.c) +endif() + +if(CONFIG_ARCH_LEDS) + list(APPEND SRCS efr32_autoleds.c) +else() + list(APPEND SRCS efr32_userleds.c) +endif() + +if(CONFIG_ARCH_BUTTONS) + list(APPEND SRCS efr32_buttons.c) +endif() + +target_sources(board PRIVATE ${SRCS}) + +set_property(GLOBAL PROPERTY LD_SCRIPT "${NUTTX_BOARD_DIR}/scripts/ld.script") diff --git a/boards/arm/efr32/xg24-ek2703a/src/Makefile b/boards/arm/efr32/xg24-ek2703a/src/Makefile new file mode 100644 index 00000000000..4a1136fc535 --- /dev/null +++ b/boards/arm/efr32/xg24-ek2703a/src/Makefile @@ -0,0 +1,41 @@ +############################################################################ +# boards/arm/efr32/xg24-ek2703a/src/Makefile +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. The +# ASF licenses this file to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance with the +# License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# +############################################################################ + +include $(TOPDIR)/Make.defs + +CSRCS = efr32_boot.c efr32_bringup.c + +ifeq ($(CONFIG_BOARDCTL),y) +CSRCS += efr32_appinit.c +endif + +ifeq ($(CONFIG_ARCH_LEDS),y) +CSRCS += efr32_autoleds.c +else +CSRCS += efr32_userleds.c +endif + +ifeq ($(CONFIG_ARCH_BUTTONS),y) +CSRCS += efr32_buttons.c +endif + +include $(TOPDIR)/boards/Board.mk diff --git a/boards/arm/efr32/xg24-ek2703a/src/efr32_appinit.c b/boards/arm/efr32/xg24-ek2703a/src/efr32_appinit.c new file mode 100644 index 00000000000..56aa1b09b59 --- /dev/null +++ b/boards/arm/efr32/xg24-ek2703a/src/efr32_appinit.c @@ -0,0 +1,75 @@ +/**************************************************************************** + * boards/arm/efr32/xg24-ek2703a/src/efr32_appinit.c + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + ****************************************************************************/ + +/**************************************************************************** + * Included Files + ****************************************************************************/ + +#include <nuttx/config.h> + +#include <sys/types.h> + +#include <nuttx/board.h> + +#include "xg24-ek2703a.h" + +/**************************************************************************** + * Public Functions + ****************************************************************************/ + +/**************************************************************************** + * Name: board_app_initialize + * + * Description: + * Perform application specific initialization. This function is never + * called directly from application code, but only indirectly via the + * (non-standard) boardctl() interface using the command BOARDIOC_INIT. + * + * Input Parameters: + * arg - The boardctl() argument is passed to the board_app_initialize() + * implementation without modification. The argument has no + * meaning to NuttX; the meaning of the argument is a contract + * between the board-specific initialization logic and the + * matching application logic. The value could be such things as a + * mode enumeration value, a set of DIP switch settings, a + * pointer to configuration data read from a file or serial FLASH, + * or whatever you would like to do with it. Every implementation + * should accept zero/NULL as a default configuration. + * + * Returned Value: + * Zero (OK) is returned on success; a negated errno value is returned on + * any failure to indicate the nature of the failure. + * + ****************************************************************************/ + +int board_app_initialize(uintptr_t arg) +{ +#ifdef CONFIG_BOARD_LATE_INITIALIZE + /* Board initialization already performed by board_late_initialize() */ + + return OK; +#else + /* Perform board-specific initialization */ + + return efr32_bringup(); +#endif +} diff --git a/boards/arm/efr32/xg24-ek2703a/src/efr32_autoleds.c b/boards/arm/efr32/xg24-ek2703a/src/efr32_autoleds.c new file mode 100644 index 00000000000..63363b25d36 --- /dev/null +++ b/boards/arm/efr32/xg24-ek2703a/src/efr32_autoleds.c @@ -0,0 +1,86 @@ +/**************************************************************************** + * boards/arm/efr32/xg24-ek2703a/src/efr32_autoleds.c + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + ****************************************************************************/ + +/**************************************************************************** + * Included Files + ****************************************************************************/ + +#include <nuttx/config.h> + +#include <stdbool.h> + +#include <nuttx/board.h> +#include <arch/board/board.h> + +#include "efr32_gpio.h" +#include "xg24-ek2703a.h" + +#ifdef CONFIG_ARCH_LEDS + +/**************************************************************************** + * Public Functions + ****************************************************************************/ + +/**************************************************************************** + * Name: board_autoled_initialize + ****************************************************************************/ + +void board_autoled_initialize(void) +{ + efr32_configgpio(GPIO_LED0); + efr32_configgpio(GPIO_LED1); +} + +/**************************************************************************** + * Name: board_autoled_on + ****************************************************************************/ + +void board_autoled_on(int led) +{ + switch (led) + { + case LED_STACKCREATED: + efr32_gpiowrite(GPIO_LED0, true); + break; + + case LED_PANIC: + efr32_gpiowrite(GPIO_LED1, true); + break; + + default: + break; + } +} + +/**************************************************************************** + * Name: board_autoled_off + ****************************************************************************/ + +void board_autoled_off(int led) +{ + if (led == LED_PANIC) + { + efr32_gpiowrite(GPIO_LED1, false); + } +} + +#endif /* CONFIG_ARCH_LEDS */ diff --git a/boards/arm/efr32/xg24-ek2703a/src/efr32_boot.c b/boards/arm/efr32/xg24-ek2703a/src/efr32_boot.c new file mode 100644 index 00000000000..6bd9e010215 --- /dev/null +++ b/boards/arm/efr32/xg24-ek2703a/src/efr32_boot.c @@ -0,0 +1,78 @@ +/**************************************************************************** + * boards/arm/efr32/xg24-ek2703a/src/efr32_boot.c + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + ****************************************************************************/ + +/**************************************************************************** + * Included Files + ****************************************************************************/ + +#include <nuttx/config.h> + +#include <nuttx/board.h> +#include <arch/board/board.h> + +#include "efr32_start.h" +#include "xg24-ek2703a.h" + +/**************************************************************************** + * Public Functions + ****************************************************************************/ + +/**************************************************************************** + * Name: efr32_boardinitialize + * + * Description: + * All EFR32 architectures must provide the following entry point. This + * entry point is called early in the initialization -- after all memory + * has been configured and mapped but before any devices have been + * initialized. + * + ****************************************************************************/ + +void efr32_boardinitialize(void) +{ +#ifdef CONFIG_ARCH_LEDS + /* Configure the on-board LEDs if LED support has been selected */ + + board_autoled_initialize(); +#endif +} + +/**************************************************************************** + * Name: board_late_initialize + * + * Description: + * If CONFIG_BOARD_LATE_INITIALIZE is selected, then an additional + * initialization call will be performed in the boot-up sequence to a + * function called board_late_initialize(). board_late_initialize() will + * be called immediately after up_initialize() is called and just before + * the initial application is started. This additional initialization + * phase may be used, for example, to initialize board-specific device + * drivers. + * + ****************************************************************************/ + +#ifdef CONFIG_BOARD_LATE_INITIALIZE +void board_late_initialize(void) +{ + efr32_bringup(); +} +#endif diff --git a/boards/arm/efr32/xg24-ek2703a/src/efr32_bringup.c b/boards/arm/efr32/xg24-ek2703a/src/efr32_bringup.c new file mode 100644 index 00000000000..46cb00fa617 --- /dev/null +++ b/boards/arm/efr32/xg24-ek2703a/src/efr32_bringup.c @@ -0,0 +1,99 @@ +/**************************************************************************** + * boards/arm/efr32/xg24-ek2703a/src/efr32_bringup.c + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + ****************************************************************************/ + +/**************************************************************************** + * Included Files + ****************************************************************************/ + +#include <nuttx/config.h> + +#include <sys/types.h> +#include <syslog.h> + +#include <nuttx/fs/fs.h> + +#ifdef CONFIG_USERLED +# include <nuttx/leds/userled.h> +#endif + +#ifdef CONFIG_INPUT_BUTTONS +# include <nuttx/input/buttons.h> +#endif + +#include "xg24-ek2703a.h" + +/**************************************************************************** + * Public Functions + ****************************************************************************/ + +/**************************************************************************** + * Name: efr32_bringup + * + * Description: + * Perform architecture-specific initialization + * + * CONFIG_BOARD_LATE_INITIALIZE=y : + * Called from board_late_initialize(). + * + * CONFIG_BOARD_LATE_INITIALIZE=n && CONFIG_BOARDCTL=y : + * Called from the NSH library via board_app_initialize() + * + ****************************************************************************/ + +int efr32_bringup(void) +{ + int ret = OK; + +#ifdef CONFIG_FS_PROCFS + /* Mount the procfs file system */ + + ret = nx_mount(NULL, "/proc", "procfs", 0, NULL); + if (ret < 0) + { + syslog(LOG_ERR, "ERROR: Failed to mount procfs: %d\n", ret); + } +#endif + +#if defined(CONFIG_USERLED) && !defined(CONFIG_ARCH_LEDS) + /* Register the LED driver */ + + ret = userled_lower_initialize("/dev/userleds"); + if (ret < 0) + { + syslog(LOG_ERR, "ERROR: userled_lower_initialize() failed: %d\n", + ret); + } +#endif + +#ifdef CONFIG_INPUT_BUTTONS_LOWER + /* Register the BUTTON driver */ + + ret = btn_lower_initialize("/dev/buttons"); + if (ret < 0) + { + syslog(LOG_ERR, "ERROR: btn_lower_initialize() failed: %d\n", ret); + } +#endif + + UNUSED(ret); + return OK; +} diff --git a/boards/arm/efr32/xg24-ek2703a/src/efr32_buttons.c b/boards/arm/efr32/xg24-ek2703a/src/efr32_buttons.c new file mode 100644 index 00000000000..5bcd1b01938 --- /dev/null +++ b/boards/arm/efr32/xg24-ek2703a/src/efr32_buttons.c @@ -0,0 +1,151 @@ +/**************************************************************************** + * boards/arm/efr32/xg24-ek2703a/src/efr32_buttons.c + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + ****************************************************************************/ + +/**************************************************************************** + * Included Files + ****************************************************************************/ + +#include <nuttx/config.h> + +#include <stdint.h> +#include <stdbool.h> +#include <errno.h> + +#include <nuttx/arch.h> +#include <nuttx/irq.h> +#include <nuttx/board.h> +#include <arch/board/board.h> + +#include "efr32_gpio.h" +#include "xg24-ek2703a.h" + +#ifdef CONFIG_ARCH_BUTTONS + +/**************************************************************************** + * Private Data + ****************************************************************************/ + +static const gpio_pinset_t g_buttoncfg[NUM_BUTTONS] = +{ + GPIO_BTN0, + GPIO_BTN1, +}; + +/**************************************************************************** + * Public Functions + ****************************************************************************/ + +/**************************************************************************** + * Name: board_button_initialize + * + * Description: + * board_button_initialize() must be called to initialize button + * resources. After that, board_buttons() may be called to collect the + * current state of all buttons. + * + ****************************************************************************/ + +uint32_t board_button_initialize(void) +{ + int i; + + for (i = 0; i < NUM_BUTTONS; i++) + { + efr32_configgpio(g_buttoncfg[i]); + } + + return NUM_BUTTONS; +} + +/**************************************************************************** + * Name: board_buttons + * + * Description: + * Return the state of all buttons, one bit per button, set while the + * button is pressed. + * + ****************************************************************************/ + +uint32_t board_buttons(void) +{ + uint32_t ret = 0; + int i; + + for (i = 0; i < NUM_BUTTONS; i++) + { + /* The buttons are low when pressed */ + + if (!efr32_gpioread(g_buttoncfg[i])) + { + ret |= 1 << i; + } + } + + return ret; +} + +/**************************************************************************** + * Name: board_button_irq + * + * Description: + * Attach an interrupt handler to a button, called on press and on + * release. A NULL handler disables the interrupt. + * + ****************************************************************************/ + +#ifdef CONFIG_ARCH_IRQBUTTONS +int board_button_irq(int id, xcpt_t irqhandler, void *arg) +{ + irqstate_t flags; + int irq; + int ret; + + if (id < 0 || id >= NUM_BUTTONS) + { + return -EINVAL; + } + + irq = EFR32_IRQ_EXTI(GPIO_PINNO(g_buttoncfg[id])); + + flags = enter_critical_section(); + if (irqhandler != NULL) + { + ret = efr32_gpioirq(g_buttoncfg[id]); + if (ret >= 0) + { + irq_attach(irq, irqhandler, arg); + up_enable_irq(irq); + } + } + else + { + up_disable_irq(irq); + irq_detach(irq); + ret = OK; + } + + leave_critical_section(flags); + return ret; +} +#endif + +#endif /* CONFIG_ARCH_BUTTONS */ diff --git a/boards/arm/efr32/xg24-ek2703a/src/efr32_userleds.c b/boards/arm/efr32/xg24-ek2703a/src/efr32_userleds.c new file mode 100644 index 00000000000..222da23890b --- /dev/null +++ b/boards/arm/efr32/xg24-ek2703a/src/efr32_userleds.c @@ -0,0 +1,116 @@ +/**************************************************************************** + * boards/arm/efr32/xg24-ek2703a/src/efr32_userleds.c + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + ****************************************************************************/ + +/**************************************************************************** + * Included Files + ****************************************************************************/ + +#include <nuttx/config.h> + +#include <stdint.h> +#include <stdbool.h> + +#include <nuttx/board.h> +#include <arch/board/board.h> + +#include "efr32_gpio.h" +#include "xg24-ek2703a.h" + +#ifndef CONFIG_ARCH_LEDS + +/**************************************************************************** + * Private Data + ****************************************************************************/ + +static const gpio_pinset_t g_ledcfg[BOARD_NLEDS] = +{ + GPIO_LED0, + GPIO_LED1, +}; + +/**************************************************************************** + * Public Functions + ****************************************************************************/ + +/**************************************************************************** + * Name: board_userled_initialize + ****************************************************************************/ + +uint32_t board_userled_initialize(void) +{ + int i; + + for (i = 0; i < BOARD_NLEDS; i++) + { + efr32_configgpio(g_ledcfg[i]); + } + + return BOARD_NLEDS; +} + +/**************************************************************************** + * Name: board_userled + ****************************************************************************/ + +void board_userled(int led, bool ledon) +{ + if ((unsigned)led < BOARD_NLEDS) + { + efr32_gpiowrite(g_ledcfg[led], ledon); + } +} + +/**************************************************************************** + * Name: board_userled_all + ****************************************************************************/ + +void board_userled_all(uint32_t ledset) +{ + int i; + + for (i = 0; i < BOARD_NLEDS; i++) + { + efr32_gpiowrite(g_ledcfg[i], (ledset & (1 << i)) != 0); + } +} + +/**************************************************************************** + * Name: board_userled_getall + ****************************************************************************/ + +void board_userled_getall(uint32_t *ledset) +{ + uint32_t value = 0; + int i; + + for (i = 0; i < BOARD_NLEDS; i++) + { + if (efr32_gpioread(g_ledcfg[i])) + { + value |= 1 << i; + } + } + + *ledset = value; +} + +#endif /* !CONFIG_ARCH_LEDS */ diff --git a/boards/arm/efr32/xg24-ek2703a/src/xg24-ek2703a.h b/boards/arm/efr32/xg24-ek2703a/src/xg24-ek2703a.h new file mode 100644 index 00000000000..866b36d5f9d --- /dev/null +++ b/boards/arm/efr32/xg24-ek2703a/src/xg24-ek2703a.h @@ -0,0 +1,80 @@ +/**************************************************************************** + * boards/arm/efr32/xg24-ek2703a/src/xg24-ek2703a.h + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + ****************************************************************************/ + +#ifndef __BOARDS_ARM_EFR32_XG24_EK2703A_SRC_XG24_EK2703A_H +#define __BOARDS_ARM_EFR32_XG24_EK2703A_SRC_XG24_EK2703A_H + +/**************************************************************************** + * Included Files + ****************************************************************************/ + +#include <nuttx/config.h> +#include <nuttx/compiler.h> + +#include "efr32_gpio.h" + +/**************************************************************************** + * Pre-processor Definitions + ****************************************************************************/ + +/* LEDs: LED0 on PA4, LED1 on PA7, active high */ + +#define GPIO_LED0 (GPIO_PORTA | GPIO_PIN(4) | GPIO_OUTPUT | \ + GPIO_OUTPUT_CLEAR) +#define GPIO_LED1 (GPIO_PORTA | GPIO_PIN(7) | GPIO_OUTPUT | \ + GPIO_OUTPUT_CLEAR) + +/* Buttons: BTN0 on PB2, BTN1 on PB3, low when pressed and debounced by + * an RC filter on the board. The internal pull-up keeps them high when + * released, and the glitch filter is on as the manual advises for pins + * used as interrupts. Both edges interrupt (EXTI2 and EXTI3). + */ + +#define GPIO_BTN0 (GPIO_PORTB | GPIO_PIN(2) | GPIO_INPUT_PULLFILTER | \ + GPIO_PULLUP | GPIO_INT_BOTH) +#define GPIO_BTN1 (GPIO_PORTB | GPIO_PIN(3) | GPIO_INPUT_PULLFILTER | \ + GPIO_PULLUP | GPIO_INT_BOTH) + +/**************************************************************************** + * Public Function Prototypes + ****************************************************************************/ + +#ifndef __ASSEMBLY__ + +/**************************************************************************** + * Name: efr32_bringup + * + * Description: + * Perform architecture-specific initialization + * + * CONFIG_BOARD_LATE_INITIALIZE=y : + * Called from board_late_initialize(). + * + * CONFIG_BOARD_LATE_INITIALIZE=n && CONFIG_BOARDCTL=y : + * Called from the NSH library via board_app_initialize() + * + ****************************************************************************/ + +int efr32_bringup(void); + +#endif /* __ASSEMBLY__ */ +#endif /* __BOARDS_ARM_EFR32_XG24_EK2703A_SRC_XG24_EK2703A_H */ diff --git a/tools/ci/testlist/arm-other.dat b/tools/ci/testlist/arm-other.dat index e9da0b33f57..036aa3247bd 100644 --- a/tools/ci/testlist/arm-other.dat +++ b/tools/ci/testlist/arm-other.dat @@ -6,6 +6,7 @@ /arm/csk6,CONFIG_ARM_TOOLCHAIN_GNU_EABI /arm/dm320,CONFIG_ARM_TOOLCHAIN_GNU_EABI /arm/efm32,CONFIG_ARM_TOOLCHAIN_GNU_EABI +/arm/efr32,CONFIG_ARM_TOOLCHAIN_GNU_EABI /arm/eoss3,CONFIG_ARM_TOOLCHAIN_GNU_EABI /arm/fvp-v8r-aarch32,CONFIG_ARM_TOOLCHAIN_GNU_EABI /arm/gd32f4,CONFIG_ARM_TOOLCHAIN_GNU_EABI
