Skip to content

Commit 637181c

Browse files
committed
boards/nucleo-c092rc: add minimal NSH configuration
add minimal NSH configuration for nucleo-c092rc Signed-off-by: raiden00pl <[email protected]>
1 parent 828fff3 commit 637181c

File tree

2 files changed

+54
-0
lines changed
  • Documentation/platforms/arm/stm32c0/boards/nucleo-c092rc
  • boards/arm/stm32f0l0g0/nucleo-c092rc/configs/nsh

2 files changed

+54
-0
lines changed

Documentation/platforms/arm/stm32c0/boards/nucleo-c092rc/index.rst

+7
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ At default USART2 connected to "Virtual COM Port" is used as serial console.
2020
Configurations
2121
==============
2222

23+
nsh
24+
---
25+
26+
Configures the NuttShell (nsh) located at apps/examples/nsh. The
27+
Configuration enables the serial interfaces on USART2. Support for
28+
builtin applications is disabled.
29+
2330
jumbo
2431
-----
2532

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
#
2+
# This file is autogenerated: PLEASE DO NOT EDIT IT.
3+
#
4+
# You can use "make menuconfig" to make any modifications to the installed .config file.
5+
# You can then do "make savedefconfig" to generate a new defconfig file that includes your
6+
# modifications.
7+
#
8+
# CONFIG_STM32F0G0L0_USE_LEGACY_PINMAP is not set
9+
CONFIG_ARCH="arm"
10+
CONFIG_ARCH_BOARD="nucleo-c092rc"
11+
CONFIG_ARCH_BOARD_NUCLEO_C092RC=y
12+
CONFIG_ARCH_BUTTONS=y
13+
CONFIG_ARCH_CHIP="stm32f0l0g0"
14+
CONFIG_ARCH_CHIP_STM32C092RC=y
15+
CONFIG_ARCH_CHIP_STM32C092XX=y
16+
CONFIG_ARCH_CHIP_STM32C0=y
17+
CONFIG_ARCH_IRQBUTTONS=y
18+
CONFIG_ARCH_STACKDUMP=y
19+
CONFIG_BOARD_LATE_INITIALIZE=y
20+
CONFIG_BOARD_LOOPSPERMSEC=3997
21+
CONFIG_DEBUG_FULLOPT=y
22+
CONFIG_DEBUG_SYMBOLS=y
23+
CONFIG_INIT_ENTRYPOINT="nsh_main"
24+
CONFIG_INIT_STACKSIZE=1536
25+
CONFIG_INTELHEX_BINARY=y
26+
CONFIG_LINE_MAX=64
27+
CONFIG_NFILE_DESCRIPTORS_PER_BLOCK=6
28+
CONFIG_NSH_BUILTIN_APPS=y
29+
CONFIG_NSH_FILEIOSIZE=64
30+
CONFIG_NSH_READLINE=y
31+
CONFIG_NUNGET_CHARS=0
32+
CONFIG_POSIX_SPAWN_DEFAULT_STACKSIZE=1536
33+
CONFIG_PTHREAD_MUTEX_UNSAFE=y
34+
CONFIG_PTHREAD_STACK_DEFAULT=1536
35+
CONFIG_RAM_SIZE=30720
36+
CONFIG_RAM_START=0x20000000
37+
CONFIG_RAW_BINARY=y
38+
CONFIG_RR_INTERVAL=200
39+
CONFIG_SCHED_WAITPID=y
40+
CONFIG_START_DAY=19
41+
CONFIG_START_MONTH=5
42+
CONFIG_START_YEAR=2013
43+
CONFIG_STDIO_DISABLE_BUFFERING=y
44+
CONFIG_STM32F0L0G0_USART2=y
45+
CONFIG_SYSTEM_NSH=y
46+
CONFIG_TASK_NAME_SIZE=0
47+
CONFIG_USART2_SERIAL_CONSOLE=y

0 commit comments

Comments
 (0)