Merged in fvacek/nuttx/nxterm (pull request #686)
Nxterm * stm32f746g-disco/nxdemo configuration to build working nxdemo application related to #109 * stm32f746g-disco/nxterm config NXTerm example for stm32f746g-disco board Approved-by: GregoryN <gnutt@nuttx.org>
This commit is contained in:
parent
f6069328b3
commit
b05f846121
45
configs/stm32f746g-disco/nxterm/README.txt
Normal file
45
configs/stm32f746g-disco/nxterm/README.txt
Normal file
@ -0,0 +1,45 @@
|
||||
README.txt
|
||||
==========
|
||||
|
||||
STM32F746G-DISCO NX Terminal example
|
||||
|
||||
Configure and build
|
||||
-------------------
|
||||
|
||||
tools/configure.sh stm32f746g-disco/nxterm
|
||||
make
|
||||
|
||||
|
||||
Configuration
|
||||
------------
|
||||
|
||||
This configuration provides 1 LTDC with
|
||||
16bpp pixel format and a resolution of 480x272.
|
||||
|
||||
Trickiest part of config is increasing max message size (CONFIG_MQ_MAXMSGSIZE=256).
|
||||
NX server - client communication cannot be established with default value 8 bytes.
|
||||
|
||||
|
||||
Loading
|
||||
-------
|
||||
|
||||
st-flash write nuttx.bin 0x8000000
|
||||
|
||||
or
|
||||
|
||||
openocd -f interface/stlink.cfg -f target/stm32f7x.cfg
|
||||
telnet localhost 4444
|
||||
> program nuttx verify reset
|
||||
|
||||
|
||||
Executing
|
||||
---------
|
||||
|
||||
The ltdc is initialized during boot up. Interaction with NSH is via the serial
|
||||
console provided by ST-LINK USB at 115200 8N1 baud.
|
||||
|
||||
From the nsh comandline execute the example:
|
||||
|
||||
nsh> nxterm
|
||||
|
||||
The test will show terminal window on the screen.
|
88
configs/stm32f746g-disco/nxterm/defconfig
Normal file
88
configs/stm32f746g-disco/nxterm/defconfig
Normal file
@ -0,0 +1,88 @@
|
||||
# CONFIG_ARCH_FPU is not set
|
||||
# CONFIG_NSH_DISABLE_IFCONFIG is not set
|
||||
# CONFIG_NSH_DISABLE_PS is not set
|
||||
# CONFIG_STM32F7_FB_CMAP is not set
|
||||
# CONFIG_STM32F7_LTDC_L2 is not set
|
||||
CONFIG_ARCH="arm"
|
||||
CONFIG_ARCH_BOARD="stm32f746g-disco"
|
||||
CONFIG_ARCH_BOARD_STM32F746G_DISCO=y
|
||||
CONFIG_ARCH_BUTTONS=y
|
||||
CONFIG_ARCH_CHIP_STM32F746NG=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_ARMV7M_TOOLCHAIN_GNU_EABIL=y
|
||||
CONFIG_BOARD_INITIALIZE=y
|
||||
CONFIG_BOARD_LOOPSPERMSEC=43103
|
||||
CONFIG_BUILTIN=y
|
||||
CONFIG_DEBUG_FULLOPT=y
|
||||
CONFIG_DEBUG_SYMBOLS=y
|
||||
CONFIG_DISABLE_POLL=y
|
||||
CONFIG_DRIVERS_VIDEO=y
|
||||
CONFIG_HAVE_CXX=y
|
||||
CONFIG_HAVE_CXXINITIALIZE=y
|
||||
CONFIG_INTELHEX_BINARY=y
|
||||
CONFIG_MAX_TASKS=16
|
||||
CONFIG_MAX_WDOGPARMS=2
|
||||
CONFIG_MM_REGIONS=3
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_FILEIOSIZE=512
|
||||
CONFIG_NSH_LINELEN=64
|
||||
CONFIG_NSH_READLINE=y
|
||||
CONFIG_PREALLOC_MQ_MSGS=4
|
||||
CONFIG_PREALLOC_TIMERS=4
|
||||
CONFIG_PREALLOC_WDOGS=4
|
||||
CONFIG_RAM_SIZE=245760
|
||||
CONFIG_RAM_START=0x20010000
|
||||
CONFIG_RAW_BINARY=y
|
||||
CONFIG_RR_INTERVAL=200
|
||||
CONFIG_SCHED_WAITPID=y
|
||||
CONFIG_SDCLONE_DISABLE=y
|
||||
CONFIG_STM32F7_FMC=y
|
||||
CONFIG_STM32F7_LTDC=y
|
||||
CONFIG_STM32F7_LTDC_FB_BASE=0xc0000000
|
||||
CONFIG_STM32F7_LTDC_FB_SIZE=261120
|
||||
CONFIG_STM32F7_USART1=y
|
||||
CONFIG_USART1_SERIAL_CONSOLE=y
|
||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
||||
CONFIG_VIDEO_FB=y
|
||||
CONFIG_WDOG_INTRESERVE=0
|
||||
|
||||
#CONFIG_EXAMPLES_FB=y
|
||||
#CONFIG_EXAMPLES_NSH=y
|
||||
#CONFIG_HOST_WINDOWS=y
|
||||
#CONFIG_LCD=y
|
||||
#CONFIG_TASK_NAME_SIZE=0
|
||||
#CONFIG_SPI=y
|
||||
#CONFIG_START_DAY=6
|
||||
#CONFIG_START_MONTH=12
|
||||
#CONFIG_START_YEAR=2011
|
||||
#CONFIG_NFILE_DESCRIPTORS=8
|
||||
#CONFIG_NFILE_STREAMS=8
|
||||
|
||||
CONFIG_LIB_BOARDCTL=y
|
||||
CONFIG_MQ_MAXMSGSIZE=256
|
||||
|
||||
CONFIG_NX=y
|
||||
CONFIG_NX_BLOCKING=y
|
||||
|
||||
CONFIG_NXFONT_SANS17X22=y
|
||||
|
||||
CONFIG_NX_DISABLE_2BPP=y
|
||||
CONFIG_NX_DISABLE_4BPP=y
|
||||
CONFIG_NX_DISABLE_8BPP=y
|
||||
CONFIG_NX_DISABLE_16BPP=n
|
||||
CONFIG_NX_DISABLE_24BPP=y
|
||||
CONFIG_NX_DISABLE_32BPP=y
|
||||
|
||||
CONFIG_NXFONTS_DISABLE_16BPP=n
|
||||
|
||||
CONFIG_NXTERM=y
|
||||
|
||||
CONFIG_EXAMPLES_NSH=y
|
||||
CONFIG_EXAMPLES_NSH_CXXINITIALIZE=y
|
||||
|
||||
CONFIG_EXAMPLES_NXTERM=y
|
Loading…
Reference in New Issue
Block a user