This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit d729a200002ba9b5551c8f319d284e09504cd980 Author: raiden00pl <[email protected]> AuthorDate: Sun Nov 22 10:36:31 2026 +0100 boards/arm: add X-NUCLEO-IKS01A2 shield support. Register the LSM6DSL, LSM303AGR, HTS221 and LPS22HB of the shield as uORB sensors from stm32_common_initialize(). The LSM6DSL is served by the LSM6DS3TR-C driver, whose registers it shares. Add an iks01a2 configuration (uORB sensors, sensortest, i2c tool) to the nucleo-f303re, nucleo-f767zi, nucleo-g491re, nucleo-h533re, nucleo-h743zi and nucleo-n657x0-q boards. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: raiden00pl <[email protected]> --- .../guides/chip-specific/stm32_nucleo.rst | 33 ++++++ .../arm/stm32f3/boards/nucleo-f303re/index.rst | 10 ++ .../arm/stm32f7/boards/nucleo-f767zi/index.rst | 7 ++ .../arm/stm32g4/boards/nucleo-g491re/index.rst | 7 ++ .../arm/stm32h5/boards/nucleo-h533re/index.rst | 7 ++ .../arm/stm32h7/boards/nucleo-h743zi/index.rst | 7 ++ .../arm/stm32n6/boards/nucleo-n657x0-q/index.rst | 7 ++ boards/arm/common/stm32/Kconfig | 24 +++++ boards/arm/common/stm32/include/stm32_iks01a2.h | 65 ++++++++++++ boards/arm/common/stm32/src/CMakeLists.txt | 4 + boards/arm/common/stm32/src/Make.defs | 4 + boards/arm/common/stm32/src/board_common.c | 16 +++ boards/arm/common/stm32/src/stm32_iks01a2.c | 114 +++++++++++++++++++++ .../nucleo-f303re/configs/iks01a2/defconfig | 43 ++++++++ .../nucleo-f767zi/configs/iks01a2/defconfig | 55 ++++++++++ .../nucleo-g491re/configs/iks01a2/defconfig | 41 ++++++++ .../nucleo-h533re/configs/iks01a2/defconfig | 57 +++++++++++ .../nucleo-h743zi/configs/iks01a2/defconfig | 57 +++++++++++ .../nucleo-n657x0-q/configs/iks01a2/defconfig | 41 ++++++++ 19 files changed, 599 insertions(+) diff --git a/Documentation/guides/chip-specific/stm32_nucleo.rst b/Documentation/guides/chip-specific/stm32_nucleo.rst index f5a04b92209..33d1ae1d43f 100644 --- a/Documentation/guides/chip-specific/stm32_nucleo.rst +++ b/Documentation/guides/chip-specific/stm32_nucleo.rst @@ -57,6 +57,8 @@ SocketCAN ``CONFIG_STM32_CAN_SOCKET`` interfaces for all enabled ``CONFIG_STM32_FDCAN_SOCKET`` instances I2C ``CONFIG_I2C_DRIVER`` ``/dev/i2cN`` for every enabled ``CONFIG_STM32_I2CN`` +IKS01A2 ``CONFIG_BOARD_STM32_IKS01A2`` X-NUCLEO-IKS01A2 sensors, see + `Shields`_ ========= ================================== ================================ The file systems are not mounted when ``CONFIG_DISABLE_MOUNTPOINT`` is @@ -90,3 +92,34 @@ Rules for boards: ``stm32_common_initialize()``, not to individual boards. - ``board.h`` defines ``STM32_LPTIMn_CLKIN`` for every LPTIM instance of the chip. + +Shields +======= + +Shields on the Arduino connector are supported by the common board +code: enable the shield option and the I2C instance of the board's +Arduino connector. + +X-NUCLEO-IKS01A2 +---------------- + +Motion MEMS and environmental sensor shield, enabled with +``CONFIG_BOARD_STM32_IKS01A2``. The sensors are on the I2C bus +``CONFIG_BOARD_STM32_IKS01A2_I2CBUS`` (default 1) and are registered as +uORB topics, N being ``CONFIG_BOARD_STM32_IKS01A2_DEVNO`` (default 0): + +========= ======= ============================================= +Sensor Address Topics +========= ======= ============================================= +LSM6DSL 0x6b ``sensor_accelN``, ``sensor_gyroN`` +HTS221 0x5f ``sensor_humiN``, ``sensor_ambient_tempN`` +LPS22HB 0x5d ``sensor_baroN`` +LSM303AGR 0x19 ``sensor_accelN+1`` +LSM303AGR 0x1e ``sensor_magN+1`` +========= ======= ============================================= + +The LSM6DSL is register-compatible with the LSM6DS3TR-C and uses its +driver. + +Boards with an ``iks01a2`` configuration: nucleo-f303re, nucleo-f767zi, +nucleo-g491re, nucleo-h533re, nucleo-h743zi and nucleo-n657x0-q. diff --git a/Documentation/platforms/arm/stm32f3/boards/nucleo-f303re/index.rst b/Documentation/platforms/arm/stm32f3/boards/nucleo-f303re/index.rst index 5123e1f4c03..c821684d260 100644 --- a/Documentation/platforms/arm/stm32f3/boards/nucleo-f303re/index.rst +++ b/Documentation/platforms/arm/stm32f3/boards/nucleo-f303re/index.rst @@ -5,3 +5,13 @@ ST Nucleo F303RE .. tags:: arch:arm, chip:stm32f3, part:stm32f303, vendor:st The Nucleo F303RE is a member of the Nucleo-64 board family. + +Configurations +============== + +iks01a2 +------- + +NSH with an X-NUCLEO-IKS01A2 sensor shield on the Arduino connector +(I2C1). The sensors are registered as uORB topics and can be read with +``sensortest``, the bus can be scanned with ``i2c dev``. diff --git a/Documentation/platforms/arm/stm32f7/boards/nucleo-f767zi/index.rst b/Documentation/platforms/arm/stm32f7/boards/nucleo-f767zi/index.rst index c2eaea97840..2f3be3d4bbc 100644 --- a/Documentation/platforms/arm/stm32f7/boards/nucleo-f767zi/index.rst +++ b/Documentation/platforms/arm/stm32f7/boards/nucleo-f767zi/index.rst @@ -384,6 +384,13 @@ NOTES: Default values for other settings associated with the select USART should be correct. +iks01a2 +------- + +NSH with an X-NUCLEO-IKS01A2 sensor shield on the Arduino connector +(I2C1). The sensors are registered as uORB topics and can be read with +``sensortest``, the bus can be scanned with ``i2c dev``. + evalos: ------- diff --git a/Documentation/platforms/arm/stm32g4/boards/nucleo-g491re/index.rst b/Documentation/platforms/arm/stm32g4/boards/nucleo-g491re/index.rst index 330b56824fa..95ab11b5c64 100644 --- a/Documentation/platforms/arm/stm32g4/boards/nucleo-g491re/index.rst +++ b/Documentation/platforms/arm/stm32g4/boards/nucleo-g491re/index.rst @@ -33,3 +33,10 @@ nsh --- NSH on the ST-LINK virtual COM port. + +iks01a2 +------- + +NSH with an X-NUCLEO-IKS01A2 sensor shield on the Arduino connector +(I2C1). The sensors are registered as uORB topics and can be read with +``sensortest``, the bus can be scanned with ``i2c dev``. diff --git a/Documentation/platforms/arm/stm32h5/boards/nucleo-h533re/index.rst b/Documentation/platforms/arm/stm32h5/boards/nucleo-h533re/index.rst index a8901e942d8..3e0abc381e1 100644 --- a/Documentation/platforms/arm/stm32h5/boards/nucleo-h533re/index.rst +++ b/Documentation/platforms/arm/stm32h5/boards/nucleo-h533re/index.rst @@ -23,3 +23,10 @@ nsh Configures the NuttShell (nsh) located at apps/examples/nsh. This configuration enables a serial console on USART2 (Nucleo Virtual Console). + +iks01a2 +------- + +NSH with an X-NUCLEO-IKS01A2 sensor shield on the Arduino connector +(I2C1). The sensors are registered as uORB topics and can be read with +``sensortest``, the bus can be scanned with ``i2c dev``. diff --git a/Documentation/platforms/arm/stm32h7/boards/nucleo-h743zi/index.rst b/Documentation/platforms/arm/stm32h7/boards/nucleo-h743zi/index.rst index 6f66640e242..c0b572f8ec4 100644 --- a/Documentation/platforms/arm/stm32h7/boards/nucleo-h743zi/index.rst +++ b/Documentation/platforms/arm/stm32h7/boards/nucleo-h743zi/index.rst @@ -128,6 +128,13 @@ nsh: This configuration provides a basic NuttShell configuration (NSH) for the Nucleo-H743ZI. The default console is the VCOM on USART3. +iks01a2: +-------- + +NSH with an X-NUCLEO-IKS01A2 sensor shield on the Arduino connector +(I2C1). The sensors are registered as uORB topics and can be read with +``sensortest``, the bus can be scanned with ``i2c dev``. + mcuboot: -------- diff --git a/Documentation/platforms/arm/stm32n6/boards/nucleo-n657x0-q/index.rst b/Documentation/platforms/arm/stm32n6/boards/nucleo-n657x0-q/index.rst index 5d4fd0abc38..190165f180b 100644 --- a/Documentation/platforms/arm/stm32n6/boards/nucleo-n657x0-q/index.rst +++ b/Documentation/platforms/arm/stm32n6/boards/nucleo-n657x0-q/index.rst @@ -189,6 +189,13 @@ netnsh NSH with Ethernet on the LAN8742A PHY (RMII): DHCP client, ``ping``, ``telnetd`` and ``mdio``. +iks01a2 +------- + +NSH with an X-NUCLEO-IKS01A2 sensor shield on the Arduino connector +(I2C1). The sensors are registered as uORB topics and can be read with +``sensortest``, the bus can be scanned with ``i2c dev``. + License Exceptions ================== diff --git a/boards/arm/common/stm32/Kconfig b/boards/arm/common/stm32/Kconfig index 8007e59e0e4..bf6aba11094 100644 --- a/boards/arm/common/stm32/Kconfig +++ b/boards/arm/common/stm32/Kconfig @@ -91,6 +91,30 @@ config BOARD_STM32_HALL3PHASE_SAMPLES endif # SENSORS_HALL3PHASE +menuconfig BOARD_STM32_IKS01A2 + bool "X-NUCLEO-IKS01A2 sensor shield" + default n + depends on SENSORS && STM32_I2C + select SENSORS_HTS221 + select SENSORS_LPS22HB + select SENSORS_LSM6DS3TRC + select SENSORS_LSM303AGR_UORB + ---help--- + Register the LSM6DSL, LSM303AGR, HTS221 and LPS22HB of the + X-NUCLEO-IKS01A2 shield as uORB sensors. + +if BOARD_STM32_IKS01A2 + +config BOARD_STM32_IKS01A2_I2CBUS + int "I2C bus of the Arduino connector" + default 1 + +config BOARD_STM32_IKS01A2_DEVNO + int "First uORB device number" + default 0 + +endif # BOARD_STM32_IKS01A2 + config STM32_ROMFS bool "Automount baked-in ROMFS image" default n diff --git a/boards/arm/common/stm32/include/stm32_iks01a2.h b/boards/arm/common/stm32/include/stm32_iks01a2.h new file mode 100644 index 00000000000..7020688c245 --- /dev/null +++ b/boards/arm/common/stm32/include/stm32_iks01a2.h @@ -0,0 +1,65 @@ +/**************************************************************************** + * boards/arm/common/stm32/include/stm32_iks01a2.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_COMMON_STM32_INCLUDE_STM32_IKS01A2_H +#define __BOARDS_ARM_COMMON_STM32_INCLUDE_STM32_IKS01A2_H + +/**************************************************************************** + * Included Files + ****************************************************************************/ + +#include <nuttx/config.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +/**************************************************************************** + * Public Function Prototypes + ****************************************************************************/ + +/**************************************************************************** + * Name: board_iks01a2_initialize + * + * Description: + * Register the sensors of the X-NUCLEO-IKS01A2 shield as uORB topics. + * The LSM6DSL, HTS221 and LPS22HB use devno, the LSM303AGR uses + * devno + 1, so the two accelerometers get different topics. + * + * Input Parameters: + * devno - The first device number of the topics + * busno - The I2C bus of the Arduino connector + * + * Returned Value: + * Zero (OK) if all sensors were registered; a negated errno value of the + * last failure otherwise. + * + ****************************************************************************/ + +int board_iks01a2_initialize(int devno, int busno); + +#ifdef __cplusplus +} +#endif + +#endif /* __BOARDS_ARM_COMMON_STM32_INCLUDE_STM32_IKS01A2_H */ diff --git a/boards/arm/common/stm32/src/CMakeLists.txt b/boards/arm/common/stm32/src/CMakeLists.txt index 9298d259ca0..67488f3e9ca 100644 --- a/boards/arm/common/stm32/src/CMakeLists.txt +++ b/boards/arm/common/stm32/src/CMakeLists.txt @@ -30,6 +30,10 @@ if(CONFIG_SENSORS_BMP280) list(APPEND SRCS stm32_bmp280.c) endif() +if(CONFIG_BOARD_STM32_IKS01A2) + list(APPEND SRCS stm32_iks01a2.c) +endif() + if(CONFIG_LEDS_APA102) list(APPEND SRCS stm32_apa102.c) endif() diff --git a/boards/arm/common/stm32/src/Make.defs b/boards/arm/common/stm32/src/Make.defs index a4786fd0c32..343575aba44 100644 --- a/boards/arm/common/stm32/src/Make.defs +++ b/boards/arm/common/stm32/src/Make.defs @@ -34,6 +34,10 @@ ifeq ($(CONFIG_SENSORS_BMP280),y) CSRCS += stm32_bmp280.c endif +ifeq ($(CONFIG_BOARD_STM32_IKS01A2),y) + CSRCS += stm32_iks01a2.c +endif + ifeq ($(CONFIG_SENSORS_MS56XX),y) CSRCS += stm32_ms5611.c endif diff --git a/boards/arm/common/stm32/src/board_common.c b/boards/arm/common/stm32/src/board_common.c index c66ed2fa8db..ac7aa58aea8 100644 --- a/boards/arm/common/stm32/src/board_common.c +++ b/boards/arm/common/stm32/src/board_common.c @@ -82,6 +82,10 @@ # include "board_timer.h" #endif +#ifdef CONFIG_BOARD_STM32_IKS01A2 +# include "stm32_iks01a2.h" +#endif + #include "board_common.h" /**************************************************************************** @@ -236,6 +240,18 @@ int stm32_common_initialize(void) stm32_timer_setup(); #endif +#ifdef CONFIG_BOARD_STM32_IKS01A2 + /* Register the sensors of the X-NUCLEO-IKS01A2 shield */ + + ret = board_iks01a2_initialize(CONFIG_BOARD_STM32_IKS01A2_DEVNO, + CONFIG_BOARD_STM32_IKS01A2_I2CBUS); + if (ret < 0) + { + syslog(LOG_ERR, "ERROR: board_iks01a2_initialize() failed: %d\n", + ret); + } +#endif + UNUSED(ret); return OK; } diff --git a/boards/arm/common/stm32/src/stm32_iks01a2.c b/boards/arm/common/stm32/src/stm32_iks01a2.c new file mode 100644 index 00000000000..e16a1fc5676 --- /dev/null +++ b/boards/arm/common/stm32/src/stm32_iks01a2.c @@ -0,0 +1,114 @@ +/**************************************************************************** + * boards/arm/common/stm32/src/stm32_iks01a2.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 <errno.h> +#include <syslog.h> + +#include <nuttx/i2c/i2c_master.h> +#include <nuttx/sensors/hts221.h> +#include <nuttx/sensors/lps22hb.h> +#include <nuttx/sensors/lsm303agr.h> +#include <nuttx/sensors/lsm6ds3trc.h> + +#if defined(CONFIG_ARCH_CHIP_STM32L4) +# include "stm32l4_i2c.h" +#elif defined(CONFIG_ARCH_CHIP_STM32WB) +# include "stm32wb_i2c.h" +#else +# include "stm32_i2c.h" +#endif + +#include "stm32_iks01a2.h" + +/**************************************************************************** + * Pre-processor Definitions + ****************************************************************************/ + +/* I2C addresses of the sensors on the shield */ + +#define IKS01A2_LSM6DSL_ADDR 0x6b +#define IKS01A2_HTS221_ADDR 0x5f +#define IKS01A2_LPS22HB_ADDR 0x5d + +/**************************************************************************** + * Public Functions + ****************************************************************************/ + +/**************************************************************************** + * Name: board_iks01a2_initialize + ****************************************************************************/ + +int board_iks01a2_initialize(int devno, int busno) +{ + struct lsm6ds3trc_config_s imu = + { + 0 + }; + + FAR struct i2c_master_s *i2c; + int result = OK; + int ret; + + i2c = stm32_i2cbus_initialize(busno); + if (i2c == NULL) + { + return -ENODEV; + } + + /* The LSM6DSL has the LSM6DS3TR-C registers. It is polled. */ + + ret = lsm6ds3trc_register(i2c, IKS01A2_LSM6DSL_ADDR, devno, &imu); + if (ret < 0) + { + syslog(LOG_ERR, "ERROR: LSM6DSL registration failed: %d\n", ret); + result = ret; + } + + ret = lsm303agr_register_uorb(i2c, devno + 1); + if (ret < 0) + { + syslog(LOG_ERR, "ERROR: LSM303AGR registration failed: %d\n", ret); + result = ret; + } + + ret = hts221_register_uorb(devno, i2c, IKS01A2_HTS221_ADDR, NULL); + if (ret < 0) + { + syslog(LOG_ERR, "ERROR: HTS221 registration failed: %d\n", ret); + result = ret; + } + + ret = lps22hb_register_uorb(devno, i2c, IKS01A2_LPS22HB_ADDR); + if (ret < 0) + { + syslog(LOG_ERR, "ERROR: LPS22HB registration failed: %d\n", ret); + result = ret; + } + + return result; +} diff --git a/boards/arm/stm32f3/nucleo-f303re/configs/iks01a2/defconfig b/boards/arm/stm32f3/nucleo-f303re/configs/iks01a2/defconfig new file mode 100644 index 00000000000..4d1e37c4c34 --- /dev/null +++ b/boards/arm/stm32f3/nucleo-f303re/configs/iks01a2/defconfig @@ -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_FPU is not set +CONFIG_ARCH="arm" +CONFIG_ARCH_BOARD="nucleo-f303re" +CONFIG_ARCH_BOARD_COMMON=y +CONFIG_ARCH_BOARD_NUCLEO_F303RE=y +CONFIG_ARCH_BUTTONS=y +CONFIG_ARCH_CHIP="stm32f3" +CONFIG_ARCH_CHIP_STM32=y +CONFIG_ARCH_CHIP_STM32F303RE=y +CONFIG_ARCH_CHIP_STM32F3=y +CONFIG_ARCH_STACKDUMP=y +CONFIG_BOARD_LOOPSPERMSEC=6522 +CONFIG_BOARD_STM32_IKS01A2=y +CONFIG_DEBUG_FULLOPT=y +CONFIG_DEBUG_SYMBOLS=y +CONFIG_IDLETHREAD_STACKSIZE=2048 +CONFIG_INIT_ENTRYPOINT="nsh_main" +CONFIG_INTELHEX_BINARY=y +CONFIG_MM_REGIONS=2 +CONFIG_PREALLOC_TIMERS=4 +CONFIG_RAM_SIZE=65536 +CONFIG_RAM_START=0x20000000 +CONFIG_RAW_BINARY=y +CONFIG_RR_INTERVAL=200 +CONFIG_SCHED_WAITPID=y +CONFIG_SENSORS=y +CONFIG_START_DAY=27 +CONFIG_START_YEAR=2013 +CONFIG_STM32_I2C1=y +CONFIG_STM32_JTAG_SW_ENABLE=y +CONFIG_STM32_USART2=y +CONFIG_SYSTEM_I2CTOOL=y +CONFIG_SYSTEM_NSH=y +CONFIG_SYSTEM_SENSORTEST=y +CONFIG_TASK_NAME_SIZE=0 +CONFIG_USART2_SERIAL_CONSOLE=y diff --git a/boards/arm/stm32f7/nucleo-f767zi/configs/iks01a2/defconfig b/boards/arm/stm32f7/nucleo-f767zi/configs/iks01a2/defconfig new file mode 100644 index 00000000000..82ca6f4d915 --- /dev/null +++ b/boards/arm/stm32f7/nucleo-f767zi/configs/iks01a2/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_FPU is not set +# CONFIG_NSH_DISABLE_IFCONFIG is not set +# CONFIG_NSH_DISABLE_PS is not set +CONFIG_ARCH="arm" +CONFIG_ARCH_BOARD="nucleo-f767zi" +CONFIG_ARCH_BOARD_COMMON=y +CONFIG_ARCH_BOARD_NUCLEO_F767ZI=y +CONFIG_ARCH_BUTTONS=y +CONFIG_ARCH_CHIP="stm32f7" +CONFIG_ARCH_CHIP_STM32=y +CONFIG_ARCH_CHIP_STM32F767ZI=y +CONFIG_ARCH_CHIP_STM32F7=y +CONFIG_ARCH_STACKDUMP=y +CONFIG_ARMV7M_DCACHE=y +CONFIG_ARMV7M_DCACHE_WRITETHROUGH=y +CONFIG_ARMV7M_DTCM=y +CONFIG_ARMV7M_ICACHE=y +CONFIG_BOARD_LOOPSPERMSEC=43103 +CONFIG_BOARD_STM32_IKS01A2=y +CONFIG_BUILTIN=y +CONFIG_DEBUG_FULLOPT=y +CONFIG_DEBUG_SYMBOLS=y +CONFIG_HAVE_CXX=y +CONFIG_HAVE_CXXINITIALIZE=y +CONFIG_INIT_ENTRYPOINT="nsh_main" +CONFIG_LINE_MAX=64 +CONFIG_MM_REGIONS=3 +CONFIG_NSH_BUILTIN_APPS=y +CONFIG_NSH_FILEIOSIZE=512 +CONFIG_NSH_READLINE=y +CONFIG_PREALLOC_TIMERS=4 +CONFIG_RAM_SIZE=245760 +CONFIG_RAM_START=0x20010000 +CONFIG_RAW_BINARY=y +CONFIG_RR_INTERVAL=200 +CONFIG_SCHED_WAITPID=y +CONFIG_SENSORS=y +CONFIG_SPI=y +CONFIG_STACK_COLORATION=y +CONFIG_START_DAY=30 +CONFIG_START_MONTH=11 +CONFIG_START_YEAR=2015 +CONFIG_STM32_I2C1=y +CONFIG_SYSTEM_I2CTOOL=y +CONFIG_SYSTEM_NSH=y +CONFIG_SYSTEM_SENSORTEST=y +CONFIG_TASK_NAME_SIZE=0 +CONFIG_USART3_SERIAL_CONSOLE=y diff --git a/boards/arm/stm32g4/nucleo-g491re/configs/iks01a2/defconfig b/boards/arm/stm32g4/nucleo-g491re/configs/iks01a2/defconfig new file mode 100644 index 00000000000..c81de281059 --- /dev/null +++ b/boards/arm/stm32g4/nucleo-g491re/configs/iks01a2/defconfig @@ -0,0 +1,41 @@ +# +# 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="nucleo-g491re" +CONFIG_ARCH_BOARD_COMMON=y +CONFIG_ARCH_BOARD_NUCLEO_G491RE=y +CONFIG_ARCH_BUTTONS=y +CONFIG_ARCH_CHIP="stm32g4" +CONFIG_ARCH_CHIP_STM32=y +CONFIG_ARCH_CHIP_STM32G491R=y +CONFIG_ARCH_CHIP_STM32G4=y +CONFIG_ARCH_IRQBUTTONS=y +CONFIG_ARCH_STACKDUMP=y +CONFIG_BOARD_LOOPSPERMSEC=16717 +CONFIG_BOARD_STM32_IKS01A2=y +CONFIG_DEBUG_FULLOPT=y +CONFIG_DEBUG_SYMBOLS=y +CONFIG_INIT_ENTRYPOINT="nsh_main" +CONFIG_INTELHEX_BINARY=y +CONFIG_LINE_MAX=64 +CONFIG_LPUART1_SERIAL_CONSOLE=y +CONFIG_NSH_FILEIOSIZE=512 +CONFIG_NSH_READLINE=y +CONFIG_RAM_SIZE=98304 +CONFIG_RAM_START=0x20000000 +CONFIG_RAW_BINARY=y +CONFIG_RR_INTERVAL=200 +CONFIG_SCHED_WAITPID=y +CONFIG_SENSORS=y +CONFIG_STM32_I2C1=y +CONFIG_STM32_LPUART1=y +CONFIG_SYSTEM_I2CTOOL=y +CONFIG_SYSTEM_NSH=y +CONFIG_SYSTEM_SENSORTEST=y +CONFIG_TASK_NAME_SIZE=0 diff --git a/boards/arm/stm32h5/nucleo-h533re/configs/iks01a2/defconfig b/boards/arm/stm32h5/nucleo-h533re/configs/iks01a2/defconfig new file mode 100644 index 00000000000..7f06071534e --- /dev/null +++ b/boards/arm/stm32h5/nucleo-h533re/configs/iks01a2/defconfig @@ -0,0 +1,57 @@ +# +# 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_NSH_ARGCAT is not set +# CONFIG_STANDARD_SERIAL is not set +CONFIG_ARCH="arm" +CONFIG_ARCH_BOARD="nucleo-h533re" +CONFIG_ARCH_BOARD_COMMON=y +CONFIG_ARCH_BOARD_NUCLEO_H533RE=y +CONFIG_ARCH_BUTTONS=y +CONFIG_ARCH_CHIP="stm32h5" +CONFIG_ARCH_CHIP_STM32=y +CONFIG_ARCH_CHIP_STM32H533RE=y +CONFIG_ARCH_CHIP_STM32H5=y +CONFIG_ARCH_INTERRUPTSTACK=2048 +CONFIG_ARCH_STACKDUMP=y +CONFIG_ARMV8M_STACKCHECK=y +CONFIG_BOARD_LOOPSPERMSEC=9251 +CONFIG_BOARD_STM32_IKS01A2=y +CONFIG_BUILTIN=y +CONFIG_DEBUG_ASSERTIONS=y +CONFIG_DEBUG_FEATURES=y +CONFIG_DEBUG_FULLOPT=y +CONFIG_DEBUG_SYMBOLS=y +CONFIG_FS_PROCFS=y +CONFIG_FS_PROCFS_REGISTER=y +CONFIG_HAVE_CXX=y +CONFIG_HAVE_CXXINITIALIZE=y +CONFIG_IDLETHREAD_STACKSIZE=2048 +CONFIG_INIT_ENTRYPOINT="nsh_main" +CONFIG_INIT_STACKSIZE=3072 +CONFIG_LINE_MAX=64 +CONFIG_NSH_BUILTIN_APPS=y +CONFIG_NSH_DISABLE_IFUPDOWN=y +CONFIG_NSH_FILEIOSIZE=512 +CONFIG_NSH_READLINE=y +CONFIG_PREALLOC_TIMERS=4 +CONFIG_RAM_SIZE=278528 +CONFIG_RAM_START=0x20000000 +CONFIG_RAW_BINARY=y +CONFIG_READLINE_CMD_HISTORY=y +CONFIG_READLINE_TABCOMPLETION=y +CONFIG_RR_INTERVAL=200 +CONFIG_SCHED_WAITPID=y +CONFIG_SENSORS=y +CONFIG_STACK_COLORATION=y +CONFIG_STM32_I2C1=y +CONFIG_STM32_USART2=y +CONFIG_SYSTEM_I2CTOOL=y +CONFIG_SYSTEM_NSH=y +CONFIG_SYSTEM_SENSORTEST=y +CONFIG_TASK_NAME_SIZE=0 +CONFIG_USART2_SERIAL_CONSOLE=y diff --git a/boards/arm/stm32h7/nucleo-h743zi/configs/iks01a2/defconfig b/boards/arm/stm32h7/nucleo-h743zi/configs/iks01a2/defconfig new file mode 100644 index 00000000000..754ed416342 --- /dev/null +++ b/boards/arm/stm32h7/nucleo-h743zi/configs/iks01a2/defconfig @@ -0,0 +1,57 @@ +# +# 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_NSH_DISABLE_IFCONFIG is not set +# CONFIG_NSH_DISABLE_PS is not set +# CONFIG_STANDARD_SERIAL is not set +CONFIG_ARCH="arm" +CONFIG_ARCH_BOARD="nucleo-h743zi" +CONFIG_ARCH_BOARD_COMMON=y +CONFIG_ARCH_BOARD_NUCLEO_H743ZI=y +CONFIG_ARCH_CHIP="stm32h7" +CONFIG_ARCH_CHIP_STM32=y +CONFIG_ARCH_CHIP_STM32H743ZI=y +CONFIG_ARCH_CHIP_STM32H7=y +CONFIG_ARCH_CHIP_STM32H7_CORTEXM7=y +CONFIG_ARCH_STACKDUMP=y +CONFIG_ARMV7M_DCACHE=y +CONFIG_ARMV7M_DCACHE_WRITETHROUGH=y +CONFIG_ARMV7M_DTCM=y +CONFIG_ARMV7M_ICACHE=y +CONFIG_BOARD_LOOPSPERMSEC=43103 +CONFIG_BOARD_STM32_IKS01A2=y +CONFIG_BUILTIN=y +CONFIG_DEBUG_FULLOPT=y +CONFIG_DEBUG_SYMBOLS=y +CONFIG_EXPERIMENTAL=y +CONFIG_HAVE_CXX=y +CONFIG_HAVE_CXXINITIALIZE=y +CONFIG_INIT_ENTRYPOINT="nsh_main" +CONFIG_INTELHEX_BINARY=y +CONFIG_LINE_MAX=64 +CONFIG_MM_REGIONS=4 +CONFIG_NSH_BUILTIN_APPS=y +CONFIG_NSH_FILEIOSIZE=512 +CONFIG_NSH_READLINE=y +CONFIG_PREALLOC_TIMERS=4 +CONFIG_RAM_SIZE=245760 +CONFIG_RAM_START=0x20010000 +CONFIG_RAW_BINARY=y +CONFIG_RR_INTERVAL=200 +CONFIG_SCHED_WAITPID=y +CONFIG_SENSORS=y +CONFIG_SPI=y +CONFIG_START_DAY=6 +CONFIG_START_MONTH=12 +CONFIG_START_YEAR=2011 +CONFIG_STM32_I2C1=y +CONFIG_STM32_USART3=y +CONFIG_SYSTEM_I2CTOOL=y +CONFIG_SYSTEM_NSH=y +CONFIG_SYSTEM_SENSORTEST=y +CONFIG_TASK_NAME_SIZE=0 +CONFIG_USART3_SERIAL_CONSOLE=y diff --git a/boards/arm/stm32n6/nucleo-n657x0-q/configs/iks01a2/defconfig b/boards/arm/stm32n6/nucleo-n657x0-q/configs/iks01a2/defconfig new file mode 100644 index 00000000000..663e4a2c7b7 --- /dev/null +++ b/boards/arm/stm32n6/nucleo-n657x0-q/configs/iks01a2/defconfig @@ -0,0 +1,41 @@ +# +# 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="arm" +CONFIG_ARCH_BOARD="nucleo-n657x0-q" +CONFIG_ARCH_BOARD_COMMON=y +CONFIG_ARCH_BOARD_NUCLEO_N657X0_Q=y +CONFIG_ARCH_CHIP="stm32n6" +CONFIG_ARCH_CHIP_STM32=y +CONFIG_ARCH_CHIP_STM32N657X0=y +CONFIG_ARCH_CHIP_STM32N6=y +CONFIG_ARCH_INTERRUPTSTACK=4096 +CONFIG_ARCH_STACKDUMP=y +CONFIG_ARMV8M_DCACHE=y +CONFIG_ARMV8M_ICACHE=y +CONFIG_BOARD_LOOPSPERMSEC=21000 +CONFIG_BOARD_STM32_IKS01A2=y +CONFIG_BUILTIN=y +CONFIG_HAVE_CXX=y +CONFIG_HAVE_CXXINITIALIZE=y +CONFIG_IDLETHREAD_STACKSIZE=4096 +CONFIG_INIT_ENTRYPOINT="nsh_main" +CONFIG_NSH_BUILTIN_APPS=y +CONFIG_NSH_FILEIOSIZE=512 +CONFIG_NSH_READLINE=y +CONFIG_RAM_SIZE=4193280 +CONFIG_RAM_START=0x34000400 +CONFIG_RAW_BINARY=y +CONFIG_RR_INTERVAL=200 +CONFIG_SCHED_WAITPID=y +CONFIG_SENSORS=y +CONFIG_STM32_I2C1=y +CONFIG_STM32_USART1=y +CONFIG_SYSTEM_I2CTOOL=y +CONFIG_SYSTEM_NSH=y +CONFIG_SYSTEM_SENSORTEST=y +CONFIG_USART1_SERIAL_CONSOLE=y
