2017-11-15 21:14:09 +08:00
|
|
|
#ifndef RT_CONFIG_H__
|
|
|
|
#define RT_CONFIG_H__
|
2017-10-20 14:52:36 +08:00
|
|
|
|
2017-11-15 21:14:09 +08:00
|
|
|
/* Automatically generated file; DO NOT EDIT. */
|
|
|
|
/* RT-Thread Configuration */
|
2017-10-20 14:52:36 +08:00
|
|
|
|
2017-11-15 21:14:09 +08:00
|
|
|
/* RT-Thread Kernel */
|
2017-10-20 14:52:36 +08:00
|
|
|
|
2017-11-15 21:14:09 +08:00
|
|
|
#define RT_NAME_MAX 8
|
|
|
|
#define RT_ALIGN_SIZE 4
|
|
|
|
/* RT_THREAD_PRIORITY_8 is not set */
|
|
|
|
#define RT_THREAD_PRIORITY_32
|
|
|
|
/* RT_THREAD_PRIORITY_256 is not set */
|
|
|
|
#define RT_THREAD_PRIORITY_MAX 32
|
|
|
|
#define RT_TICK_PER_SECOND 100
|
2017-10-20 14:52:36 +08:00
|
|
|
#define RT_DEBUG
|
2019-03-06 17:07:15 +08:00
|
|
|
#define RT_DEBUG_COLOR
|
2017-10-20 14:52:36 +08:00
|
|
|
#define RT_USING_OVERFLOW_CHECK
|
2017-11-15 21:14:09 +08:00
|
|
|
#define RT_DEBUG_INIT 0
|
|
|
|
#define RT_DEBUG_THREAD 0
|
2017-10-20 14:52:36 +08:00
|
|
|
#define RT_USING_HOOK
|
2017-11-15 21:14:09 +08:00
|
|
|
#define IDLE_THREAD_STACK_SIZE 256
|
|
|
|
/* RT_USING_TIMER_SOFT is not set */
|
2017-10-20 14:52:36 +08:00
|
|
|
|
2017-11-15 21:14:09 +08:00
|
|
|
/* Inter-Thread communication */
|
2017-10-20 14:52:36 +08:00
|
|
|
|
|
|
|
#define RT_USING_SEMAPHORE
|
|
|
|
#define RT_USING_MUTEX
|
|
|
|
#define RT_USING_EVENT
|
|
|
|
#define RT_USING_MAILBOX
|
|
|
|
#define RT_USING_MESSAGEQUEUE
|
2017-11-15 21:14:09 +08:00
|
|
|
/* RT_USING_SIGNALS is not set */
|
2017-10-20 14:52:36 +08:00
|
|
|
|
2017-11-15 21:14:09 +08:00
|
|
|
/* Memory Management */
|
2017-10-20 14:52:36 +08:00
|
|
|
|
2017-11-15 21:14:09 +08:00
|
|
|
#define RT_USING_MEMPOOL
|
|
|
|
#define RT_USING_MEMHEAP
|
|
|
|
/* RT_USING_NOHEAP is not set */
|
2017-10-20 14:52:36 +08:00
|
|
|
#define RT_USING_SMALL_MEM
|
2017-11-15 21:14:09 +08:00
|
|
|
/* RT_USING_SLAB is not set */
|
|
|
|
/* RT_USING_MEMHEAP_AS_HEAP is not set */
|
2018-02-01 14:23:26 +08:00
|
|
|
/* RT_USING_MEMTRACE is not set */
|
2017-11-15 21:14:09 +08:00
|
|
|
#define RT_USING_HEAP
|
2017-10-20 14:52:36 +08:00
|
|
|
|
2017-11-15 21:14:09 +08:00
|
|
|
/* Kernel Device Object */
|
2017-10-20 14:52:36 +08:00
|
|
|
|
|
|
|
#define RT_USING_DEVICE
|
2017-11-15 21:14:09 +08:00
|
|
|
/* RT_USING_INTERRUPT_INFO is not set */
|
|
|
|
#define RT_USING_CONSOLE
|
|
|
|
#define RT_CONSOLEBUF_SIZE 128
|
2018-02-01 14:23:26 +08:00
|
|
|
#define RT_CONSOLE_DEVICE_NAME "uart1"
|
2017-11-15 21:14:09 +08:00
|
|
|
/* RT_USING_MODULE is not set */
|
2017-10-20 14:52:36 +08:00
|
|
|
|
2017-11-15 21:14:09 +08:00
|
|
|
/* RT-Thread Components */
|
2017-10-20 14:52:36 +08:00
|
|
|
|
2017-11-15 21:14:09 +08:00
|
|
|
#define RT_USING_COMPONENTS_INIT
|
|
|
|
#define RT_USING_USER_MAIN
|
2017-10-20 14:52:36 +08:00
|
|
|
|
2017-11-15 21:14:09 +08:00
|
|
|
/* C++ features */
|
2017-10-20 14:52:36 +08:00
|
|
|
|
2017-11-15 21:14:09 +08:00
|
|
|
/* RT_USING_CPLUSPLUS is not set */
|
2017-10-20 14:52:36 +08:00
|
|
|
|
2017-11-15 21:14:09 +08:00
|
|
|
/* Command shell */
|
|
|
|
|
|
|
|
#define RT_USING_FINSH
|
2018-02-01 14:23:26 +08:00
|
|
|
#define FINSH_THREAD_NAME "tshell"
|
2017-11-15 21:14:09 +08:00
|
|
|
#define FINSH_USING_HISTORY
|
2018-02-01 14:23:26 +08:00
|
|
|
#define FINSH_HISTORY_LINES 5
|
2017-11-15 21:14:09 +08:00
|
|
|
#define FINSH_USING_SYMTAB
|
|
|
|
#define FINSH_USING_DESCRIPTION
|
|
|
|
#define FINSH_THREAD_PRIORITY 20
|
|
|
|
#define FINSH_THREAD_STACK_SIZE 4096
|
|
|
|
#define FINSH_CMD_SIZE 80
|
|
|
|
/* FINSH_USING_AUTH is not set */
|
|
|
|
#define FINSH_USING_MSH
|
|
|
|
#define FINSH_USING_MSH_DEFAULT
|
|
|
|
#define FINSH_USING_MSH_ONLY
|
|
|
|
|
|
|
|
/* Device virtual file system */
|
2017-10-20 14:52:36 +08:00
|
|
|
|
2017-11-15 21:14:09 +08:00
|
|
|
/* RT_USING_DFS is not set */
|
|
|
|
|
|
|
|
/* Device Drivers */
|
|
|
|
|
|
|
|
#define RT_USING_DEVICE_IPC
|
|
|
|
#define RT_USING_SERIAL
|
2018-12-17 09:35:24 +08:00
|
|
|
#define RT_SERIAL_USING_DMA
|
2017-11-15 21:14:09 +08:00
|
|
|
/* RT_USING_CAN is not set */
|
|
|
|
/* RT_USING_HWTIMER is not set */
|
2018-02-01 14:23:26 +08:00
|
|
|
/* RT_USING_CPUTIME is not set */
|
2017-11-15 21:14:09 +08:00
|
|
|
/* RT_USING_I2C is not set */
|
2017-10-20 14:52:36 +08:00
|
|
|
#define RT_USING_PIN
|
2017-11-15 21:14:09 +08:00
|
|
|
/* 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 */
|
2018-02-01 14:23:26 +08:00
|
|
|
/* RT_USING_WIFI is not set */
|
2017-11-17 12:21:45 +08:00
|
|
|
|
|
|
|
/* Using USB */
|
|
|
|
|
2017-11-15 21:14:09 +08:00
|
|
|
/* RT_USING_USB_HOST is not set */
|
|
|
|
/* RT_USING_USB_DEVICE is not set */
|
2017-10-20 14:52:36 +08:00
|
|
|
|
2017-11-15 21:14:09 +08:00
|
|
|
/* POSIX layer and C standard library */
|
2017-10-20 14:52:36 +08:00
|
|
|
|
2018-02-01 14:23:26 +08:00
|
|
|
#define RT_USING_LIBC
|
2017-11-15 21:14:09 +08:00
|
|
|
/* RT_USING_PTHREADS is not set */
|
2017-10-20 14:52:36 +08:00
|
|
|
|
2017-11-15 21:14:09 +08:00
|
|
|
/* Network stack */
|
2017-10-20 14:52:36 +08:00
|
|
|
|
2017-11-15 21:14:09 +08:00
|
|
|
/* light weight TCP/IP stack */
|
2017-10-20 14:52:36 +08:00
|
|
|
|
2017-11-15 21:14:09 +08:00
|
|
|
/* RT_USING_LWIP is not set */
|
2017-10-20 14:52:36 +08:00
|
|
|
|
2017-11-15 21:14:09 +08:00
|
|
|
/* Modbus master and slave stack */
|
|
|
|
|
|
|
|
/* RT_USING_MODBUS is not set */
|
|
|
|
|
|
|
|
/* RT-Thread UI Engine */
|
|
|
|
|
2018-03-03 16:34:01 +08:00
|
|
|
/* PKG_USING_GUIENGINE is not set */
|
2017-11-15 21:14:09 +08:00
|
|
|
|
|
|
|
/* VBUS(Virtual Software BUS) */
|
|
|
|
|
|
|
|
/* RT_USING_VBUS is not set */
|
|
|
|
|
2018-02-01 14:23:26 +08:00
|
|
|
/* Utilities */
|
|
|
|
|
|
|
|
/* RT_USING_LOGTRACE is not set */
|
|
|
|
/* RT_USING_RYM is not set */
|
|
|
|
|
2017-11-15 21:14:09 +08:00
|
|
|
/* RT-Thread online packages */
|
|
|
|
|
|
|
|
/* system packages */
|
|
|
|
|
|
|
|
/* PKG_USING_PARTITION is not set */
|
|
|
|
/* PKG_USING_SQLITE is not set */
|
2018-02-01 14:23:26 +08:00
|
|
|
/* PKG_USING_RTI is not set */
|
2017-11-15 21:14:09 +08:00
|
|
|
|
|
|
|
/* IoT - internet of things */
|
|
|
|
|
|
|
|
/* PKG_USING_PAHOMQTT is not set */
|
|
|
|
/* PKG_USING_WEBCLIENT is not set */
|
|
|
|
/* PKG_USING_MONGOOSE is not set */
|
|
|
|
/* PKG_USING_WEBTERMINAL is not set */
|
2018-02-01 14:23:26 +08:00
|
|
|
/* PKG_USING_CJSON is not set */
|
|
|
|
/* PKG_USING_LJSON is not set */
|
|
|
|
/* PKG_USING_EZXML is not set */
|
|
|
|
/* PKG_USING_NANOPB is not set */
|
|
|
|
/* PKG_USING_GAGENT_CLOUD is not set */
|
|
|
|
|
|
|
|
/* Wi-Fi */
|
|
|
|
|
|
|
|
/* Marvell WiFi */
|
|
|
|
|
|
|
|
/* PKG_USING_WLANMARVELL is not set */
|
|
|
|
|
|
|
|
/* Wiced WiFi */
|
|
|
|
|
|
|
|
/* PKG_USING_WLAN_WICED is not set */
|
|
|
|
/* PKG_USING_COAP is not set */
|
|
|
|
/* PKG_USING_NOPOLL is not set */
|
2017-11-15 21:14:09 +08:00
|
|
|
|
|
|
|
/* security packages */
|
|
|
|
|
|
|
|
/* PKG_USING_MBEDTLS is not set */
|
2018-02-01 14:23:26 +08:00
|
|
|
/* PKG_USING_libsodium is not set */
|
|
|
|
/* PKG_USING_TINYCRYPT is not set */
|
2017-11-15 21:14:09 +08:00
|
|
|
|
|
|
|
/* language packages */
|
|
|
|
|
|
|
|
/* PKG_USING_JERRYSCRIPT is not set */
|
2018-02-01 14:23:26 +08:00
|
|
|
/* PKG_USING_MICROPYTHON is not set */
|
2017-11-15 21:14:09 +08:00
|
|
|
|
|
|
|
/* multimedia packages */
|
|
|
|
|
2018-02-01 14:23:26 +08:00
|
|
|
/* PKG_USING_OPENMV is not set */
|
|
|
|
|
2017-11-15 21:14:09 +08:00
|
|
|
/* tools packages */
|
|
|
|
|
|
|
|
/* PKG_USING_CMBACKTRACE is not set */
|
|
|
|
/* PKG_USING_EASYLOGGER is not set */
|
2018-02-01 14:23:26 +08:00
|
|
|
/* PKG_USING_SYSTEMVIEW is not set */
|
|
|
|
/* PKG_USING_IPERF is not set */
|
2017-11-15 21:14:09 +08:00
|
|
|
|
|
|
|
/* miscellaneous packages */
|
2017-10-20 14:52:36 +08:00
|
|
|
|
2018-02-01 14:23:26 +08:00
|
|
|
/* PKG_USING_FASTLZ is not set */
|
|
|
|
/* PKG_USING_MINILZO is not set */
|
|
|
|
|
|
|
|
/* example package: hello */
|
|
|
|
|
2017-11-15 21:14:09 +08:00
|
|
|
/* PKG_USING_HELLO is not set */
|
2017-11-17 12:21:45 +08:00
|
|
|
/* STM32F100RC is not set */
|
|
|
|
/* STM32F100RD is not set */
|
|
|
|
/* STM32F100RE is not set */
|
|
|
|
/* STM32F100VC is not set */
|
|
|
|
/* STM32F100VD is not set */
|
|
|
|
/* STM32F100VE is not set */
|
|
|
|
/* STM32F100ZC is not set */
|
|
|
|
/* STM32F100ZD is not set */
|
|
|
|
/* STM32F100ZE is not set */
|
|
|
|
/* STM32F101CB is not set */
|
|
|
|
/* STM32F101RB is not set */
|
|
|
|
/* STM32F101RC is not set */
|
|
|
|
/* STM32F101RD is not set */
|
|
|
|
/* STM32F101RE is not set */
|
|
|
|
/* STM32F101RF is not set */
|
|
|
|
/* STM32F101RG is not set */
|
|
|
|
/* STM32F101TB is not set */
|
|
|
|
/* STM32F101VB is not set */
|
|
|
|
/* STM32F101VC is not set */
|
|
|
|
/* STM32F101VD is not set */
|
|
|
|
/* STM32F101VE is not set */
|
|
|
|
/* STM32F101VF is not set */
|
|
|
|
/* STM32F101VG is not set */
|
|
|
|
/* STM32F101ZC is not set */
|
|
|
|
/* STM32F101ZD is not set */
|
|
|
|
/* STM32F101ZE is not set */
|
|
|
|
/* STM32F101ZF is not set */
|
|
|
|
/* STM32F101ZG is not set */
|
|
|
|
/* STM32F102CB is not set */
|
|
|
|
/* STM32F102RB is not set */
|
|
|
|
/* STM32F103C8 is not set */
|
|
|
|
/* STM32F103CB is not set */
|
|
|
|
/* STM32F103R8 is not set */
|
2018-02-01 14:23:26 +08:00
|
|
|
/* STM32F103RB is not set */
|
|
|
|
#define STM32F103RC
|
2017-11-17 12:21:45 +08:00
|
|
|
/* STM32F103RD is not set */
|
|
|
|
/* STM32F103RE is not set */
|
|
|
|
/* STM32F103RF is not set */
|
|
|
|
/* STM32F103RG is not set */
|
|
|
|
/* STM32F103T8 is not set */
|
|
|
|
/* STM32F103TB is not set */
|
|
|
|
/* STM32F103V8 is not set */
|
|
|
|
/* STM32F103VB is not set */
|
|
|
|
/* STM32F103VC is not set */
|
|
|
|
/* STM32F103VD is not set */
|
|
|
|
/* STM32F103VE is not set */
|
|
|
|
/* STM32F103VF is not set */
|
|
|
|
/* STM32F103VG is not set */
|
|
|
|
/* STM32F103ZC is not set */
|
|
|
|
/* STM32F103ZD is not set */
|
|
|
|
/* STM32F103ZE is not set */
|
|
|
|
/* STM32F103ZF is not set */
|
|
|
|
/* STM32F103ZG is not set */
|
|
|
|
/* STM32F105R8 is not set */
|
|
|
|
/* STM32F105RB is not set */
|
|
|
|
/* STM32F105RC is not set */
|
|
|
|
/* STM32F105V8 is not set */
|
|
|
|
/* STM32F105VB is not set */
|
|
|
|
/* STM32F105VC is not set */
|
|
|
|
/* STM32F107RB is not set */
|
|
|
|
/* STM32F107RC is not set */
|
|
|
|
/* STM32F107VB is not set */
|
|
|
|
/* STM32F107VC is not set */
|
|
|
|
/* RT_USING_HSI is not set */
|
|
|
|
#define RT_HSE_VALUE 8000000
|
2018-02-01 14:23:26 +08:00
|
|
|
#define RT_USING_UART1
|
|
|
|
/* RT_USING_UART2 is not set */
|
2017-11-15 21:14:09 +08:00
|
|
|
/* RT_USING_UART3 is not set */
|
2018-02-01 14:23:26 +08:00
|
|
|
/* RT_USING_SDCARD is not set */
|
2017-10-20 14:52:36 +08:00
|
|
|
|
|
|
|
#endif
|