From cea31ebf6827315cd849cf9eb31dcc9e2db2a0ba Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 30 Dec 2013 10:04:34 -0600 Subject: [PATCH] NxWM: Can now disable the NxConsole window. STM3240G-EVAL knxwm: Disabled the NxConsole for now because there are issues with the kernel build. --- TODO | 76 ++++++++---- configs/mikroe-stm32f4/fulldemo/defconfig | 48 ++++++-- configs/sam3u-ek/nxwm/defconfig | 1 + configs/sama5d3x-ek/nxwm/defconfig | 1 + configs/shenzhou/nxwm/defconfig | 1 + configs/sim/nxwm/defconfig | 1 + configs/stm3220g-eval/nxwm/defconfig | 1 + configs/stm3240g-eval/README.txt | 19 ++- configs/stm3240g-eval/knxwm/defconfig | 143 +--------------------- configs/stm3240g-eval/nxwm/defconfig | 1 + 10 files changed, 123 insertions(+), 169 deletions(-) diff --git a/TODO b/TODO index f7016ae637..8de0ce8358 100644 --- a/TODO +++ b/TODO @@ -12,7 +12,7 @@ nuttx/ (1) Memory Managment (mm/) (3) Signals (sched/, arch/) (2) pthreads (sched/) - (8) Kernel Build + (11) Kernel Build (4) C++ Support (6) Binary loaders (binfmt/) (16) Network (net/, drivers/net) @@ -354,33 +354,65 @@ o pthreads (sched/) o Kernel Build ^^^^^^^^^^^^ - Title: KERNEL BUILD MODE ISSUES - GRAPHICS/NSH PARTITIONING. - Description: In the kernel build mode (where NuttX is built as a monlithic + Title: GRAPHICS PARTITIONING. + Description: In the kernel build mode (where NuttX is built as a monolithic kernel and user code must trap into the protected kernel via syscalls), the single user mode cannot be supported. In this built configuration, only the multiple user mode can be supported - with the NX server residing inside of the kernel space. In - this case, most of the user end functions in graphics/nxmu - must be moved to libc/nx and those functions must be built into - libuser.a to be linked with the user-space code. - A similar issue exists in NSH that uses some internal OS - interfaces that would not be available in a kernel build - (such as foreach_task, foreach_mountpoint, etc.). + with the NX server residing inside of the kernel space. + Status: Closed. This is not a bug, this is just the things are. + Priority: N/A. + + Title: NSH PARTITIONING. + Description: There are issues with several NSH commands in the NuttX kernel + build mode (where NuttX is built as a monolithic kernel and + user code must trap into the protected kernel via syscalls). + The current NSH implementation has several commands that call + directly into kernel internel functions for whicht there is + no syscall available. The commands cause link failures in + the kernel build mode and must currently be disabled. + Here are known problems that must be fixed: + + COMMAND KERNEL INTERFACE(s) + -------- ---------------------------------------------- + loset losetup(), loteardown() + mkfatfs mkfatfs + mkrd ramdisk_register() + dd bchlib_setup(), bchlib_read(), bchlib_write(), + bchlib_teardown() + ps sched_foreach() + ifup netdev_foreach() + ifdown netdev_foreach() + ifconfig netdev_foreach(), uip_stat() + ping uip_ping() + Status: Open - Priority: Low -- the kernel build configuration is not fully fielded + Priority: Medium/High -- the kernel build configuration is not fully fielded yet. - Title: NSH ps AND mount COMMANDS DISABLED - Description: NSH's ps and mount command (with not arguments) cannot currently - be supported in the kernel build. That is because these commands - depend on kernel internal, non-standard interfaces that are not - accessible in user-space. These are both critical NSH commands - and need to be supported. - - In addition, the NSH 'free' command only shows memory usage in - the user headp, not useage in the kernel heap. + Title: NSH free COMMAND LIMITATION + Description: The NSH 'free' command only shows memory usage in the user + heap only, not usage in the kernel heap. I am thinking that + kernel heap memory usage should be available in /proc/memory. Status: Open - Priority: High. I really like these commands! + Priority: Medium/High + + Title: TELNETD PARTITIONING. + Description: Telnetd is implemented as a driver that resides in the apps/ + directory. In the kernel build, mode, the driver logic must + be moved into the kernel part of the build (nuttx/, although + the application level interfaces must stay in apps/). + Status: Open + Priority: Medium + + Title: NxCONSOLE PARTITIONING. + Description: NxConsole is implemented (correctly) as a driver that resides + in the nuttx/ directory. However, the user interfaces must be + moved into a NuttX library or into apps/. Currently + applications calls to the NxConsole user interfaces are + undefined. + Status: Open + Priority: Medium Title: LOAD-ABLE MODULE SUPPORT UNVERIFIED Description: It has not been verified if NXFLAT and ELF modules work correctly @@ -393,7 +425,7 @@ o Kernel Build Description: When a C++ ELF module is loaded, its C++ constructors are called via sched/task_starthook.c logic. This logic runs in kernel mode. The is a security hole because the user code runs with kernel- - priviledges when the constuctor executes. + privileges when the constructor executes. Destructors likely have the opposite problem. The probably try to execute some kernel logic in user mode? Obviously this needs to diff --git a/configs/mikroe-stm32f4/fulldemo/defconfig b/configs/mikroe-stm32f4/fulldemo/defconfig index 7dcacfc514..3a814537be 100644 --- a/configs/mikroe-stm32f4/fulldemo/defconfig +++ b/configs/mikroe-stm32f4/fulldemo/defconfig @@ -40,6 +40,7 @@ CONFIG_RAW_BINARY=y # CONFIG_DEBUG=y CONFIG_ARCH_HAVE_STACKCHECK=y +CONFIG_ARCH_HAVE_HEAPCHECK=y # CONFIG_DEBUG_VERBOSE is not set # @@ -54,6 +55,7 @@ CONFIG_ARCH_HAVE_STACKCHECK=y # CONFIG_DEBUG_GRAPHICS is not set # CONFIG_DEBUG_IRQ is not set CONFIG_DEBUG_STACK=y +# CONFIG_DEBUG_HEAP is not set # # Driver Debug Options @@ -67,6 +69,7 @@ CONFIG_DEBUG_STACK=y # CONFIG_DEBUG_RTC is not set # CONFIG_DEBUG_AUDIO is not set CONFIG_DEBUG_SYMBOLS=y +CONFIG_DEBUG_NOOPT=y # # System Type @@ -87,6 +90,7 @@ CONFIG_ARCH="arm" # # ARM Options # +# CONFIG_ARCH_CHIP_A1X is not set # CONFIG_ARCH_CHIP_C5471 is not set # CONFIG_ARCH_CHIP_CALYPSO is not set # CONFIG_ARCH_CHIP_DM320 is not set @@ -206,6 +210,11 @@ CONFIG_ARCH_CHIP_STM32F407VG=y # CONFIG_ARCH_CHIP_STM32F427V is not set # CONFIG_ARCH_CHIP_STM32F427Z is not set # CONFIG_ARCH_CHIP_STM32F427I is not set +# CONFIG_ARCH_CHIP_STM32F429V is not set +# CONFIG_ARCH_CHIP_STM32F429Z is not set +# CONFIG_ARCH_CHIP_STM32F429I is not set +# CONFIG_ARCH_CHIP_STM32F429B is not set +# CONFIG_ARCH_CHIP_STM32F429N is not set # CONFIG_STM32_STM32L15XX is not set # CONFIG_STM32_ENERGYLITE is not set # CONFIG_STM32_STM32F10XX is not set @@ -223,6 +232,8 @@ CONFIG_STM32_STM32F40XX=y # # STM32 Peripheral Support # +# CONFIG_STM32_HAVE_USBDEV is not set +CONFIG_STM32_HAVE_OTGFS=y # CONFIG_STM32_ADC1 is not set CONFIG_STM32_ADC2=y # CONFIG_STM32_ADC3 is not set @@ -322,10 +333,11 @@ CONFIG_STM32_SPI_DMA=y # CONFIG_ARCH_NOINTC is not set # CONFIG_ARCH_VECNOTIRQ is not set CONFIG_ARCH_DMA=y -CONFIG_ARCH_IRQPRIO=y +CONFIG_ARCH_HAVE_IRQPRIO=y # CONFIG_CUSTOM_STACK is not set # CONFIG_ADDRENV is not set CONFIG_ARCH_HAVE_VFORK=y +CONFIG_ARCH_IRQPRIO=y CONFIG_ARCH_STACKDUMP=y # CONFIG_ENDIAN_BIG is not set # CONFIG_ARCH_HAVE_RAMFUNCS is not set @@ -337,8 +349,14 @@ CONFIG_ARCH_HAVE_RAMVECTORS=y # CONFIG_BOARD_LOOPSPERMSEC=16717 # CONFIG_ARCH_CALIBRATION is not set + +# +# Interrupt options +# CONFIG_ARCH_HAVE_INTERRUPTSTACK=y CONFIG_ARCH_INTERRUPTSTACK=0 +CONFIG_ARCH_HAVE_HIPRI_INTERRUPT=y +# CONFIG_ARCH_HIPRI_INTERRUPT is not set # # Boot options @@ -386,6 +404,7 @@ CONFIG_MIKROE_FLASH_PART_LIST="8,248,768" # # CONFIG_BOARD_INITIALIZE is not set CONFIG_MSEC_PER_TICK=10 +# CONFIG_SYSTEM_TIME64 is not set CONFIG_RR_INTERVAL=200 # CONFIG_SCHED_INSTRUMENTATION is not set CONFIG_TASK_NAME_SIZE=10 @@ -457,14 +476,16 @@ CONFIG_DEV_RANDOM=y CONFIG_LOOP=y CONFIG_RAMDISK=y # CONFIG_CAN is not set +# CONFIG_ARCH_HAVE_PWM_PULSECOUNT is not set # CONFIG_PWM is not set -# CONFIG_I2C is not set CONFIG_ARCH_HAVE_I2CRESET=y +# CONFIG_I2C is not set CONFIG_SPI=y # CONFIG_SPI_OWNBUS is not set CONFIG_SPI_EXCHANGE=y # CONFIG_SPI_CMDDATA is not set # CONFIG_SPI_BITBANG is not set +# CONFIG_I2S is not set CONFIG_RTC=y CONFIG_RTC_DATETIME=y CONFIG_RTC_ALARM=y @@ -473,6 +494,8 @@ CONFIG_RTC_ALARM=y CONFIG_AUDIO_DEVICES=y CONFIG_VS1053=y CONFIG_VS1053_DEVICE_COUNT=1 +CONFIG_VS1053_WORKER_STACKSIZE=768 +# CONFIG_VIDEO_DEVICES is not set # CONFIG_BCH is not set CONFIG_INPUT=y # CONFIG_INPUT_TSC2007 is not set @@ -499,6 +522,7 @@ CONFIG_LCD_MIO283QT2=y # CONFIG_LCD_ST7567 is not set # CONFIG_LCD_UG2864AMBAG01 is not set # CONFIG_LCD_SSD1289 is not set +# CONFIG_LCD_SHARP_MEMLCD is not set CONFIG_LCD_LANDSCAPE=y # CONFIG_LCD_PORTRAIT is not set # CONFIG_LCD_RPORTRAIT is not set @@ -526,11 +550,14 @@ CONFIG_MTD=y CONFIG_MTD_PARTITION=y CONFIG_MTD_BYTE_WRITE=y CONFIG_MTD_CONFIG=y +# CONFIG_MTD_CONFIG_RAM_CONSOLIDATE is not set CONFIG_MTD_CONFIG_ERASEDVALUE=0xFF # # MTD Device Drivers # +# CONFIG_ARCH_NAND_HWECC is not set +# CONFIG_MTD_NAND is not set CONFIG_RAMMTD=y CONFIG_RAMMTD_BLOCKSIZE=512 CONFIG_RAMMTD_ERASESIZE=4096 @@ -548,12 +575,14 @@ CONFIG_MTD_SMART=y CONFIG_MTD_SMART_SECTOR_SIZE=512 # CONFIG_MTD_RAMTRON is not set # CONFIG_MTD_SST25 is not set +# CONFIG_MTD_SST25XX is not set # CONFIG_MTD_SST39FV is not set # CONFIG_MTD_W25 is not set # CONFIG_PIPES is not set # CONFIG_PM is not set # CONFIG_POWER is not set # CONFIG_SENSORS is not set +# CONFIG_SERCOMM_CONSOLE is not set CONFIG_SERIAL=y # CONFIG_DEV_LOWCONSOLE is not set CONFIG_SERIAL_REMOVABLE=y @@ -650,6 +679,8 @@ CONFIG_CDCACM_PRODUCTSTR="CDC/ACM Serial" # File system configuration # # CONFIG_DISABLE_MOUNTPOINT is not set +CONFIG_FS_READABLE=y +CONFIG_FS_WRITABLE=y # CONFIG_FS_RAMMAP is not set CONFIG_FS_FAT=y # CONFIG_FAT_LCNAMES is not set @@ -663,6 +694,7 @@ CONFIG_SMARTFS_ERASEDSTATE=0xff CONFIG_SMARTFS_MAXNAMLEN=16 # CONFIG_SMARTFS_MULTI_ROOT_DIRS is not set CONFIG_FS_BINFS=y +# CONFIG_FS_PROCFS is not set # # System Logging @@ -756,6 +788,7 @@ CONFIG_NX_MULTIUSER=y CONFIG_NX_BLOCKING=y CONFIG_NX_MXSERVERMSGS=32 CONFIG_NX_MXCLIENTMSGS=16 +# CONFIG_NX_NXSTART is not set # # Memory Management @@ -876,6 +909,7 @@ CONFIG_BUILTIN_PROXY_STACKSIZE=1024 # # CONFIG_EXAMPLES_BUTTONS is not set # CONFIG_EXAMPLES_CAN is not set +# CONFIG_EXAMPLES_CONFIGDATA is not set # CONFIG_EXAMPLES_CXXTEST is not set # CONFIG_EXAMPLES_DHCPD is not set # CONFIG_EXAMPLES_ELF is not set @@ -1079,14 +1113,14 @@ CONFIG_NXWIDGETS=y # NX Server/Device Configuration # CONFIG_NXWIDGETS_FLICKERFREE=y +# CONFIG_NXWIDGETS_EXTERNINIT is not set CONFIG_NXWIDGETS_DEVNO=0 -CONFIG_NXWIDGETS_VPLANE=0 +CONFIG_NXWIDGET_SERVERINIT=y CONFIG_NXWIDGETS_SERVERPRIO=110 CONFIG_NXWIDGETS_SERVERSTACK=2048 CONFIG_NXWIDGETS_CLIENTPRIO=100 CONFIG_NXWIDGETS_LISTENERPRIO=100 CONFIG_NXWIDGETS_LISTENERSTACK=2048 -# CONFIG_NXWIDGETS_EXTERNINIT is not set # CONFIG_NXWIDGET_EVENTWAIT is not set # @@ -1179,10 +1213,7 @@ CONFIG_NXWM_STARTWINDOW_MXMSGS=32 CONFIG_NXWM_STARTWINDOW_MXMPRIO=42 CONFIG_NXWM_STARTWINDOW_PRIO=100 CONFIG_NXWM_STARTWINDOW_STACKSIZE=2048 - -# -# NxConsole Window Configuration -# +CONFIG_NXWM_NXCONSOLE=y CONFIG_NXWM_NXCONSOLE_PRIO=100 CONFIG_NXWM_NXCONSOLE_STACKSIZE=2048 # CONFIG_NXWM_NXCONSOLE_CUSTOM_COLORS is not set @@ -1283,6 +1314,7 @@ CONFIG_SYSTEM_FLASH_ERASEALL=y # NxPlayer media player library / command Line # CONFIG_SYSTEM_NXPLAYER=y +CONFIG_NXPLAYER_PLAYTHREAD_STACKSIZE=1500 CONFIG_NXPLAYER_COMMAND_LINE=y CONFIG_NXPLAYER_INCLUDE_HELP=y CONFIG_NXPLAYER_INCLUDE_DEVICE_SEARCH=y diff --git a/configs/sam3u-ek/nxwm/defconfig b/configs/sam3u-ek/nxwm/defconfig index a82ea53113..bb914266eb 100644 --- a/configs/sam3u-ek/nxwm/defconfig +++ b/configs/sam3u-ek/nxwm/defconfig @@ -927,6 +927,7 @@ CONFIG_NXWM_STARTWINDOW_STACKSIZE=1596 # # NxConsole Window Configuration # +CONFIG_NXWM_NXCONSOLE=y CONFIG_NXWM_NXCONSOLE_PRIO=100 CONFIG_NXWM_NXCONSOLE_STACKSIZE=1596 # CONFIG_NXWM_NXCONSOLE_CUSTOM_COLORS is not set diff --git a/configs/sama5d3x-ek/nxwm/defconfig b/configs/sama5d3x-ek/nxwm/defconfig index d76f8abea0..78a270aa32 100644 --- a/configs/sama5d3x-ek/nxwm/defconfig +++ b/configs/sama5d3x-ek/nxwm/defconfig @@ -963,6 +963,7 @@ CONFIG_NXWM_STARTWINDOW_STACKSIZE=1596 # # NxConsole Window Configuration # +CONFIG_NXWM_NXCONSOLE=y CONFIG_NXWM_NXCONSOLE_PRIO=100 CONFIG_NXWM_NXCONSOLE_STACKSIZE=1596 # CONFIG_NXWM_NXCONSOLE_CUSTOM_COLORS is not set diff --git a/configs/shenzhou/nxwm/defconfig b/configs/shenzhou/nxwm/defconfig index 1568c82826..c2418ab04a 100644 --- a/configs/shenzhou/nxwm/defconfig +++ b/configs/shenzhou/nxwm/defconfig @@ -1142,6 +1142,7 @@ CONFIG_NXWM_STARTWINDOW_STACKSIZE=1596 # # NxConsole Window Configuration # +CONFIG_NXWM_NXCONSOLE=y CONFIG_NXWM_NXCONSOLE_PRIO=100 CONFIG_NXWM_NXCONSOLE_STACKSIZE=1596 # CONFIG_NXWM_NXCONSOLE_CUSTOM_COLORS is not set diff --git a/configs/sim/nxwm/defconfig b/configs/sim/nxwm/defconfig index 5dfedf1c74..f5ead1cb2f 100644 --- a/configs/sim/nxwm/defconfig +++ b/configs/sim/nxwm/defconfig @@ -738,6 +738,7 @@ CONFIG_NXWM_STARTWINDOW_STACKSIZE=2048 # # NxConsole Window Configuration # +CONFIG_NXWM_NXCONSOLE=y CONFIG_NXWM_NXCONSOLE_PRIO=100 CONFIG_NXWM_NXCONSOLE_STACKSIZE=8192 # CONFIG_NXWM_NXCONSOLE_CUSTOM_COLORS is not set diff --git a/configs/stm3220g-eval/nxwm/defconfig b/configs/stm3220g-eval/nxwm/defconfig index 3711e4b342..e0d36df7c6 100644 --- a/configs/stm3220g-eval/nxwm/defconfig +++ b/configs/stm3220g-eval/nxwm/defconfig @@ -1165,6 +1165,7 @@ CONFIG_NXWM_STARTWINDOW_STACKSIZE=2048 # # NxConsole Window Configuration # +CONFIG_NXWM_NXCONSOLE=y CONFIG_NXWM_NXCONSOLE_PRIO=100 CONFIG_NXWM_NXCONSOLE_STACKSIZE=2048 # CONFIG_NXWM_NXCONSOLE_CUSTOM_COLORS is not set diff --git a/configs/stm3240g-eval/README.txt b/configs/stm3240g-eval/README.txt index 4051cf7a16..a933884ccb 100644 --- a/configs/stm3240g-eval/README.txt +++ b/configs/stm3240g-eval/README.txt @@ -991,7 +991,22 @@ Where is one of the following: This is easily changed by modifying the configuration. - 3. At the end of the build, there will be several files in the top-level + 3. In addition to the the kernel mode build, this NxWM configuration + differences from the nxwm configuration in that: + + a. Networking is disabled. There are issues with some of the network- + related NSH commands and with Telnet in the kernel build (see the + top-level TODO file). Without these NSH commands, there is no use + for networking in this configuration. + + b. The NxConsole windows are disabled. There are also issues with the + NxConsole build now (see the top-level TODO file). + + c. The initialization sequence is quite different: NX and the + touchscreen are initialized in kernel mode by logic in this src/ + directory before the NxWM application is started. + + 4. At the end of the build, there will be several files in the top-level NuttX build directory: PASS1: @@ -1004,7 +1019,7 @@ Where is one of the following: nuttx.hex - The pass2 Intel HEX file (selected in defconfig) System.map - Symbols in the kernel-space ELF file - 4. Combining .hex files. If you plan to use the STM32 ST-Link Utility to + 5. Combining .hex files. If you plan to use the STM32 ST-Link Utility to load the .hex files into FLASH, then you need to combine the two hex files into a single .hex file. Here is how you can do that. diff --git a/configs/stm3240g-eval/knxwm/defconfig b/configs/stm3240g-eval/knxwm/defconfig index 59788142e2..ed79967130 100644 --- a/configs/stm3240g-eval/knxwm/defconfig +++ b/configs/stm3240g-eval/knxwm/defconfig @@ -121,7 +121,6 @@ CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y # CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW is not set # CONFIG_ARMV7M_TOOLCHAIN_RAISONANCE is not set # CONFIG_SERIAL_TERMIOS is not set -# CONFIG_NET_MULTICAST is not set # # STM32 Configuration Options @@ -235,7 +234,7 @@ CONFIG_STM32_HAVE_OTGFS=y # CONFIG_STM32_DAC1 is not set # CONFIG_STM32_DAC2 is not set # CONFIG_STM32_DCMI is not set -CONFIG_STM32_ETHMAC=y +# CONFIG_STM32_ETHMAC is not set CONFIG_STM32_FSMC=y # CONFIG_STM32_HASH is not set CONFIG_STM32_I2C1=y @@ -305,24 +304,6 @@ CONFIG_STM32_I2CTIMEOMS=500 CONFIG_STM32_I2CTIMEOTICKS=500 # CONFIG_STM32_I2C_DUTY16_9 is not set -# -# Ethernet MAC configuration -# -CONFIG_STM32_PHYADDR=1 -# CONFIG_STM32_PHYINIT is not set -CONFIG_STM32_MII=y -CONFIG_STM32_MII_MCO1=y -# CONFIG_STM32_MII_MCO2 is not set -# CONFIG_STM32_MII_EXTCLK is not set -CONFIG_STM32_AUTONEG=y -CONFIG_STM32_PHYSR=16 -# CONFIG_STM32_PHYSR_ALTCONFIG is not set -CONFIG_STM32_PHYSR_SPEED=0x0002 -CONFIG_STM32_PHYSR_100MBPS=0x0000 -CONFIG_STM32_PHYSR_MODE=0x0004 -CONFIG_STM32_PHYSR_FULLDUPLEX=0x0004 -# CONFIG_STM32_ETH_PTP is not set - # # USB Host Configuration # @@ -549,33 +530,6 @@ CONFIG_LCD_LANDSCAPE=y # CONFIG_LCD_LCD1602 is not set # CONFIG_MMCSD is not set # CONFIG_MTD is not set -CONFIG_NETDEVICES=y - -# -# General Ethernet MAC Driver Options -# -# CONFIG_NETDEV_MULTINIC is not set - -# -# External Ethernet MAC Device Support -# -# CONFIG_NET_DM90x0 is not set -# CONFIG_ENC28J60 is not set -# CONFIG_ENCX24J600 is not set -# CONFIG_NET_E1000 is not set -# CONFIG_NET_SLIP is not set -# CONFIG_NET_VNET is not set - -# -# External Ethernet PHY Device Support -# -CONFIG_ETH0_PHY_NONE=y -# CONFIG_ETH0_PHY_KS8721 is not set -# CONFIG_ETH0_PHY_KSZ8051 is not set -# CONFIG_ETH0_PHY_KSZ90x1 is not set -# CONFIG_ETH0_PHY_DP83848C is not set -# CONFIG_ETH0_PHY_LAN8720 is not set -# CONFIG_ETH0_PHY_DM9161 is not set # CONFIG_PIPES is not set # CONFIG_PM is not set # CONFIG_POWER is not set @@ -624,49 +578,9 @@ CONFIG_USART3_2STOP=0 # # Networking Support # -CONFIG_ARCH_HAVE_NET=y -CONFIG_ARCH_HAVE_PHY=y -CONFIG_NET=y -# CONFIG_NET_NOINTS is not set -CONFIG_NET_MULTIBUFFER=y -# CONFIG_NET_PROMISCUOUS is not set -# CONFIG_NET_IPv6 is not set -CONFIG_NSOCKET_DESCRIPTORS=10 -CONFIG_NET_NACTIVESOCKETS=16 -CONFIG_NET_SOCKOPTS=y -CONFIG_NET_BUFSIZE=562 -# CONFIG_NET_TCPURGDATA is not set - -# -# TCP/IP Networking -# -CONFIG_NET_TCP=y -CONFIG_NET_TCP_CONNS=40 -CONFIG_NET_MAX_LISTENPORTS=40 -CONFIG_NET_TCP_READAHEAD_BUFSIZE=562 -CONFIG_NET_NTCP_READAHEAD_BUFFERS=16 -CONFIG_NET_TCP_RECVDELAY=0 -CONFIG_NET_TCPBACKLOG=y -# CONFIG_NET_TCP_SPLIT is not set -# CONFIG_NET_SENDFILE is not set - -# -# UDP Networking -# -CONFIG_NET_UDP=y -CONFIG_NET_UDP_CHECKSUMS=y -CONFIG_NET_UDP_CONNS=8 -# CONFIG_NET_BROADCAST is not set -# CONFIG_NET_RXAVAIL is not set -CONFIG_NET_ICMP=y -CONFIG_NET_ICMP_PING=y -# CONFIG_NET_PINGADDRCONF is not set -# CONFIG_NET_IGMP is not set -CONFIG_NET_STATISTICS=y -CONFIG_NET_RECEIVE_WINDOW=562 -CONFIG_NET_ARPTAB_SIZE=16 -# CONFIG_NET_ARP_IPIN is not set -# CONFIG_NET_ROUTE is not set +# CONFIG_ARCH_HAVE_NET is not set +# CONFIG_ARCH_HAVE_PHY is not set +# CONFIG_NET is not set # # File Systems @@ -685,7 +599,6 @@ CONFIG_FAT_LFN=y CONFIG_FAT_MAXFNAME=32 # CONFIG_FS_FATTIME is not set # CONFIG_FAT_DMAMEMORY is not set -# CONFIG_NFS is not set # CONFIG_FS_NXFFS is not set # CONFIG_FS_ROMFS is not set # CONFIG_FS_SMARTFS is not set @@ -755,24 +668,7 @@ CONFIG_NXFONT_SANS22X29B=y # CONFIG_NXFONT_SERIF22X28B is not set # CONFIG_NXFONT_SERIF27X38B is not set # CONFIG_NXFONT_SERIF38X49B is not set -CONFIG_NXCONSOLE=y - -# -# NxConsole Output Text/Graphics Options -# -CONFIG_NXCONSOLE_BPP=16 -CONFIG_NXCONSOLE_CURSORCHAR=137 -CONFIG_NXCONSOLE_MXCHARS=325 -CONFIG_NXCONSOLE_CACHESIZE=32 -CONFIG_NXCONSOLE_LINESEPARATION=0 -# CONFIG_NXCONSOLE_NOWRAP is not set - -# -# NxConsole Input options -# -CONFIG_NXCONSOLE_NXKBDIN=y -CONFIG_NXCONSOLE_KBDBUFSIZE=16 -CONFIG_NXCONSOLE_NPOLLWAITERS=4 +# CONFIG_NXCONSOLE is not set # # NX Multi-user only options @@ -898,7 +794,6 @@ CONFIG_HAVE_CXXINITIALIZE=y # CONFIG_EXAMPLES_MM is not set # CONFIG_EXAMPLES_MODBUS is not set # CONFIG_EXAMPLES_MOUNT is not set -# CONFIG_EXAMPLES_NETTEST is not set # CONFIG_EXAMPLES_NRF24L01TERM is not set # CONFIG_EXAMPLES_NSH is not set # CONFIG_EXAMPLES_NULL is not set @@ -928,12 +823,10 @@ CONFIG_HAVE_CXXINITIALIZE=y # CONFIG_EXAMPLES_TIFF is not set # CONFIG_EXAMPLES_TOUCHSCREEN is not set # CONFIG_EXAMPLES_UDP is not set -# CONFIG_EXAMPLES_DISCOVER is not set # CONFIG_EXAMPLES_UIP is not set # CONFIG_EXAMPLES_USBSERIAL is not set # CONFIG_EXAMPLES_USBTERM is not set # CONFIG_EXAMPLES_WATCHDOG is not set -# CONFIG_EXAMPLES_WGET is not set # # Graphics Support @@ -969,9 +862,6 @@ CONFIG_NETUTILS_TFTPC=y CONFIG_NETUTILS_UIPLIB=y CONFIG_NETUTILS_WEBCLIENT=y CONFIG_NSH_WGET_USERAGENT="NuttX/6.xx.x (; http://www.nuttx.org/)" -# CONFIG_NETUTILS_WEBSERVER is not set -# CONFIG_NETUTILS_DISCOVER is not set -# CONFIG_NETUTILS_XMLRPC is not set # # FreeModBus @@ -1048,19 +938,6 @@ CONFIG_NSH_CONSOLE=y # # CONFIG_NSH_CONDEV is not set # CONFIG_NSH_ARCHINIT is not set -CONFIG_NSH_TELNET=y -CONFIG_NSH_TELNETD_PORT=23 -CONFIG_NSH_TELNETD_DAEMONPRIO=100 -CONFIG_NSH_TELNETD_DAEMONSTACKSIZE=2048 -CONFIG_NSH_TELNETD_CLIENTPRIO=100 -CONFIG_NSH_TELNETD_CLIENTSTACKSIZE=2048 -CONFIG_NSH_IOBUFFER_SIZE=512 -# CONFIG_NSH_TELNET_LOGIN is not set -CONFIG_NSH_IPADDR=0x0a000002 -CONFIG_NSH_DRIPADDR=0x0a000001 -CONFIG_NSH_NETMASK=0xffffff00 -CONFIG_NSH_NOMAC=y -CONFIG_NSH_MAX_ROUNDTRIP=20 # # NxWidgets/NxWM @@ -1173,15 +1050,7 @@ CONFIG_NXWM_STARTWINDOW_MXMSGS=32 CONFIG_NXWM_STARTWINDOW_MXMPRIO=42 CONFIG_NXWM_STARTWINDOW_PRIO=100 CONFIG_NXWM_STARTWINDOW_STACKSIZE=2048 - -# -# NxConsole Window Configuration -# -CONFIG_NXWM_NXCONSOLE_PRIO=100 -CONFIG_NXWM_NXCONSOLE_STACKSIZE=2048 -# CONFIG_NXWM_NXCONSOLE_CUSTOM_COLORS is not set -# CONFIG_NXWM_NXCONSOLE_CUSTOM_FONTID is not set -# CONFIG_NXWM_CUSTOM_NXCONSOLE_ICON is not set +# CONFIG_NXWM_NXCONSOLE is not set # # NxWM Touchscreen Configuration diff --git a/configs/stm3240g-eval/nxwm/defconfig b/configs/stm3240g-eval/nxwm/defconfig index 033eed1426..eb174bae80 100644 --- a/configs/stm3240g-eval/nxwm/defconfig +++ b/configs/stm3240g-eval/nxwm/defconfig @@ -1160,6 +1160,7 @@ CONFIG_NXWM_STARTWINDOW_STACKSIZE=2048 # # NxConsole Window Configuration # +CONFIG_NXWM_NXCONSOLE=y CONFIG_NXWM_NXCONSOLE_PRIO=100 CONFIG_NXWM_NXCONSOLE_STACKSIZE=2048 # CONFIG_NXWM_NXCONSOLE_CUSTOM_COLORS is not set