2018-09-02 18:44:28 +08:00
|
|
|
#ifndef RT_CONFIG_H__
|
|
|
|
#define RT_CONFIG_H__
|
|
|
|
|
|
|
|
/* Automatically generated file; DO NOT EDIT. */
|
2018-11-18 12:06:52 +08:00
|
|
|
/* RT-Thread Configuration */
|
|
|
|
|
|
|
|
#define SOC_TMS320F28X
|
2018-09-02 18:44:28 +08:00
|
|
|
|
|
|
|
/* RT-Thread Kernel */
|
|
|
|
|
|
|
|
#define RT_NAME_MAX 8
|
|
|
|
#define RT_ALIGN_SIZE 4
|
2018-11-18 12:06:52 +08:00
|
|
|
#define RT_THREAD_PRIORITY_8
|
|
|
|
#define RT_THREAD_PRIORITY_MAX 8
|
2018-09-02 18:44:28 +08:00
|
|
|
#define RT_TICK_PER_SECOND 100
|
2018-11-18 12:06:52 +08:00
|
|
|
#define RT_USING_OVERFLOW_CHECK
|
2018-09-02 18:44:28 +08:00
|
|
|
#define RT_USING_HOOK
|
2018-11-18 12:06:52 +08:00
|
|
|
#define RT_USING_IDLE_HOOK
|
2018-09-02 18:44:28 +08:00
|
|
|
#define RT_IDEL_HOOK_LIST_SIZE 4
|
2018-11-18 12:06:52 +08:00
|
|
|
#define IDLE_THREAD_STACK_SIZE 256
|
2018-09-02 18:44:28 +08:00
|
|
|
#define RT_DEBUG
|
2019-03-06 17:07:15 +08:00
|
|
|
#define RT_DEBUG_COLOR
|
2018-09-02 18:44:28 +08:00
|
|
|
|
|
|
|
/* Inter-Thread communication */
|
|
|
|
|
|
|
|
#define RT_USING_SEMAPHORE
|
|
|
|
#define RT_USING_MUTEX
|
|
|
|
#define RT_USING_EVENT
|
|
|
|
#define RT_USING_MAILBOX
|
|
|
|
#define RT_USING_MESSAGEQUEUE
|
|
|
|
|
|
|
|
/* Memory Management */
|
|
|
|
|
|
|
|
#define RT_USING_MEMPOOL
|
|
|
|
#define RT_USING_SMALL_MEM
|
|
|
|
#define RT_USING_HEAP
|
|
|
|
|
|
|
|
/* Kernel Device Object */
|
|
|
|
|
|
|
|
#define RT_USING_DEVICE
|
2018-11-18 12:06:52 +08:00
|
|
|
#define RT_USING_CONSOLE
|
2018-09-02 18:44:28 +08:00
|
|
|
#define RT_CONSOLEBUF_SIZE 128
|
2018-11-18 12:06:52 +08:00
|
|
|
#define RT_CONSOLE_DEVICE_NAME "uart"
|
2018-11-24 17:41:55 +08:00
|
|
|
#define ARCH_TIDSP
|
|
|
|
#define ARCH_TIDSP_C28X
|
2018-11-18 12:06:52 +08:00
|
|
|
#define ARCH_CPU_STACK_GROWS_UPWARD
|
2018-09-02 18:44:28 +08:00
|
|
|
|
|
|
|
/* RT-Thread Components */
|
|
|
|
|
|
|
|
#define RT_USING_COMPONENTS_INIT
|
|
|
|
|
|
|
|
/* C++ features */
|
|
|
|
|
|
|
|
|
|
|
|
/* Command shell */
|
|
|
|
|
|
|
|
|
|
|
|
/* Device virtual file system */
|
|
|
|
|
2018-11-18 12:06:52 +08:00
|
|
|
#define RT_USING_DFS
|
|
|
|
#define DFS_USING_WORKDIR
|
|
|
|
#define DFS_FILESYSTEMS_MAX 2
|
|
|
|
#define DFS_FILESYSTEM_TYPES_MAX 2
|
|
|
|
#define DFS_FD_MAX 16
|
|
|
|
#define RT_USING_DFS_DEVFS
|
2018-09-02 18:44:28 +08:00
|
|
|
|
|
|
|
/* Device Drivers */
|
|
|
|
|
|
|
|
#define RT_USING_DEVICE_IPC
|
|
|
|
#define RT_PIPE_BUFSZ 512
|
|
|
|
#define RT_USING_SERIAL
|
2018-12-17 09:35:24 +08:00
|
|
|
#define RT_SERIAL_USING_DMA
|
2018-09-02 18:44:28 +08:00
|
|
|
#define RT_USING_PIN
|
|
|
|
|
2018-11-18 12:06:52 +08:00
|
|
|
/* Using WiFi */
|
|
|
|
|
|
|
|
|
2018-09-02 18:44:28 +08:00
|
|
|
/* Using USB */
|
|
|
|
|
|
|
|
|
|
|
|
/* POSIX layer and C standard library */
|
|
|
|
|
|
|
|
|
|
|
|
/* Network */
|
|
|
|
|
|
|
|
/* Socket abstraction layer */
|
|
|
|
|
|
|
|
|
|
|
|
/* light weight TCP/IP stack */
|
|
|
|
|
|
|
|
|
2018-11-18 12:06:52 +08:00
|
|
|
/* Modbus master and slave stack */
|
2018-09-02 18:44:28 +08:00
|
|
|
|
|
|
|
|
2018-11-18 12:06:52 +08:00
|
|
|
/* AT commands */
|
2018-09-02 18:44:28 +08:00
|
|
|
|
|
|
|
|
|
|
|
/* VBUS(Virtual Software BUS) */
|
|
|
|
|
|
|
|
|
|
|
|
/* Utilities */
|
|
|
|
|
|
|
|
|
|
|
|
/* RT-Thread online packages */
|
|
|
|
|
|
|
|
/* IoT - internet of things */
|
|
|
|
|
|
|
|
|
|
|
|
/* Wi-Fi */
|
|
|
|
|
|
|
|
/* Marvell WiFi */
|
|
|
|
|
|
|
|
|
|
|
|
/* Wiced WiFi */
|
|
|
|
|
|
|
|
|
2018-11-18 12:06:52 +08:00
|
|
|
/* IoT Cloud */
|
|
|
|
|
|
|
|
|
2018-09-02 18:44:28 +08:00
|
|
|
/* security packages */
|
|
|
|
|
|
|
|
|
|
|
|
/* language packages */
|
|
|
|
|
|
|
|
|
|
|
|
/* multimedia packages */
|
|
|
|
|
|
|
|
|
|
|
|
/* tools packages */
|
|
|
|
|
|
|
|
|
|
|
|
/* system packages */
|
|
|
|
|
|
|
|
|
|
|
|
/* peripheral libraries and drivers */
|
|
|
|
|
|
|
|
|
|
|
|
/* miscellaneous packages */
|
|
|
|
|
|
|
|
|
|
|
|
/* sample package */
|
|
|
|
|
2018-11-18 12:06:52 +08:00
|
|
|
/* samples: kernel and components samples */
|
|
|
|
|
2018-09-02 18:44:28 +08:00
|
|
|
|
|
|
|
/* example package: hello */
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|