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_IDLE_HOOK
|
2019-09-05 08:33:06 +08:00
|
|
|
#define RT_IDLE_HOOK_LIST_SIZE 4
|
2019-03-27 13:09:19 +08:00
|
|
|
#define IDLE_THREAD_STACK_SIZE 1024
|
2021-12-16 16:23:58 +08:00
|
|
|
|
|
|
|
/* kservice optimization */
|
|
|
|
|
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
|
2021-12-16 16:23:58 +08:00
|
|
|
#define RT_USING_SMALL_MEM_AS_HEAP
|
2018-09-02 18:44:28 +08:00
|
|
|
#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
|
2019-03-27 13:09:19 +08:00
|
|
|
#define RT_CONSOLE_DEVICE_NAME "scia"
|
2022-10-09 11:24:05 +08:00
|
|
|
#define RT_VER_NUM 0x50000
|
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
|
2022-08-30 03:35:23 +08:00
|
|
|
#define RT_USING_USER_MAIN
|
|
|
|
#define RT_MAIN_THREAD_STACK_SIZE 2048
|
|
|
|
#define RT_MAIN_THREAD_PRIORITY 4
|
2021-12-16 16:23:58 +08:00
|
|
|
#define RT_USING_MSH
|
2022-08-21 01:16:41 +08:00
|
|
|
#define RT_USING_FINSH
|
2021-12-16 16:23:58 +08:00
|
|
|
#define FINSH_USING_MSH
|
2019-04-07 18:19:16 +08:00
|
|
|
#define FINSH_THREAD_NAME "tshell"
|
2022-08-21 01:16:41 +08:00
|
|
|
#define FINSH_THREAD_PRIORITY 4
|
2019-04-07 18:19:16 +08:00
|
|
|
#define FINSH_THREAD_STACK_SIZE 4096
|
2021-12-16 16:23:58 +08:00
|
|
|
#define FINSH_USING_HISTORY
|
|
|
|
#define FINSH_HISTORY_LINES 5
|
2022-08-21 01:16:41 +08:00
|
|
|
#define FINSH_USING_SYMTAB
|
2019-04-07 18:19:16 +08:00
|
|
|
#define FINSH_CMD_SIZE 80
|
2021-12-16 16:23:58 +08:00
|
|
|
#define MSH_USING_BUILT_IN_COMMANDS
|
2022-08-21 01:16:41 +08:00
|
|
|
#define FINSH_USING_DESCRIPTION
|
2021-12-16 16:23:58 +08:00
|
|
|
#define FINSH_ARG_MAX 10
|
2018-09-02 18:44:28 +08:00
|
|
|
|
|
|
|
/* Device Drivers */
|
|
|
|
|
|
|
|
#define RT_USING_DEVICE_IPC
|
|
|
|
#define RT_USING_SERIAL
|
2021-12-16 16:23:58 +08:00
|
|
|
#define RT_USING_SERIAL_V1
|
2019-03-27 13:09:19 +08:00
|
|
|
#define RT_SERIAL_RB_BUFSZ 64
|
2018-09-02 18:44:28 +08:00
|
|
|
#define RT_USING_PIN
|
2022-10-15 12:56:00 +08:00
|
|
|
#define RT_USING_ADC
|
2022-09-26 10:41:00 +08:00
|
|
|
#define RT_USING_PWM
|
2018-09-02 18:44:28 +08:00
|
|
|
|
|
|
|
/* Using USB */
|
|
|
|
|
|
|
|
|
2022-08-21 01:16:41 +08:00
|
|
|
/* C/C++ and POSIX layer */
|
2018-09-02 18:44:28 +08:00
|
|
|
|
2021-12-16 16:23:58 +08:00
|
|
|
#define RT_LIBC_DEFAULT_TIMEZONE 8
|
|
|
|
|
|
|
|
/* POSIX (Portable Operating System Interface) layer */
|
|
|
|
|
2018-09-02 18:44:28 +08:00
|
|
|
|
2022-08-21 01:16:41 +08:00
|
|
|
/* Interprocess Communication (IPC) */
|
2018-09-02 18:44:28 +08:00
|
|
|
|
|
|
|
|
2022-08-21 01:16:41 +08:00
|
|
|
/* Socket is in the 'Network' category */
|
2018-09-02 18:44:28 +08:00
|
|
|
|
|
|
|
|
2022-08-21 01:16:41 +08:00
|
|
|
/* Network */
|
2018-09-02 18:44:28 +08:00
|
|
|
|
|
|
|
|
|
|
|
/* Utilities */
|
|
|
|
|
|
|
|
|
2021-12-16 16:23:58 +08:00
|
|
|
/* RT-Thread Utestcases */
|
|
|
|
|
|
|
|
|
2018-09-02 18:44:28 +08:00
|
|
|
/* 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 */
|
|
|
|
|
|
|
|
|
2021-12-16 16:23:58 +08:00
|
|
|
/* miscellaneous packages */
|
|
|
|
|
|
|
|
|
2022-08-21 01:16:41 +08:00
|
|
|
/* samples: kernel and components samples */
|
2021-12-16 16:23:58 +08:00
|
|
|
|
2022-08-30 03:35:23 +08:00
|
|
|
|
2022-10-09 11:24:05 +08:00
|
|
|
/* Hardware Drivers Config */
|
|
|
|
|
|
|
|
/* Onboard Peripheral Drivers */
|
|
|
|
|
|
|
|
/* On-chip Peripheral Drivers */
|
|
|
|
|
|
|
|
#define BSP_USING_GPIO
|
|
|
|
#define BSP_USING_UART
|
|
|
|
#define BSP_USING_UART1
|
2022-10-15 12:56:00 +08:00
|
|
|
#define BSP_USING_ADC
|
|
|
|
#define BSP_USING_ADC1
|
|
|
|
#define BSP_ADC_USING_12BIT
|
|
|
|
#define BSP_USING_ADC2
|
|
|
|
#define BSP_USING_ADC3
|
2022-10-09 11:24:05 +08:00
|
|
|
|
|
|
|
/* Board extended module Drivers */
|
|
|
|
|
2019-03-27 13:09:19 +08:00
|
|
|
#include "rtconfig_project.h"
|
2018-09-02 18:44:28 +08:00
|
|
|
|
|
|
|
#endif
|