diff options
| author | Bernard Xiong <[email protected]> | 2017-11-06 20:13:20 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2017-11-06 20:13:20 +0800 |
| commit | 6b1911e4f4cbde2df51e1c7ced10f0f080dc8e84 (patch) | |
| tree | 0c55ed46e0ac9e131a42640d3974a8c81de29167 /bsp/qemu-vexpress-a9/rtconfig.h | |
| parent | 6ccebe19d59bb002bef8ec8fcd201a32be7651c6 (diff) | |
[BSP] Enable more options in qemu-vexpress-a9 for test.v3.0.0
Diffstat (limited to 'bsp/qemu-vexpress-a9/rtconfig.h')
| -rw-r--r-- | bsp/qemu-vexpress-a9/rtconfig.h | 104 |
1 files changed, 89 insertions, 15 deletions
diff --git a/bsp/qemu-vexpress-a9/rtconfig.h b/bsp/qemu-vexpress-a9/rtconfig.h index 781f917a91..b2c5cab645 100644 --- a/bsp/qemu-vexpress-a9/rtconfig.h +++ b/bsp/qemu-vexpress-a9/rtconfig.h @@ -12,8 +12,8 @@ #define RT_TICK_PER_SECOND 100 #define RT_DEBUG #define RT_USING_OVERFLOW_CHECK -#define RT_DEBUG_INIT 1 -/* RT_DEBUG_THREAD is not set */ +#define RT_DEBUG_INIT 0 +#define RT_DEBUG_THREAD 0 #define RT_USING_HOOK #define IDLE_THREAD_STACK_SIZE 256 /* RT_USING_TIMER_SOFT is not set */ @@ -25,7 +25,7 @@ #define RT_USING_EVENT #define RT_USING_MAILBOX #define RT_USING_MESSAGEQUEUE -/* RT_USING_SIGNALS is not set */ +#define RT_USING_SIGNALS /* Memory Management */ @@ -38,6 +38,7 @@ /* Kernel Device Object */ #define RT_USING_DEVICE +#define RT_USING_INTERRUPT_INFO #define RT_USING_CONSOLE #define RT_CONSOLEBUF_SIZE 128 #define RT_CONSOLE_DEVICE_NAME "uart0" @@ -73,6 +74,9 @@ #define DFS_FILESYSTEMS_MAX 2 #define DFS_FD_MAX 4 #define RT_USING_DFS_ELMFAT + +/* elm-chan's FatFs, Generic FAT Filesystem Module */ + #define RT_DFS_ELM_CODE_PAGE 437 #define RT_DFS_ELM_WORD_ACCESS #define RT_DFS_ELM_USE_LFN_0 @@ -86,7 +90,13 @@ /* RT_DFS_ELM_USE_ERASE is not set */ #define RT_DFS_ELM_REENTRANT #define RT_USING_DFS_DEVFS -/* RT_USING_DFS_NET is not set */ +#define RT_USING_DFS_NET +#define HAVE_SYS_SELECT_H +/* HAVE_SYS_SOCKET_H is not set */ +#define RT_USING_DFS_ROMFS +#define RT_USING_DFS_RAMFS +/* RT_USING_DFS_UFFS is not set */ +/* RT_USING_DFS_NFS is not set */ /* Device Drivers */ @@ -94,14 +104,24 @@ #define RT_USING_SERIAL /* RT_USING_CAN is not set */ /* RT_USING_HWTIMER is not set */ -/* RT_USING_I2C is not set */ +#define RT_USING_I2C +#define RT_USING_I2C_BITOPS #define RT_USING_PIN -/* RT_USING_MTD_NOR is not set */ -/* RT_USING_MTD_NAND is not set */ -/* RT_USING_RTC is not set */ -/* RT_USING_SDIO is not set */ -/* RT_USING_SPI is not set */ -/* RT_USING_WDT is not set */ +#define RT_USING_MTD_NOR +#define RT_USING_MTD_NAND +#define RT_MTD_NAND_DEBUG +#define RT_USING_RTC +#define RT_USING_SDIO +#define RT_USING_SPI +#define RT_USING_SFUD +#define RT_SFUD_USING_SFDP +#define RT_SFUD_USING_FLASH_INFO_TABLE +/* RT_SFUD_DEBUG is not set */ +/* RT_USING_W25QXX is not set */ +/* RT_USING_GD is not set */ +/* RT_USING_ENC28J60 is not set */ +/* RT_USING_SPI_WIFI is not set */ +#define RT_USING_WDT /* RT_USING_USB_HOST is not set */ /* RT_USING_USB_DEVICE is not set */ @@ -117,26 +137,75 @@ /* light weight TCP/IP stack */ -/* RT_USING_LWIP is not set */ +#define RT_USING_LWIP +/* RT_USING_LWIP141 is not set */ +#define RT_USING_LWIP202 +/* RT_LWIP_IGMP is not set */ +#define RT_LWIP_ICMP +/* RT_LWIP_SNMP is not set */ +#define RT_LWIP_DNS +#define RT_LWIP_DHCP +#define IP_SOF_BROADCAST 1 +#define IP_SOF_BROADCAST_RECV 1 +/* LWIP_USING_DHCPD is not set */ + +/* Static IPv4 Address */ + +#define RT_LWIP_IPADDR "192.168.1.30" +#define RT_LWIP_GWADDR "192.168.1.1" +#define RT_LWIP_MSKADDR "255.255.255.0" +#define RT_LWIP_UDP +#define RT_LWIP_TCP +/* RT_LWIP_RAW is not set */ +/* RT_LWIP_PPP is not set */ +/* RT_LWIP_PPPOE is not set */ +/* RT_LWIP_PPPOS is not set */ +#define RT_LWIP_PBUF_NUM 16 +#define RT_LWIP_RAW_PCB_NUM 4 +#define RT_LWIP_UDP_PCB_NUM 4 +#define RT_LWIP_TCP_PCB_NUM 4 +#define RT_LWIP_TCP_SEG_NUM 40 +#define RT_LWIP_TCP_SND_BUF 8196 +#define RT_LWIP_TCP_WND 8196 +#define RT_LWIP_TCPTHREAD_PRIORITY 10 +#define RT_LWIP_TCPTHREAD_MBOX_SIZE 8 +#define RT_LWIP_TCPTHREAD_STACKSIZE 1024 +#define RT_LWIP_ETHTHREAD_PRIORITY 12 +#define RT_LWIP_ETHTHREAD_STACKSIZE 1024 +#define RT_LWIP_ETHTHREAD_MBOX_SIZE 8 +/* RT_LWIP_REASSEMBLY_FRAG is not set */ +#define LWIP_NETIF_STATUS_CALLBACK 1 +#define SO_REUSE 1 +#define LWIP_SO_RCVTIMEO 1 +#define LWIP_SO_SNDTIMEO 1 +#define LWIP_SO_RCVBUF 1 /* Modbus master and slave stack */ /* RT_USING_MODBUS is not set */ +/* RT_USING_NETUTILS is not set */ /* RT-Thread UI Engine */ #define RT_USING_GUIENGINE #define RTGUI_NAME_MAX 16 -/* RTGUI_USING_TTF is not set */ +#define RTGUI_USING_TTF #define RTGUI_USING_FONT16 #define RTGUI_USING_FONT12 /* RTGUI_USING_FONTHZ is not set */ /* RTGUI_IMAGE_XPM is not set */ +/* RTGUI_IMAGE_JPEG_NONE is not set */ /* RTGUI_IMAGE_JPEG is not set */ -/* RTGUI_IMAGE_TJPGD is not set */ +#define RTGUI_IMAGE_TJPGD +/* RTGUI_IMAGE_PNG_NONE is not set */ /* RTGUI_IMAGE_PNG is not set */ -/* RTGUI_IMAGE_LODEPNG is not set */ +#define RTGUI_IMAGE_LODEPNG /* RTGUI_IMAGE_BMP is not set */ +#define RTGUI_IMAGE_CONTAINER + +/* VBUS(Virtual Software BUS) */ + +/* RT_USING_VBUS is not set */ /* RT-Thread online packages */ @@ -154,6 +223,10 @@ /* PKG_USING_CJSON is not set */ /* PKG_USING_EZXML is not set */ +/* Marvell WiFi */ + +/* PKG_USING_MARVELLWIFI is not set */ + /* security packages */ /* PKG_USING_MBEDTLS is not set */ @@ -175,5 +248,6 @@ #define RT_USING_UART0 #define RT_USING_UART1 #define BSP_DRV_CLCD +#define BSP_DRV_EMAC #endif |
