|
@@ -1,8 +1,7 @@
|
|
#ifndef RT_CONFIG_H__
|
|
#ifndef RT_CONFIG_H__
|
|
#define RT_CONFIG_H__
|
|
#define RT_CONFIG_H__
|
|
|
|
|
|
-/* Automatically generated file; DO NOT EDIT. */
|
|
|
|
-/* RT-Thread Configuration */
|
|
|
|
|
|
+/* Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib) */
|
|
|
|
|
|
/* RT-Thread Kernel */
|
|
/* RT-Thread Kernel */
|
|
|
|
|
|
@@ -19,6 +18,7 @@
|
|
|
|
|
|
/* kservice optimization */
|
|
/* kservice optimization */
|
|
|
|
|
|
|
|
+/* end of kservice optimization */
|
|
#define RT_DEBUG
|
|
#define RT_DEBUG
|
|
#define RT_DEBUG_COLOR
|
|
#define RT_DEBUG_COLOR
|
|
|
|
|
|
@@ -29,6 +29,7 @@
|
|
#define RT_USING_EVENT
|
|
#define RT_USING_EVENT
|
|
#define RT_USING_MAILBOX
|
|
#define RT_USING_MAILBOX
|
|
#define RT_USING_MESSAGEQUEUE
|
|
#define RT_USING_MESSAGEQUEUE
|
|
|
|
+/* end of Inter-Thread communication */
|
|
|
|
|
|
/* Memory Management */
|
|
/* Memory Management */
|
|
|
|
|
|
@@ -36,6 +37,7 @@
|
|
#define RT_USING_SMALL_MEM
|
|
#define RT_USING_SMALL_MEM
|
|
#define RT_USING_SMALL_MEM_AS_HEAP
|
|
#define RT_USING_SMALL_MEM_AS_HEAP
|
|
#define RT_USING_HEAP
|
|
#define RT_USING_HEAP
|
|
|
|
+/* end of Memory Management */
|
|
|
|
|
|
/* Kernel Device Object */
|
|
/* Kernel Device Object */
|
|
|
|
|
|
@@ -43,7 +45,9 @@
|
|
#define RT_USING_CONSOLE
|
|
#define RT_USING_CONSOLE
|
|
#define RT_CONSOLEBUF_SIZE 128
|
|
#define RT_CONSOLEBUF_SIZE 128
|
|
#define RT_CONSOLE_DEVICE_NAME "uart1"
|
|
#define RT_CONSOLE_DEVICE_NAME "uart1"
|
|
|
|
+/* end of Kernel Device Object */
|
|
#define RT_VER_NUM 0x40100
|
|
#define RT_VER_NUM 0x40100
|
|
|
|
+/* end of RT-Thread Kernel */
|
|
#define ARCH_ARM
|
|
#define ARCH_ARM
|
|
#define RT_USING_CPU_FFS
|
|
#define RT_USING_CPU_FFS
|
|
#define ARCH_ARM_CORTEX_M
|
|
#define ARCH_ARM_CORTEX_M
|
|
@@ -58,6 +62,7 @@
|
|
|
|
|
|
/* C++ features */
|
|
/* C++ features */
|
|
|
|
|
|
|
|
+/* end of C++ features */
|
|
|
|
|
|
/* Command shell */
|
|
/* Command shell */
|
|
|
|
|
|
@@ -74,26 +79,25 @@
|
|
#define MSH_USING_BUILT_IN_COMMANDS
|
|
#define MSH_USING_BUILT_IN_COMMANDS
|
|
#define FINSH_USING_DESCRIPTION
|
|
#define FINSH_USING_DESCRIPTION
|
|
#define FINSH_ARG_MAX 10
|
|
#define FINSH_ARG_MAX 10
|
|
|
|
+/* end of Command shell */
|
|
|
|
|
|
/* Device virtual file system */
|
|
/* Device virtual file system */
|
|
|
|
|
|
|
|
+/* end of Device virtual file system */
|
|
|
|
|
|
/* Device Drivers */
|
|
/* Device Drivers */
|
|
|
|
|
|
#define RT_USING_DEVICE_IPC
|
|
#define RT_USING_DEVICE_IPC
|
|
-#define RT_USING_SYSTEM_WORKQUEUE
|
|
|
|
-#define RT_SYSTEM_WORKQUEUE_STACKSIZE 2048
|
|
|
|
-#define RT_SYSTEM_WORKQUEUE_PRIORITY 23
|
|
|
|
#define RT_USING_SERIAL
|
|
#define RT_USING_SERIAL
|
|
#define RT_USING_SERIAL_V1
|
|
#define RT_USING_SERIAL_V1
|
|
#define RT_SERIAL_USING_DMA
|
|
#define RT_SERIAL_USING_DMA
|
|
#define RT_SERIAL_RB_BUFSZ 64
|
|
#define RT_SERIAL_RB_BUFSZ 64
|
|
-#define RT_USING_I2C
|
|
|
|
-#define RT_USING_I2C_BITOPS
|
|
|
|
#define RT_USING_PIN
|
|
#define RT_USING_PIN
|
|
|
|
|
|
/* Using USB */
|
|
/* Using USB */
|
|
|
|
|
|
|
|
+/* end of Using USB */
|
|
|
|
+/* end of Device Drivers */
|
|
|
|
|
|
/* POSIX layer and C standard library */
|
|
/* POSIX layer and C standard library */
|
|
|
|
|
|
@@ -108,28 +112,41 @@
|
|
|
|
|
|
/* Socket is in the 'Network' category */
|
|
/* Socket is in the 'Network' category */
|
|
|
|
|
|
|
|
+/* end of Interprocess Communication (IPC) */
|
|
|
|
+/* end of POSIX (Portable Operating System Interface) layer */
|
|
|
|
+/* end of POSIX layer and C standard library */
|
|
|
|
+
|
|
/* Network */
|
|
/* Network */
|
|
|
|
|
|
/* Socket abstraction layer */
|
|
/* Socket abstraction layer */
|
|
|
|
|
|
|
|
+/* end of Socket abstraction layer */
|
|
|
|
|
|
/* Network interface device */
|
|
/* Network interface device */
|
|
|
|
|
|
|
|
+/* end of Network interface device */
|
|
|
|
|
|
/* light weight TCP/IP stack */
|
|
/* light weight TCP/IP stack */
|
|
|
|
|
|
|
|
+/* end of light weight TCP/IP stack */
|
|
|
|
|
|
/* AT commands */
|
|
/* AT commands */
|
|
|
|
|
|
|
|
+/* end of AT commands */
|
|
|
|
+/* end of Network */
|
|
|
|
|
|
/* VBUS(Virtual Software BUS) */
|
|
/* VBUS(Virtual Software BUS) */
|
|
|
|
|
|
|
|
+/* end of VBUS(Virtual Software BUS) */
|
|
|
|
|
|
/* Utilities */
|
|
/* Utilities */
|
|
|
|
|
|
|
|
+/* end of Utilities */
|
|
|
|
+/* end of RT-Thread Components */
|
|
|
|
|
|
/* RT-Thread Utestcases */
|
|
/* RT-Thread Utestcases */
|
|
|
|
|
|
|
|
+/* end of RT-Thread Utestcases */
|
|
|
|
|
|
/* RT-Thread online packages */
|
|
/* RT-Thread online packages */
|
|
|
|
|
|
@@ -140,72 +157,83 @@
|
|
|
|
|
|
/* Marvell WiFi */
|
|
/* Marvell WiFi */
|
|
|
|
|
|
|
|
+/* end of Marvell WiFi */
|
|
|
|
|
|
/* Wiced WiFi */
|
|
/* Wiced WiFi */
|
|
|
|
|
|
|
|
+/* end of Wiced WiFi */
|
|
|
|
+/* end of Wi-Fi */
|
|
|
|
|
|
/* IoT Cloud */
|
|
/* IoT Cloud */
|
|
|
|
|
|
|
|
+/* end of IoT Cloud */
|
|
|
|
+/* end of IoT - internet of things */
|
|
|
|
|
|
/* security packages */
|
|
/* security packages */
|
|
|
|
|
|
|
|
+/* end of security packages */
|
|
|
|
|
|
/* language packages */
|
|
/* language packages */
|
|
|
|
|
|
|
|
+/* end of language packages */
|
|
|
|
|
|
/* multimedia packages */
|
|
/* multimedia packages */
|
|
|
|
|
|
/* LVGL: powerful and easy-to-use embedded GUI library */
|
|
/* LVGL: powerful and easy-to-use embedded GUI library */
|
|
|
|
|
|
-#define PKG_USING_LVGL
|
|
|
|
-#define PKG_USING_LVGL_V810
|
|
|
|
-#define PKG_LVGL_VER_NUM 0x08010
|
|
|
|
-#define PKG_USING_LV_MUSIC_DEMO
|
|
|
|
-#define PKG_USING_LV_MUSIC_DEMO_LATEST_VERSION
|
|
|
|
|
|
+/* end of LVGL: powerful and easy-to-use embedded GUI library */
|
|
|
|
|
|
/* u8g2: a monochrome graphic library */
|
|
/* u8g2: a monochrome graphic library */
|
|
|
|
|
|
|
|
+/* end of u8g2: a monochrome graphic library */
|
|
|
|
|
|
/* PainterEngine: A cross-platform graphics application framework written in C language */
|
|
/* PainterEngine: A cross-platform graphics application framework written in C language */
|
|
|
|
|
|
|
|
+/* end of PainterEngine: A cross-platform graphics application framework written in C language */
|
|
|
|
+/* end of multimedia packages */
|
|
|
|
|
|
/* tools packages */
|
|
/* tools packages */
|
|
|
|
|
|
|
|
+/* end of tools packages */
|
|
|
|
|
|
/* system packages */
|
|
/* system packages */
|
|
|
|
|
|
-
|
|
|
|
/* enhanced kernel services */
|
|
/* enhanced kernel services */
|
|
|
|
|
|
|
|
+/* end of enhanced kernel services */
|
|
|
|
|
|
/* acceleration: Assembly language or algorithmic acceleration packages */
|
|
/* acceleration: Assembly language or algorithmic acceleration packages */
|
|
|
|
|
|
|
|
+/* end of acceleration: Assembly language or algorithmic acceleration packages */
|
|
|
|
|
|
/* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
|
|
/* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
|
|
|
|
|
|
|
|
+/* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
|
|
|
|
|
|
/* Micrium: Micrium software products porting for RT-Thread */
|
|
/* Micrium: Micrium software products porting for RT-Thread */
|
|
|
|
|
|
|
|
+/* end of Micrium: Micrium software products porting for RT-Thread */
|
|
|
|
+/* end of system packages */
|
|
|
|
|
|
/* peripheral libraries and drivers */
|
|
/* peripheral libraries and drivers */
|
|
|
|
|
|
|
|
+/* end of peripheral libraries and drivers */
|
|
|
|
|
|
/* AI packages */
|
|
/* AI packages */
|
|
|
|
|
|
|
|
+/* end of AI packages */
|
|
|
|
|
|
/* miscellaneous packages */
|
|
/* miscellaneous packages */
|
|
|
|
|
|
/* samples: kernel and components samples */
|
|
/* samples: kernel and components samples */
|
|
|
|
|
|
|
|
+/* end of samples: kernel and components samples */
|
|
|
|
|
|
/* entertainment: terminal games and other interesting software packages */
|
|
/* entertainment: terminal games and other interesting software packages */
|
|
|
|
|
|
-
|
|
|
|
-/* Privated Packages of RealThread */
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-/* Network Utilities */
|
|
|
|
-
|
|
|
|
|
|
+/* end of entertainment: terminal games and other interesting software packages */
|
|
|
|
+/* end of miscellaneous packages */
|
|
|
|
+/* end of RT-Thread online packages */
|
|
#define SOC_FAMILY_STM32
|
|
#define SOC_FAMILY_STM32
|
|
#define SOC_SERIES_STM32F4
|
|
#define SOC_SERIES_STM32F4
|
|
|
|
|
|
@@ -216,27 +244,22 @@
|
|
/* Onboard Peripheral Drivers */
|
|
/* Onboard Peripheral Drivers */
|
|
|
|
|
|
#define BSP_USING_USB_TO_USART
|
|
#define BSP_USING_USB_TO_USART
|
|
-#define BSP_USING_SRAM
|
|
|
|
-#define BSP_USING_MCU_LCD
|
|
|
|
-#define BSP_USING_MCU_LCD_TEST
|
|
|
|
-#define BSP_USING_TOUCH
|
|
|
|
-#define BSP_TOUCH_INT_PIN 17
|
|
|
|
|
|
|
|
/* Enable File System */
|
|
/* Enable File System */
|
|
|
|
|
|
|
|
+/* end of Enable File System */
|
|
|
|
+/* end of Onboard Peripheral Drivers */
|
|
|
|
|
|
/* On-chip Peripheral Drivers */
|
|
/* On-chip Peripheral Drivers */
|
|
|
|
|
|
#define BSP_USING_GPIO
|
|
#define BSP_USING_GPIO
|
|
#define BSP_USING_UART
|
|
#define BSP_USING_UART
|
|
#define BSP_USING_UART1
|
|
#define BSP_USING_UART1
|
|
-#define BSP_USING_I2C2
|
|
|
|
-#define BSP_I2C2_SCL_PIN 16
|
|
|
|
-#define BSP_I2C2_SDA_PIN 91
|
|
|
|
-#define BSP_USING_EXT_FMC_IO
|
|
|
|
-#define BSP_USING_FMC
|
|
|
|
|
|
+/* end of On-chip Peripheral Drivers */
|
|
|
|
|
|
/* Board extended module Drivers */
|
|
/* Board extended module Drivers */
|
|
|
|
|
|
|
|
+/* end of Board extended module Drivers */
|
|
|
|
+/* end of Hardware Drivers Config */
|
|
|
|
|
|
#endif
|
|
#endif
|