fix the complier error
This commit is contained in:
parent
13b0b60b14
commit
f34e841e3e
|
@ -24,6 +24,13 @@ CONFIG_IDLE_THREAD_STACK_SIZE=256
|
||||||
CONFIG_RT_USING_TIMER_SOFT=y
|
CONFIG_RT_USING_TIMER_SOFT=y
|
||||||
CONFIG_RT_TIMER_THREAD_PRIO=4
|
CONFIG_RT_TIMER_THREAD_PRIO=4
|
||||||
CONFIG_RT_TIMER_THREAD_STACK_SIZE=512
|
CONFIG_RT_TIMER_THREAD_STACK_SIZE=512
|
||||||
|
|
||||||
|
#
|
||||||
|
# kservice optimization
|
||||||
|
#
|
||||||
|
# CONFIG_RT_KSERVICE_USING_STDLIB is not set
|
||||||
|
# CONFIG_RT_KSERVICE_USING_TINY_SIZE is not set
|
||||||
|
# CONFIG_RT_USING_ASM_MEMCPY is not set
|
||||||
CONFIG_RT_DEBUG=y
|
CONFIG_RT_DEBUG=y
|
||||||
# CONFIG_RT_DEBUG_COLOR is not set
|
# CONFIG_RT_DEBUG_COLOR is not set
|
||||||
# CONFIG_RT_DEBUG_INIT_CONFIG is not set
|
# CONFIG_RT_DEBUG_INIT_CONFIG is not set
|
||||||
|
@ -55,6 +62,7 @@ CONFIG_RT_USING_MEMPOOL=y
|
||||||
# CONFIG_RT_USING_NOHEAP is not set
|
# CONFIG_RT_USING_NOHEAP is not set
|
||||||
CONFIG_RT_USING_SMALL_MEM=y
|
CONFIG_RT_USING_SMALL_MEM=y
|
||||||
# CONFIG_RT_USING_SLAB is not set
|
# CONFIG_RT_USING_SLAB is not set
|
||||||
|
# CONFIG_RT_USING_USERHEAP is not set
|
||||||
# CONFIG_RT_USING_MEMTRACE is not set
|
# CONFIG_RT_USING_MEMTRACE is not set
|
||||||
CONFIG_RT_USING_HEAP=y
|
CONFIG_RT_USING_HEAP=y
|
||||||
|
|
||||||
|
@ -67,7 +75,8 @@ CONFIG_RT_USING_DEVICE=y
|
||||||
CONFIG_RT_USING_CONSOLE=y
|
CONFIG_RT_USING_CONSOLE=y
|
||||||
CONFIG_RT_CONSOLEBUF_SIZE=128
|
CONFIG_RT_CONSOLEBUF_SIZE=128
|
||||||
CONFIG_RT_CONSOLE_DEVICE_NAME="uart"
|
CONFIG_RT_CONSOLE_DEVICE_NAME="uart"
|
||||||
CONFIG_RT_VER_NUM=0x40002
|
# CONFIG_RT_PRINTF_LONGLONG is not set
|
||||||
|
CONFIG_RT_VER_NUM=0x40004
|
||||||
# CONFIG_RT_USING_CPU_FFS is not set
|
# CONFIG_RT_USING_CPU_FFS is not set
|
||||||
CONFIG_ARCH_ARM_CORTEX_FPU=y
|
CONFIG_ARCH_ARM_CORTEX_FPU=y
|
||||||
# CONFIG_ARCH_CPU_STACK_GROWS_UPWARD is not set
|
# CONFIG_ARCH_CPU_STACK_GROWS_UPWARD is not set
|
||||||
|
@ -89,36 +98,25 @@ CONFIG_RT_MAIN_THREAD_PRIORITY=10
|
||||||
# Command shell
|
# Command shell
|
||||||
#
|
#
|
||||||
CONFIG_RT_USING_FINSH=y
|
CONFIG_RT_USING_FINSH=y
|
||||||
|
CONFIG_RT_USING_MSH=y
|
||||||
|
CONFIG_FINSH_USING_MSH=y
|
||||||
CONFIG_FINSH_THREAD_NAME="tshell"
|
CONFIG_FINSH_THREAD_NAME="tshell"
|
||||||
|
CONFIG_FINSH_THREAD_PRIORITY=20
|
||||||
|
CONFIG_FINSH_THREAD_STACK_SIZE=4096
|
||||||
CONFIG_FINSH_USING_HISTORY=y
|
CONFIG_FINSH_USING_HISTORY=y
|
||||||
CONFIG_FINSH_HISTORY_LINES=5
|
CONFIG_FINSH_HISTORY_LINES=5
|
||||||
CONFIG_FINSH_USING_SYMTAB=y
|
CONFIG_FINSH_USING_SYMTAB=y
|
||||||
|
CONFIG_FINSH_CMD_SIZE=80
|
||||||
|
CONFIG_MSH_USING_BUILT_IN_COMMANDS=y
|
||||||
CONFIG_FINSH_USING_DESCRIPTION=y
|
CONFIG_FINSH_USING_DESCRIPTION=y
|
||||||
# CONFIG_FINSH_ECHO_DISABLE_DEFAULT is not set
|
# CONFIG_FINSH_ECHO_DISABLE_DEFAULT is not set
|
||||||
CONFIG_FINSH_THREAD_PRIORITY=20
|
|
||||||
CONFIG_FINSH_THREAD_STACK_SIZE=4096
|
|
||||||
CONFIG_FINSH_CMD_SIZE=80
|
|
||||||
# CONFIG_FINSH_USING_AUTH is not set
|
# CONFIG_FINSH_USING_AUTH is not set
|
||||||
CONFIG_FINSH_USING_MSH=y
|
|
||||||
CONFIG_FINSH_USING_MSH_DEFAULT=y
|
|
||||||
# CONFIG_FINSH_USING_MSH_ONLY is not set
|
|
||||||
CONFIG_FINSH_ARG_MAX=10
|
CONFIG_FINSH_ARG_MAX=10
|
||||||
|
|
||||||
#
|
#
|
||||||
# Device virtual file system
|
# Device virtual file system
|
||||||
#
|
#
|
||||||
CONFIG_RT_USING_DFS=y
|
# CONFIG_RT_USING_DFS is not set
|
||||||
CONFIG_DFS_USING_WORKDIR=y
|
|
||||||
CONFIG_DFS_FILESYSTEMS_MAX=2
|
|
||||||
CONFIG_DFS_FILESYSTEM_TYPES_MAX=2
|
|
||||||
CONFIG_DFS_FD_MAX=16
|
|
||||||
# CONFIG_RT_USING_DFS_MNTTABLE is not set
|
|
||||||
# CONFIG_RT_USING_DFS_ELMFAT is not set
|
|
||||||
CONFIG_RT_USING_DFS_DEVFS=y
|
|
||||||
# CONFIG_RT_USING_DFS_ROMFS is not set
|
|
||||||
# CONFIG_RT_USING_DFS_RAMFS is not set
|
|
||||||
# CONFIG_RT_USING_DFS_UFFS is not set
|
|
||||||
# CONFIG_RT_USING_DFS_JFFS2 is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Device Drivers
|
# Device Drivers
|
||||||
|
@ -127,37 +125,25 @@ CONFIG_RT_USING_DEVICE_IPC=y
|
||||||
CONFIG_RT_PIPE_BUFSZ=512
|
CONFIG_RT_PIPE_BUFSZ=512
|
||||||
# CONFIG_RT_USING_SYSTEM_WORKQUEUE is not set
|
# CONFIG_RT_USING_SYSTEM_WORKQUEUE is not set
|
||||||
CONFIG_RT_USING_SERIAL=y
|
CONFIG_RT_USING_SERIAL=y
|
||||||
|
CONFIG_RT_USING_SERIAL_V1=y
|
||||||
|
# CONFIG_RT_USING_SERIAL_V2 is not set
|
||||||
CONFIG_RT_SERIAL_USING_DMA=y
|
CONFIG_RT_SERIAL_USING_DMA=y
|
||||||
CONFIG_RT_SERIAL_RB_BUFSZ=64
|
CONFIG_RT_SERIAL_RB_BUFSZ=64
|
||||||
# CONFIG_RT_USING_CAN is not set
|
# CONFIG_RT_USING_CAN is not set
|
||||||
CONFIG_RT_USING_HWTIMER=y
|
# CONFIG_RT_USING_HWTIMER is not set
|
||||||
# CONFIG_RT_USING_CPUTIME is not set
|
# CONFIG_RT_USING_CPUTIME is not set
|
||||||
CONFIG_RT_USING_I2C=y
|
# CONFIG_RT_USING_I2C is not set
|
||||||
# CONFIG_RT_I2C_DEBUG is not set
|
# CONFIG_RT_USING_PHY is not set
|
||||||
CONFIG_RT_USING_I2C_BITOPS=y
|
|
||||||
# CONFIG_RT_I2C_BITOPS_DEBUG is not set
|
|
||||||
CONFIG_RT_USING_PIN=y
|
CONFIG_RT_USING_PIN=y
|
||||||
CONFIG_RT_USING_ADC=y
|
# CONFIG_RT_USING_ADC is not set
|
||||||
CONFIG_RT_USING_PWM=y
|
# CONFIG_RT_USING_DAC is not set
|
||||||
|
# CONFIG_RT_USING_PWM is not set
|
||||||
# CONFIG_RT_USING_MTD_NOR is not set
|
# CONFIG_RT_USING_MTD_NOR is not set
|
||||||
# CONFIG_RT_USING_MTD_NAND is not set
|
# CONFIG_RT_USING_MTD_NAND is not set
|
||||||
# CONFIG_RT_USING_PM is not set
|
# CONFIG_RT_USING_PM is not set
|
||||||
CONFIG_RT_USING_RTC=y
|
# CONFIG_RT_USING_RTC is not set
|
||||||
# CONFIG_RT_USING_ALARM is not set
|
# CONFIG_RT_USING_SDIO is not set
|
||||||
# CONFIG_RT_USING_SOFT_RTC is not set
|
# CONFIG_RT_USING_SPI is not set
|
||||||
CONFIG_RT_USING_SDIO=y
|
|
||||||
CONFIG_RT_SDIO_STACK_SIZE=512
|
|
||||||
CONFIG_RT_SDIO_THREAD_PRIORITY=15
|
|
||||||
CONFIG_RT_MMCSD_STACK_SIZE=1024
|
|
||||||
CONFIG_RT_MMCSD_THREAD_PREORITY=22
|
|
||||||
CONFIG_RT_MMCSD_MAX_PARTITION=16
|
|
||||||
# CONFIG_RT_SDIO_DEBUG is not set
|
|
||||||
CONFIG_RT_USING_SPI=y
|
|
||||||
# CONFIG_RT_USING_QSPI is not set
|
|
||||||
# CONFIG_RT_USING_SPI_MSD is not set
|
|
||||||
# CONFIG_RT_USING_SFUD is not set
|
|
||||||
# CONFIG_RT_USING_ENC28J60 is not set
|
|
||||||
# CONFIG_RT_USING_SPI_WIFI is not set
|
|
||||||
# CONFIG_RT_USING_WDT is not set
|
# CONFIG_RT_USING_WDT is not set
|
||||||
# CONFIG_RT_USING_AUDIO is not set
|
# CONFIG_RT_USING_AUDIO is not set
|
||||||
# CONFIG_RT_USING_SENSOR is not set
|
# CONFIG_RT_USING_SENSOR is not set
|
||||||
|
@ -176,13 +162,9 @@ CONFIG_RT_USING_SPI=y
|
||||||
#
|
#
|
||||||
# POSIX layer and C standard library
|
# POSIX layer and C standard library
|
||||||
#
|
#
|
||||||
CONFIG_RT_USING_LIBC=y
|
# CONFIG_RT_USING_LIBC is not set
|
||||||
# CONFIG_RT_USING_PTHREADS is not set
|
# CONFIG_RT_USING_PTHREADS is not set
|
||||||
CONFIG_RT_USING_POSIX=y
|
# CONFIG_RT_LIBC_USING_TIME is not set
|
||||||
# CONFIG_RT_USING_POSIX_MMAP is not set
|
|
||||||
# CONFIG_RT_USING_POSIX_TERMIOS is not set
|
|
||||||
# CONFIG_RT_USING_POSIX_AIO is not set
|
|
||||||
# CONFIG_RT_USING_MODULE is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Network
|
# Network
|
||||||
|
@ -219,6 +201,12 @@ CONFIG_RT_USING_POSIX=y
|
||||||
# CONFIG_RT_USING_RYM is not set
|
# CONFIG_RT_USING_RYM is not set
|
||||||
# CONFIG_RT_USING_ULOG is not set
|
# CONFIG_RT_USING_ULOG is not set
|
||||||
# CONFIG_RT_USING_UTEST is not set
|
# CONFIG_RT_USING_UTEST is not set
|
||||||
|
# CONFIG_RT_USING_RT_LINK is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# RT-Thread Utestcases
|
||||||
|
#
|
||||||
|
# CONFIG_RT_USING_UTESTCASES is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# RT-Thread online packages
|
# RT-Thread online packages
|
||||||
|
@ -227,11 +215,15 @@ CONFIG_RT_USING_POSIX=y
|
||||||
#
|
#
|
||||||
# IoT - internet of things
|
# IoT - internet of things
|
||||||
#
|
#
|
||||||
|
# CONFIG_PKG_USING_LORAWAN_DRIVER is not set
|
||||||
# CONFIG_PKG_USING_PAHOMQTT is not set
|
# CONFIG_PKG_USING_PAHOMQTT is not set
|
||||||
|
# CONFIG_PKG_USING_UMQTT is not set
|
||||||
# CONFIG_PKG_USING_WEBCLIENT is not set
|
# CONFIG_PKG_USING_WEBCLIENT is not set
|
||||||
# CONFIG_PKG_USING_WEBNET is not set
|
# CONFIG_PKG_USING_WEBNET is not set
|
||||||
# CONFIG_PKG_USING_MONGOOSE is not set
|
# CONFIG_PKG_USING_MONGOOSE is not set
|
||||||
# CONFIG_PKG_USING_MYMQTT is not set
|
# CONFIG_PKG_USING_MYMQTT is not set
|
||||||
|
# CONFIG_PKG_USING_KAWAII_MQTT is not set
|
||||||
|
# CONFIG_PKG_USING_BC28_MQTT is not set
|
||||||
# CONFIG_PKG_USING_WEBTERMINAL is not set
|
# CONFIG_PKG_USING_WEBTERMINAL is not set
|
||||||
# CONFIG_PKG_USING_CJSON is not set
|
# CONFIG_PKG_USING_CJSON is not set
|
||||||
# CONFIG_PKG_USING_JSMN is not set
|
# CONFIG_PKG_USING_JSMN is not set
|
||||||
|
@ -258,10 +250,12 @@ CONFIG_RT_USING_POSIX=y
|
||||||
# CONFIG_PKG_USING_COAP is not set
|
# CONFIG_PKG_USING_COAP is not set
|
||||||
# CONFIG_PKG_USING_NOPOLL is not set
|
# CONFIG_PKG_USING_NOPOLL is not set
|
||||||
# CONFIG_PKG_USING_NETUTILS is not set
|
# CONFIG_PKG_USING_NETUTILS is not set
|
||||||
|
# CONFIG_PKG_USING_CMUX is not set
|
||||||
# CONFIG_PKG_USING_PPP_DEVICE is not set
|
# CONFIG_PKG_USING_PPP_DEVICE is not set
|
||||||
# CONFIG_PKG_USING_AT_DEVICE is not set
|
# CONFIG_PKG_USING_AT_DEVICE is not set
|
||||||
# CONFIG_PKG_USING_ATSRV_SOCKET is not set
|
# CONFIG_PKG_USING_ATSRV_SOCKET is not set
|
||||||
# CONFIG_PKG_USING_WIZNET is not set
|
# CONFIG_PKG_USING_WIZNET is not set
|
||||||
|
# CONFIG_PKG_USING_ZB_COORDINATOR is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# IoT Cloud
|
# IoT Cloud
|
||||||
|
@ -270,8 +264,10 @@ CONFIG_RT_USING_POSIX=y
|
||||||
# CONFIG_PKG_USING_GAGENT_CLOUD is not set
|
# CONFIG_PKG_USING_GAGENT_CLOUD is not set
|
||||||
# CONFIG_PKG_USING_ALI_IOTKIT is not set
|
# CONFIG_PKG_USING_ALI_IOTKIT is not set
|
||||||
# CONFIG_PKG_USING_AZURE is not set
|
# CONFIG_PKG_USING_AZURE is not set
|
||||||
# CONFIG_PKG_USING_TENCENT_IOTHUB is not set
|
# CONFIG_PKG_USING_TENCENT_IOT_EXPLORER is not set
|
||||||
# CONFIG_PKG_USING_JIOT-C-SDK is not set
|
# CONFIG_PKG_USING_JIOT-C-SDK is not set
|
||||||
|
# CONFIG_PKG_USING_UCLOUD_IOT_SDK is not set
|
||||||
|
# CONFIG_PKG_USING_JOYLINK is not set
|
||||||
# CONFIG_PKG_USING_NIMBLE is not set
|
# CONFIG_PKG_USING_NIMBLE is not set
|
||||||
# CONFIG_PKG_USING_OTA_DOWNLOADER is not set
|
# CONFIG_PKG_USING_OTA_DOWNLOADER is not set
|
||||||
# CONFIG_PKG_USING_IPMSG is not set
|
# CONFIG_PKG_USING_IPMSG is not set
|
||||||
|
@ -280,13 +276,28 @@ CONFIG_RT_USING_POSIX=y
|
||||||
# CONFIG_PKG_USING_LIBRWS is not set
|
# CONFIG_PKG_USING_LIBRWS is not set
|
||||||
# CONFIG_PKG_USING_TCPSERVER is not set
|
# CONFIG_PKG_USING_TCPSERVER is not set
|
||||||
# CONFIG_PKG_USING_PROTOBUF_C is not set
|
# CONFIG_PKG_USING_PROTOBUF_C is not set
|
||||||
# CONFIG_PKG_USING_ONNX_PARSER is not set
|
|
||||||
# CONFIG_PKG_USING_ONNX_BACKEND is not set
|
|
||||||
# CONFIG_PKG_USING_DLT645 is not set
|
# CONFIG_PKG_USING_DLT645 is not set
|
||||||
# CONFIG_PKG_USING_QXWZ is not set
|
# CONFIG_PKG_USING_QXWZ is not set
|
||||||
# CONFIG_PKG_USING_SMTP_CLIENT is not set
|
# CONFIG_PKG_USING_SMTP_CLIENT is not set
|
||||||
# CONFIG_PKG_USING_ABUP_FOTA is not set
|
# CONFIG_PKG_USING_ABUP_FOTA is not set
|
||||||
# CONFIG_PKG_USING_LIBCURL2RTT is not set
|
# CONFIG_PKG_USING_LIBCURL2RTT is not set
|
||||||
|
# CONFIG_PKG_USING_CAPNP is not set
|
||||||
|
# CONFIG_PKG_USING_RT_CJSON_TOOLS is not set
|
||||||
|
# CONFIG_PKG_USING_AGILE_TELNET is not set
|
||||||
|
# CONFIG_PKG_USING_NMEALIB is not set
|
||||||
|
# CONFIG_PKG_USING_AGILE_JSMN is not set
|
||||||
|
# CONFIG_PKG_USING_PDULIB is not set
|
||||||
|
# CONFIG_PKG_USING_BTSTACK is not set
|
||||||
|
# CONFIG_PKG_USING_LORAWAN_ED_STACK is not set
|
||||||
|
# CONFIG_PKG_USING_WAYZ_IOTKIT is not set
|
||||||
|
# CONFIG_PKG_USING_MAVLINK is not set
|
||||||
|
# CONFIG_PKG_USING_RAPIDJSON is not set
|
||||||
|
# CONFIG_PKG_USING_BSAL is not set
|
||||||
|
# CONFIG_PKG_USING_AGILE_MODBUS is not set
|
||||||
|
# CONFIG_PKG_USING_AGILE_FTP is not set
|
||||||
|
# CONFIG_PKG_USING_EMBEDDEDPROTO is not set
|
||||||
|
# CONFIG_PKG_USING_RT_LINK_HW is not set
|
||||||
|
# CONFIG_PKG_USING_HM is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# security packages
|
# security packages
|
||||||
|
@ -294,6 +305,8 @@ CONFIG_RT_USING_POSIX=y
|
||||||
# CONFIG_PKG_USING_MBEDTLS is not set
|
# CONFIG_PKG_USING_MBEDTLS is not set
|
||||||
# CONFIG_PKG_USING_libsodium is not set
|
# CONFIG_PKG_USING_libsodium is not set
|
||||||
# CONFIG_PKG_USING_TINYCRYPT is not set
|
# CONFIG_PKG_USING_TINYCRYPT is not set
|
||||||
|
# CONFIG_PKG_USING_TFM is not set
|
||||||
|
# CONFIG_PKG_USING_YD_CRYPTO is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# language packages
|
# language packages
|
||||||
|
@ -301,6 +314,7 @@ CONFIG_RT_USING_POSIX=y
|
||||||
# CONFIG_PKG_USING_LUA is not set
|
# CONFIG_PKG_USING_LUA is not set
|
||||||
# CONFIG_PKG_USING_JERRYSCRIPT is not set
|
# CONFIG_PKG_USING_JERRYSCRIPT is not set
|
||||||
# CONFIG_PKG_USING_MICROPYTHON is not set
|
# CONFIG_PKG_USING_MICROPYTHON is not set
|
||||||
|
# CONFIG_PKG_USING_PIKASCRIPT is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# multimedia packages
|
# multimedia packages
|
||||||
|
@ -310,6 +324,13 @@ CONFIG_RT_USING_POSIX=y
|
||||||
# CONFIG_PKG_USING_STEMWIN is not set
|
# CONFIG_PKG_USING_STEMWIN is not set
|
||||||
# CONFIG_PKG_USING_WAVPLAYER is not set
|
# CONFIG_PKG_USING_WAVPLAYER is not set
|
||||||
# CONFIG_PKG_USING_TJPGD is not set
|
# CONFIG_PKG_USING_TJPGD is not set
|
||||||
|
# CONFIG_PKG_USING_PDFGEN is not set
|
||||||
|
# CONFIG_PKG_USING_HELIX is not set
|
||||||
|
# CONFIG_PKG_USING_AZUREGUIX is not set
|
||||||
|
# CONFIG_PKG_USING_TOUCHGFX2RTT is not set
|
||||||
|
# CONFIG_PKG_USING_NUEMWIN is not set
|
||||||
|
# CONFIG_PKG_USING_MP3PLAYER is not set
|
||||||
|
# CONFIG_PKG_USING_TINYJPEG is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# tools packages
|
# tools packages
|
||||||
|
@ -318,35 +339,95 @@ CONFIG_RT_USING_POSIX=y
|
||||||
# CONFIG_PKG_USING_EASYFLASH is not set
|
# CONFIG_PKG_USING_EASYFLASH is not set
|
||||||
# CONFIG_PKG_USING_EASYLOGGER is not set
|
# CONFIG_PKG_USING_EASYLOGGER is not set
|
||||||
# CONFIG_PKG_USING_SYSTEMVIEW is not set
|
# CONFIG_PKG_USING_SYSTEMVIEW is not set
|
||||||
|
# CONFIG_PKG_USING_SEGGER_RTT is not set
|
||||||
# CONFIG_PKG_USING_RDB is not set
|
# CONFIG_PKG_USING_RDB is not set
|
||||||
# CONFIG_PKG_USING_QRCODE is not set
|
# CONFIG_PKG_USING_QRCODE is not set
|
||||||
# CONFIG_PKG_USING_ULOG_EASYFLASH is not set
|
# CONFIG_PKG_USING_ULOG_EASYFLASH is not set
|
||||||
|
# CONFIG_PKG_USING_ULOG_FILE is not set
|
||||||
|
# CONFIG_PKG_USING_LOGMGR is not set
|
||||||
# CONFIG_PKG_USING_ADBD is not set
|
# CONFIG_PKG_USING_ADBD is not set
|
||||||
# CONFIG_PKG_USING_COREMARK is not set
|
# CONFIG_PKG_USING_COREMARK is not set
|
||||||
# CONFIG_PKG_USING_DHRYSTONE is not set
|
# CONFIG_PKG_USING_DHRYSTONE is not set
|
||||||
|
# CONFIG_PKG_USING_MEMORYPERF is not set
|
||||||
# CONFIG_PKG_USING_NR_MICRO_SHELL is not set
|
# CONFIG_PKG_USING_NR_MICRO_SHELL is not set
|
||||||
# CONFIG_PKG_USING_CHINESE_FONT_LIBRARY is not set
|
# CONFIG_PKG_USING_CHINESE_FONT_LIBRARY is not set
|
||||||
# CONFIG_PKG_USING_LUNAR_CALENDAR is not set
|
# CONFIG_PKG_USING_LUNAR_CALENDAR is not set
|
||||||
# CONFIG_PKG_USING_BS8116A is not set
|
# CONFIG_PKG_USING_BS8116A is not set
|
||||||
|
# CONFIG_PKG_USING_GPS_RMC is not set
|
||||||
|
# CONFIG_PKG_USING_URLENCODE is not set
|
||||||
|
# CONFIG_PKG_USING_UMCN is not set
|
||||||
|
# CONFIG_PKG_USING_LWRB2RTT is not set
|
||||||
|
# CONFIG_PKG_USING_CPU_USAGE is not set
|
||||||
|
# CONFIG_PKG_USING_GBK2UTF8 is not set
|
||||||
|
# CONFIG_PKG_USING_VCONSOLE is not set
|
||||||
|
# CONFIG_PKG_USING_KDB is not set
|
||||||
|
# CONFIG_PKG_USING_WAMR is not set
|
||||||
|
# CONFIG_PKG_USING_MICRO_XRCE_DDS_CLIENT is not set
|
||||||
|
# CONFIG_PKG_USING_LWLOG is not set
|
||||||
|
# CONFIG_PKG_USING_ANV_TRACE is not set
|
||||||
|
# CONFIG_PKG_USING_ANV_MEMLEAK is not set
|
||||||
|
# CONFIG_PKG_USING_ANV_TESTSUIT is not set
|
||||||
|
# CONFIG_PKG_USING_ANV_BENCH is not set
|
||||||
|
# CONFIG_PKG_USING_DEVMEM is not set
|
||||||
|
# CONFIG_PKG_USING_REGEX is not set
|
||||||
|
# CONFIG_PKG_USING_MEM_SANDBOX is not set
|
||||||
|
# CONFIG_PKG_USING_SOLAR_TERMS is not set
|
||||||
|
# CONFIG_PKG_USING_GAN_ZHI is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# system packages
|
# system packages
|
||||||
#
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# acceleration: Assembly language or algorithmic acceleration packages
|
||||||
|
#
|
||||||
|
# CONFIG_PKG_USING_RT_MEMCPY_CM is not set
|
||||||
|
# CONFIG_PKG_USING_QFPLIB_M0_FULL is not set
|
||||||
|
# CONFIG_PKG_USING_QFPLIB_M0_TINY is not set
|
||||||
|
# CONFIG_PKG_USING_QFPLIB_M3 is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# Micrium: Micrium software products porting for RT-Thread
|
||||||
|
#
|
||||||
|
# CONFIG_PKG_USING_UCOSIII_WRAPPER is not set
|
||||||
|
# CONFIG_PKG_USING_UCOSII_WRAPPER is not set
|
||||||
|
# CONFIG_PKG_USING_UC_CRC is not set
|
||||||
|
# CONFIG_PKG_USING_UC_CLK is not set
|
||||||
|
# CONFIG_PKG_USING_UC_COMMON is not set
|
||||||
|
# CONFIG_PKG_USING_UC_MODBUS is not set
|
||||||
# CONFIG_PKG_USING_GUIENGINE is not set
|
# CONFIG_PKG_USING_GUIENGINE is not set
|
||||||
# CONFIG_PKG_USING_CAIRO is not set
|
# CONFIG_PKG_USING_CAIRO is not set
|
||||||
# CONFIG_PKG_USING_PIXMAN is not set
|
# CONFIG_PKG_USING_PIXMAN is not set
|
||||||
# CONFIG_PKG_USING_LWEXT4 is not set
|
|
||||||
# CONFIG_PKG_USING_PARTITION is not set
|
# CONFIG_PKG_USING_PARTITION is not set
|
||||||
# CONFIG_PKG_USING_FAL is not set
|
# CONFIG_PKG_USING_FAL is not set
|
||||||
|
# CONFIG_PKG_USING_FLASHDB is not set
|
||||||
# CONFIG_PKG_USING_SQLITE is not set
|
# CONFIG_PKG_USING_SQLITE is not set
|
||||||
# CONFIG_PKG_USING_RTI is not set
|
# CONFIG_PKG_USING_RTI is not set
|
||||||
# CONFIG_PKG_USING_LITTLEVGL2RTT is not set
|
# CONFIG_PKG_USING_LITTLEVGL2RTT is not set
|
||||||
# CONFIG_PKG_USING_CMSIS is not set
|
# CONFIG_PKG_USING_CMSIS is not set
|
||||||
# CONFIG_PKG_USING_DFS_YAFFS is not set
|
# CONFIG_PKG_USING_DFS_YAFFS is not set
|
||||||
# CONFIG_PKG_USING_LITTLEFS is not set
|
# CONFIG_PKG_USING_LITTLEFS is not set
|
||||||
|
# CONFIG_PKG_USING_DFS_JFFS2 is not set
|
||||||
|
# CONFIG_PKG_USING_DFS_UFFS is not set
|
||||||
|
# CONFIG_PKG_USING_LWEXT4 is not set
|
||||||
# CONFIG_PKG_USING_THREAD_POOL is not set
|
# CONFIG_PKG_USING_THREAD_POOL is not set
|
||||||
# CONFIG_PKG_USING_ROBOTS is not set
|
# CONFIG_PKG_USING_ROBOTS is not set
|
||||||
# CONFIG_PKG_USING_EV is not set
|
# CONFIG_PKG_USING_EV is not set
|
||||||
|
# CONFIG_PKG_USING_SYSWATCH is not set
|
||||||
|
# CONFIG_PKG_USING_SYS_LOAD_MONITOR is not set
|
||||||
|
# CONFIG_PKG_USING_PLCCORE is not set
|
||||||
|
# CONFIG_PKG_USING_RAMDISK is not set
|
||||||
|
# CONFIG_PKG_USING_MININI is not set
|
||||||
|
# CONFIG_PKG_USING_QBOOT is not set
|
||||||
|
# CONFIG_PKG_USING_PPOOL is not set
|
||||||
|
# CONFIG_PKG_USING_OPENAMP is not set
|
||||||
|
# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set
|
||||||
|
# CONFIG_PKG_USING_LPM is not set
|
||||||
|
# CONFIG_PKG_USING_TLSF is not set
|
||||||
|
# CONFIG_PKG_USING_EVENT_RECORDER is not set
|
||||||
|
# CONFIG_PKG_USING_ARM_2D is not set
|
||||||
|
# CONFIG_PKG_USING_WCWIDTH is not set
|
||||||
|
# CONFIG_PKG_USING_MCUBOOT is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# peripheral libraries and drivers
|
# peripheral libraries and drivers
|
||||||
|
@ -355,6 +436,7 @@ CONFIG_RT_USING_POSIX=y
|
||||||
# CONFIG_PKG_USING_REALTEK_AMEBA is not set
|
# CONFIG_PKG_USING_REALTEK_AMEBA is not set
|
||||||
# CONFIG_PKG_USING_SHT2X is not set
|
# CONFIG_PKG_USING_SHT2X is not set
|
||||||
# CONFIG_PKG_USING_SHT3X is not set
|
# CONFIG_PKG_USING_SHT3X is not set
|
||||||
|
# CONFIG_PKG_USING_AS7341 is not set
|
||||||
# CONFIG_PKG_USING_STM32_SDIO is not set
|
# CONFIG_PKG_USING_STM32_SDIO is not set
|
||||||
# CONFIG_PKG_USING_ICM20608 is not set
|
# CONFIG_PKG_USING_ICM20608 is not set
|
||||||
# CONFIG_PKG_USING_U8G2 is not set
|
# CONFIG_PKG_USING_U8G2 is not set
|
||||||
|
@ -363,10 +445,13 @@ CONFIG_RT_USING_POSIX=y
|
||||||
# CONFIG_PKG_USING_SX12XX is not set
|
# CONFIG_PKG_USING_SX12XX is not set
|
||||||
# CONFIG_PKG_USING_SIGNAL_LED is not set
|
# CONFIG_PKG_USING_SIGNAL_LED is not set
|
||||||
# CONFIG_PKG_USING_LEDBLINK is not set
|
# CONFIG_PKG_USING_LEDBLINK is not set
|
||||||
|
# CONFIG_PKG_USING_LITTLED is not set
|
||||||
|
# CONFIG_PKG_USING_LKDGUI is not set
|
||||||
|
# CONFIG_PKG_USING_NRF5X_SDK is not set
|
||||||
|
# CONFIG_PKG_USING_NRFX is not set
|
||||||
# CONFIG_PKG_USING_WM_LIBRARIES is not set
|
# CONFIG_PKG_USING_WM_LIBRARIES is not set
|
||||||
# CONFIG_PKG_USING_KENDRYTE_SDK is not set
|
# CONFIG_PKG_USING_KENDRYTE_SDK is not set
|
||||||
# CONFIG_PKG_USING_INFRARED is not set
|
# CONFIG_PKG_USING_INFRARED is not set
|
||||||
# CONFIG_PKG_USING_ROSSERIAL is not set
|
|
||||||
# CONFIG_PKG_USING_AGILE_BUTTON is not set
|
# CONFIG_PKG_USING_AGILE_BUTTON is not set
|
||||||
# CONFIG_PKG_USING_AGILE_LED is not set
|
# CONFIG_PKG_USING_AGILE_LED is not set
|
||||||
# CONFIG_PKG_USING_AT24CXX is not set
|
# CONFIG_PKG_USING_AT24CXX is not set
|
||||||
|
@ -379,25 +464,60 @@ CONFIG_RT_USING_POSIX=y
|
||||||
# CONFIG_PKG_USING_MAX17048 is not set
|
# CONFIG_PKG_USING_MAX17048 is not set
|
||||||
# CONFIG_PKG_USING_RPLIDAR is not set
|
# CONFIG_PKG_USING_RPLIDAR is not set
|
||||||
# CONFIG_PKG_USING_AS608 is not set
|
# CONFIG_PKG_USING_AS608 is not set
|
||||||
|
# CONFIG_PKG_USING_RC522 is not set
|
||||||
|
# CONFIG_PKG_USING_WS2812B is not set
|
||||||
|
# CONFIG_PKG_USING_EMBARC_BSP is not set
|
||||||
|
# CONFIG_PKG_USING_EXTERN_RTC_DRIVERS is not set
|
||||||
|
# CONFIG_PKG_USING_MULTI_RTIMER is not set
|
||||||
|
# CONFIG_PKG_USING_MAX7219 is not set
|
||||||
|
# CONFIG_PKG_USING_BEEP is not set
|
||||||
|
# CONFIG_PKG_USING_EASYBLINK is not set
|
||||||
|
# CONFIG_PKG_USING_PMS_SERIES is not set
|
||||||
|
# CONFIG_PKG_USING_CAN_YMODEM is not set
|
||||||
|
# CONFIG_PKG_USING_LORA_RADIO_DRIVER is not set
|
||||||
|
# CONFIG_PKG_USING_QLED is not set
|
||||||
|
# CONFIG_PKG_USING_PAJ7620 is not set
|
||||||
|
# CONFIG_PKG_USING_AGILE_CONSOLE is not set
|
||||||
|
# CONFIG_PKG_USING_LD3320 is not set
|
||||||
|
# CONFIG_PKG_USING_WK2124 is not set
|
||||||
|
# CONFIG_PKG_USING_LY68L6400 is not set
|
||||||
|
# CONFIG_PKG_USING_DM9051 is not set
|
||||||
|
# CONFIG_PKG_USING_SSD1306 is not set
|
||||||
|
# CONFIG_PKG_USING_QKEY is not set
|
||||||
|
# CONFIG_PKG_USING_RS485 is not set
|
||||||
|
# CONFIG_PKG_USING_NES is not set
|
||||||
|
# CONFIG_PKG_USING_VIRTUAL_SENSOR is not set
|
||||||
|
# CONFIG_PKG_USING_VDEVICE is not set
|
||||||
|
# CONFIG_PKG_USING_SGM706 is not set
|
||||||
|
# CONFIG_PKG_USING_STM32WB55_SDK is not set
|
||||||
|
# CONFIG_PKG_USING_RDA58XX is not set
|
||||||
|
# CONFIG_PKG_USING_LIBNFC is not set
|
||||||
|
# CONFIG_PKG_USING_MFOC is not set
|
||||||
|
# CONFIG_PKG_USING_TMC51XX is not set
|
||||||
|
# CONFIG_PKG_USING_TCA9534 is not set
|
||||||
|
# CONFIG_PKG_USING_KOBUKI is not set
|
||||||
|
# CONFIG_PKG_USING_ROSSERIAL is not set
|
||||||
|
# CONFIG_PKG_USING_MICRO_ROS is not set
|
||||||
|
# CONFIG_PKG_USING_MCP23008 is not set
|
||||||
|
# CONFIG_PKG_USING_BLUETRUM_SDK is not set
|
||||||
|
# CONFIG_PKG_USING_MISAKA_AT24CXX is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# AI packages
|
||||||
|
#
|
||||||
|
# CONFIG_PKG_USING_LIBANN is not set
|
||||||
|
# CONFIG_PKG_USING_NNOM is not set
|
||||||
|
# CONFIG_PKG_USING_ONNX_BACKEND is not set
|
||||||
|
# CONFIG_PKG_USING_ONNX_PARSER is not set
|
||||||
|
# CONFIG_PKG_USING_TENSORFLOWLITEMICRO is not set
|
||||||
|
# CONFIG_PKG_USING_ELAPACK is not set
|
||||||
|
# CONFIG_PKG_USING_ULAPACK is not set
|
||||||
|
# CONFIG_PKG_USING_QUEST is not set
|
||||||
|
# CONFIG_PKG_USING_NAXOS is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# miscellaneous packages
|
# miscellaneous packages
|
||||||
#
|
#
|
||||||
# CONFIG_PKG_USING_LIBCSV is not set
|
|
||||||
# CONFIG_PKG_USING_OPTPARSE is not set
|
|
||||||
# CONFIG_PKG_USING_FASTLZ is not set
|
|
||||||
# CONFIG_PKG_USING_MINILZO is not set
|
|
||||||
# CONFIG_PKG_USING_QUICKLZ is not set
|
|
||||||
# CONFIG_PKG_USING_MULTIBUTTON is not set
|
|
||||||
# CONFIG_PKG_USING_FLEXIBLE_BUTTON is not set
|
|
||||||
# CONFIG_PKG_USING_CANFESTIVAL is not set
|
|
||||||
# CONFIG_PKG_USING_ZLIB is not set
|
|
||||||
# CONFIG_PKG_USING_DSTR is not set
|
|
||||||
# CONFIG_PKG_USING_TINYFRAME is not set
|
|
||||||
# CONFIG_PKG_USING_KENDRYTE_DEMO is not set
|
|
||||||
# CONFIG_PKG_USING_DIGITALCTRL is not set
|
|
||||||
# CONFIG_PKG_USING_UPACKER is not set
|
|
||||||
# CONFIG_PKG_USING_UPARAM is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# samples: kernel and components samples
|
# samples: kernel and components samples
|
||||||
|
@ -406,15 +526,48 @@ CONFIG_RT_USING_POSIX=y
|
||||||
# CONFIG_PKG_USING_FILESYSTEM_SAMPLES is not set
|
# CONFIG_PKG_USING_FILESYSTEM_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# entertainment: terminal games and other interesting software packages
|
||||||
|
#
|
||||||
|
# CONFIG_PKG_USING_CMATRIX is not set
|
||||||
|
# CONFIG_PKG_USING_SL is not set
|
||||||
|
# CONFIG_PKG_USING_CAL is not set
|
||||||
|
# CONFIG_PKG_USING_ACLOCK is not set
|
||||||
|
# CONFIG_PKG_USING_THREES is not set
|
||||||
|
# CONFIG_PKG_USING_2048 is not set
|
||||||
|
# CONFIG_PKG_USING_SNAKE is not set
|
||||||
|
# CONFIG_PKG_USING_TETRIS is not set
|
||||||
|
# CONFIG_PKG_USING_DONUT is not set
|
||||||
|
# CONFIG_PKG_USING_LIBCSV is not set
|
||||||
|
# CONFIG_PKG_USING_OPTPARSE is not set
|
||||||
|
# CONFIG_PKG_USING_FASTLZ is not set
|
||||||
|
# CONFIG_PKG_USING_MINILZO is not set
|
||||||
|
# CONFIG_PKG_USING_QUICKLZ is not set
|
||||||
|
# CONFIG_PKG_USING_LZMA is not set
|
||||||
|
# CONFIG_PKG_USING_MULTIBUTTON is not set
|
||||||
|
# CONFIG_PKG_USING_FLEXIBLE_BUTTON is not set
|
||||||
|
# CONFIG_PKG_USING_CANFESTIVAL is not set
|
||||||
|
# CONFIG_PKG_USING_ZLIB is not set
|
||||||
|
# CONFIG_PKG_USING_MINIZIP is not set
|
||||||
|
# CONFIG_PKG_USING_DSTR is not set
|
||||||
|
# CONFIG_PKG_USING_TINYFRAME is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_DEMO is not set
|
||||||
|
# CONFIG_PKG_USING_DIGITALCTRL is not set
|
||||||
|
# CONFIG_PKG_USING_UPACKER is not set
|
||||||
|
# CONFIG_PKG_USING_UPARAM is not set
|
||||||
# CONFIG_PKG_USING_HELLO is not set
|
# CONFIG_PKG_USING_HELLO is not set
|
||||||
# CONFIG_PKG_USING_VI is not set
|
# CONFIG_PKG_USING_VI is not set
|
||||||
# CONFIG_PKG_USING_NNOM is not set
|
# CONFIG_PKG_USING_KI is not set
|
||||||
# CONFIG_PKG_USING_LIBANN is not set
|
|
||||||
# CONFIG_PKG_USING_ELAPACK is not set
|
|
||||||
# CONFIG_PKG_USING_ARMv7M_DWT is not set
|
# CONFIG_PKG_USING_ARMv7M_DWT is not set
|
||||||
# CONFIG_PKG_USING_VT100 is not set
|
# CONFIG_PKG_USING_VT100 is not set
|
||||||
# CONFIG_PKG_USING_ULAPACK is not set
|
|
||||||
# CONFIG_PKG_USING_UKAL is not set
|
# CONFIG_PKG_USING_UKAL is not set
|
||||||
|
# CONFIG_PKG_USING_CRCLIB is not set
|
||||||
|
# CONFIG_PKG_USING_LWGPS is not set
|
||||||
|
# CONFIG_PKG_USING_STATE_MACHINE is not set
|
||||||
|
# CONFIG_PKG_USING_MCURSES is not set
|
||||||
|
# CONFIG_PKG_USING_COWSAY is not set
|
||||||
|
# CONFIG_PKG_USING_TERMBOX is not set
|
||||||
CONFIG_SOC_LPC55S6X_SERIES=y
|
CONFIG_SOC_LPC55S6X_SERIES=y
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -432,37 +585,21 @@ CONFIG_BSP_USING_UART0=y
|
||||||
# CONFIG_HW_UART0_BAUDRATE_9600 is not set
|
# CONFIG_HW_UART0_BAUDRATE_9600 is not set
|
||||||
CONFIG_HW_UART0_BAUDRATE_115200=y
|
CONFIG_HW_UART0_BAUDRATE_115200=y
|
||||||
# CONFIG_BSP_USING_UART2 is not set
|
# CONFIG_BSP_USING_UART2 is not set
|
||||||
CONFIG_BSP_USING_I2C=y
|
# CONFIG_BSP_USING_I2C is not set
|
||||||
# CONFIG_BSP_USING_I2C1 is not set
|
# CONFIG_BSP_USING_SPI is not set
|
||||||
CONFIG_BSP_USING_I2C4=y
|
# CONFIG_BSP_USING_ADC is not set
|
||||||
CONFIG_HW_I2C4_BAUDRATE_100kHZ=y
|
# CONFIG_BSP_USING_SDIO is not set
|
||||||
# CONFIG_HW_I2C4_BAUDRATE_400kHZ is not set
|
# CONFIG_BSP_USING_RTC is not set
|
||||||
CONFIG_BSP_USING_SPI=y
|
|
||||||
# CONFIG_BSP_USING_SPI3 is not set
|
|
||||||
CONFIG_BSP_USING_SPI8=y
|
|
||||||
CONFIG_BSP_USING_ADC=y
|
|
||||||
CONFIG_BSP_USING_ADC0_CH0=y
|
|
||||||
# CONFIG_BSP_USING_ADC0_CH1 is not set
|
|
||||||
CONFIG_BSP_USING_SDIO=y
|
|
||||||
CONFIG_BSP_USING_RTC=y
|
|
||||||
# CONFIG_BSP_USING_WDT is not set
|
# CONFIG_BSP_USING_WDT is not set
|
||||||
CONFIG_BSP_USING_HWTIMER=y
|
# CONFIG_BSP_USING_HWTIMER is not set
|
||||||
CONFIG_BSP_USING_CTIMER0=y
|
# CONFIG_BSP_USING_PWM is not set
|
||||||
# CONFIG_BSP_USING_CTIMER1 is not set
|
|
||||||
# CONFIG_BSP_USING_CTIMER3 is not set
|
|
||||||
# CONFIG_BSP_USING_CTIMER4 is not set
|
|
||||||
CONFIG_BSP_USING_PWM=y
|
|
||||||
CONFIG_BSP_USING_CTIMER2_MAT0=y
|
|
||||||
# CONFIG_BSP_USING_CTIMER2_MAT1 is not set
|
|
||||||
# CONFIG_BSP_USING_CTIMER2_MAT2 is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Onboard Peripheral Drivers
|
# Onboard Peripheral Drivers
|
||||||
#
|
#
|
||||||
CONFIG_BSP_USING_LED=y
|
CONFIG_BSP_USING_LED=y
|
||||||
CONFIG_BSP_USING_KEY=y
|
CONFIG_BSP_USING_KEY=y
|
||||||
CONFIG_BSP_USING_MMA8562=y
|
# CONFIG_BSP_USING_MMA8562 is not set
|
||||||
CONFIG_BSP_USING_MMA8562I2C="i2c4"
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Board extended module Drivers
|
# Board extended module Drivers
|
||||||
|
|
|
@ -2,7 +2,7 @@ import rtconfig
|
||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
cwd = GetCurrentDir()
|
cwd = GetCurrentDir()
|
||||||
src = Glob('*.c')
|
src = Glob('main.c')
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
# add for startup script
|
# add for startup script
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
* Date Author Notes
|
* Date Author Notes
|
||||||
* 2019-10-24 Magicoe first version
|
* 2019-10-24 Magicoe first version
|
||||||
* 2020-01-10 Kevin/Karl Add PS demo
|
* 2020-01-10 Kevin/Karl Add PS demo
|
||||||
|
* 2020-09-21 supperthomas fix the main.c
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -18,12 +19,9 @@
|
||||||
/* GPIO1_4 is Blue LED */
|
/* GPIO1_4 is Blue LED */
|
||||||
#define LEDB_PIN GET_PINS(1, 4)
|
#define LEDB_PIN GET_PINS(1, 4)
|
||||||
|
|
||||||
extern void protected_storage_demo_thread(void * parameters);
|
|
||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
rt_thread_t t_psa_ps_demo;
|
|
||||||
|
|
||||||
#if defined(__CC_ARM)
|
#if defined(__CC_ARM)
|
||||||
rt_kprintf("using armcc, version: %d\n", __ARMCC_VERSION);
|
rt_kprintf("using armcc, version: %d\n", __ARMCC_VERSION);
|
||||||
#elif defined(__CLANG_ARM)
|
#elif defined(__CLANG_ARM)
|
||||||
|
@ -34,14 +32,6 @@ int main(void)
|
||||||
rt_kprintf("using gcc, version: %d.%d\n", __GNUC__, __GNUC_MINOR__);
|
rt_kprintf("using gcc, version: %d.%d\n", __GNUC__, __GNUC_MINOR__);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
t_psa_ps_demo = rt_thread_create("psa_ps_demo",
|
|
||||||
protected_storage_demo_thread,
|
|
||||||
RT_NULL,
|
|
||||||
512,
|
|
||||||
( RT_MAIN_THREAD_PRIORITY - 1),
|
|
||||||
50);
|
|
||||||
if (t_psa_ps_demo != RT_NULL) rt_thread_startup(t_psa_ps_demo);
|
|
||||||
|
|
||||||
rt_pin_mode(LEDB_PIN, PIN_MODE_OUTPUT); /* Set GPIO as Output */
|
rt_pin_mode(LEDB_PIN, PIN_MODE_OUTPUT); /* Set GPIO as Output */
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
// </RDTConfigurator>
|
// </RDTConfigurator>
|
||||||
#if defined(__CC_ARM) || defined(__CLANG_ARM)
|
#if defined(__CC_ARM) || defined(__CLANG_ARM)
|
||||||
extern int Image$$ARM_LIB_HEAP$$ZI$$Base;
|
extern int Image$$ARM_LIB_HEAP$$ZI$$Base;
|
||||||
|
extern int Image$$ARM_LIB_STACK$$ZI$$Base;
|
||||||
#define HEAP_BEGIN ((void *)&Image$$ARM_LIB_HEAP$$ZI$$Base)
|
#define HEAP_BEGIN ((void *)&Image$$ARM_LIB_HEAP$$ZI$$Base)
|
||||||
#elif defined(__ICCARM__)
|
#elif defined(__ICCARM__)
|
||||||
#pragma section="HEAP"
|
#pragma section="HEAP"
|
||||||
|
@ -40,7 +41,7 @@ extern int __HeapBase;
|
||||||
extern int __HeapLimit;
|
extern int __HeapLimit;
|
||||||
#define HEAP_BEGIN ((void *)&__HeapBase)
|
#define HEAP_BEGIN ((void *)&__HeapBase)
|
||||||
#endif
|
#endif
|
||||||
#define HEAP_END ((void*)&__HeapLimit)
|
#define HEAP_END ((void*)&Image$$ARM_LIB_STACK$$ZI$$Base)
|
||||||
|
|
||||||
void rt_hw_board_init(void);
|
void rt_hw_board_init(void);
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -21,6 +21,9 @@
|
||||||
#define RT_USING_TIMER_SOFT
|
#define RT_USING_TIMER_SOFT
|
||||||
#define RT_TIMER_THREAD_PRIO 4
|
#define RT_TIMER_THREAD_PRIO 4
|
||||||
#define RT_TIMER_THREAD_STACK_SIZE 512
|
#define RT_TIMER_THREAD_STACK_SIZE 512
|
||||||
|
|
||||||
|
/* kservice optimization */
|
||||||
|
|
||||||
#define RT_DEBUG
|
#define RT_DEBUG
|
||||||
|
|
||||||
/* Inter-Thread communication */
|
/* Inter-Thread communication */
|
||||||
|
@ -43,7 +46,7 @@
|
||||||
#define RT_USING_CONSOLE
|
#define RT_USING_CONSOLE
|
||||||
#define RT_CONSOLEBUF_SIZE 128
|
#define RT_CONSOLEBUF_SIZE 128
|
||||||
#define RT_CONSOLE_DEVICE_NAME "uart"
|
#define RT_CONSOLE_DEVICE_NAME "uart"
|
||||||
#define RT_VER_NUM 0x40002
|
#define RT_VER_NUM 0x40004
|
||||||
#define ARCH_ARM_CORTEX_FPU
|
#define ARCH_ARM_CORTEX_FPU
|
||||||
|
|
||||||
/* RT-Thread Components */
|
/* RT-Thread Components */
|
||||||
|
@ -59,56 +62,37 @@
|
||||||
/* Command shell */
|
/* Command shell */
|
||||||
|
|
||||||
#define RT_USING_FINSH
|
#define RT_USING_FINSH
|
||||||
|
#define RT_USING_MSH
|
||||||
|
#define FINSH_USING_MSH
|
||||||
#define FINSH_THREAD_NAME "tshell"
|
#define FINSH_THREAD_NAME "tshell"
|
||||||
|
#define FINSH_THREAD_PRIORITY 20
|
||||||
|
#define FINSH_THREAD_STACK_SIZE 4096
|
||||||
#define FINSH_USING_HISTORY
|
#define FINSH_USING_HISTORY
|
||||||
#define FINSH_HISTORY_LINES 5
|
#define FINSH_HISTORY_LINES 5
|
||||||
#define FINSH_USING_SYMTAB
|
#define FINSH_USING_SYMTAB
|
||||||
#define FINSH_USING_DESCRIPTION
|
|
||||||
#define FINSH_THREAD_PRIORITY 20
|
|
||||||
#define FINSH_THREAD_STACK_SIZE 4096
|
|
||||||
#define FINSH_CMD_SIZE 80
|
#define FINSH_CMD_SIZE 80
|
||||||
#define FINSH_USING_MSH
|
#define MSH_USING_BUILT_IN_COMMANDS
|
||||||
#define FINSH_USING_MSH_DEFAULT
|
#define FINSH_USING_DESCRIPTION
|
||||||
#define FINSH_ARG_MAX 10
|
#define FINSH_ARG_MAX 10
|
||||||
|
|
||||||
/* Device virtual file system */
|
/* Device virtual file system */
|
||||||
|
|
||||||
#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
|
|
||||||
|
|
||||||
/* Device Drivers */
|
/* Device Drivers */
|
||||||
|
|
||||||
#define RT_USING_DEVICE_IPC
|
#define RT_USING_DEVICE_IPC
|
||||||
#define RT_PIPE_BUFSZ 512
|
#define RT_PIPE_BUFSZ 512
|
||||||
#define RT_USING_SERIAL
|
#define RT_USING_SERIAL
|
||||||
|
#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_HWTIMER
|
|
||||||
#define RT_USING_I2C
|
|
||||||
#define RT_USING_I2C_BITOPS
|
|
||||||
#define RT_USING_PIN
|
#define RT_USING_PIN
|
||||||
#define RT_USING_ADC
|
|
||||||
#define RT_USING_PWM
|
|
||||||
#define RT_USING_RTC
|
|
||||||
#define RT_USING_SDIO
|
|
||||||
#define RT_SDIO_STACK_SIZE 512
|
|
||||||
#define RT_SDIO_THREAD_PRIORITY 15
|
|
||||||
#define RT_MMCSD_STACK_SIZE 1024
|
|
||||||
#define RT_MMCSD_THREAD_PREORITY 22
|
|
||||||
#define RT_MMCSD_MAX_PARTITION 16
|
|
||||||
#define RT_USING_SPI
|
|
||||||
|
|
||||||
/* Using USB */
|
/* Using USB */
|
||||||
|
|
||||||
|
|
||||||
/* POSIX layer and C standard library */
|
/* POSIX layer and C standard library */
|
||||||
|
|
||||||
#define RT_USING_LIBC
|
|
||||||
#define RT_USING_POSIX
|
|
||||||
|
|
||||||
/* Network */
|
/* Network */
|
||||||
|
|
||||||
|
@ -130,6 +114,9 @@
|
||||||
/* Utilities */
|
/* Utilities */
|
||||||
|
|
||||||
|
|
||||||
|
/* RT-Thread Utestcases */
|
||||||
|
|
||||||
|
|
||||||
/* RT-Thread online packages */
|
/* RT-Thread online packages */
|
||||||
|
|
||||||
/* IoT - internet of things */
|
/* IoT - internet of things */
|
||||||
|
@ -160,15 +147,25 @@
|
||||||
|
|
||||||
/* system packages */
|
/* system packages */
|
||||||
|
|
||||||
|
/* acceleration: Assembly language or algorithmic acceleration packages */
|
||||||
|
|
||||||
|
|
||||||
|
/* Micrium: Micrium software products porting for RT-Thread */
|
||||||
|
|
||||||
|
|
||||||
/* peripheral libraries and drivers */
|
/* peripheral libraries and drivers */
|
||||||
|
|
||||||
|
|
||||||
|
/* AI packages */
|
||||||
|
|
||||||
|
|
||||||
/* miscellaneous packages */
|
/* miscellaneous packages */
|
||||||
|
|
||||||
|
|
||||||
/* samples: kernel and components samples */
|
/* samples: kernel and components samples */
|
||||||
|
|
||||||
|
|
||||||
|
/* entertainment: terminal games and other interesting software packages */
|
||||||
|
|
||||||
#define SOC_LPC55S6X_SERIES
|
#define SOC_LPC55S6X_SERIES
|
||||||
|
|
||||||
/* Hardware Drivers Config */
|
/* Hardware Drivers Config */
|
||||||
|
@ -181,26 +178,11 @@
|
||||||
#define BSP_USING_UART
|
#define BSP_USING_UART
|
||||||
#define BSP_USING_UART0
|
#define BSP_USING_UART0
|
||||||
#define HW_UART0_BAUDRATE_115200
|
#define HW_UART0_BAUDRATE_115200
|
||||||
#define BSP_USING_I2C
|
|
||||||
#define BSP_USING_I2C4
|
|
||||||
#define HW_I2C4_BAUDRATE_100kHZ
|
|
||||||
#define BSP_USING_SPI
|
|
||||||
#define BSP_USING_SPI8
|
|
||||||
#define BSP_USING_ADC
|
|
||||||
#define BSP_USING_ADC0_CH0
|
|
||||||
#define BSP_USING_SDIO
|
|
||||||
#define BSP_USING_RTC
|
|
||||||
#define BSP_USING_HWTIMER
|
|
||||||
#define BSP_USING_CTIMER0
|
|
||||||
#define BSP_USING_PWM
|
|
||||||
#define BSP_USING_CTIMER2_MAT0
|
|
||||||
|
|
||||||
/* Onboard Peripheral Drivers */
|
/* Onboard Peripheral Drivers */
|
||||||
|
|
||||||
#define BSP_USING_LED
|
#define BSP_USING_LED
|
||||||
#define BSP_USING_KEY
|
#define BSP_USING_KEY
|
||||||
#define BSP_USING_MMA8562
|
|
||||||
#define BSP_USING_MMA8562I2C "i2c4"
|
|
||||||
|
|
||||||
/* Board extended module Drivers */
|
/* Board extended module Drivers */
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<aExt>*.s*; *.src; *.a*</aExt>
|
<aExt>*.s*; *.src; *.a*</aExt>
|
||||||
<oExt>*.obj; *.o</oExt>
|
<oExt>*.obj; *.o</oExt>
|
||||||
<lExt>*.lib</lExt>
|
<lExt>*.lib</lExt>
|
||||||
<tExt>*.txt; *.h; *.inc</tExt>
|
<tExt>*.txt; *.h; *.inc; *.md</tExt>
|
||||||
<pExt>*.plm</pExt>
|
<pExt>*.plm</pExt>
|
||||||
<CppX>*.cpp</CppX>
|
<CppX>*.cpp</CppX>
|
||||||
<nMigrate>0</nMigrate>
|
<nMigrate>0</nMigrate>
|
||||||
|
|
|
@ -10,15 +10,14 @@
|
||||||
<TargetName>rtthread-lpc55s6x</TargetName>
|
<TargetName>rtthread-lpc55s6x</TargetName>
|
||||||
<ToolsetNumber>0x4</ToolsetNumber>
|
<ToolsetNumber>0x4</ToolsetNumber>
|
||||||
<ToolsetName>ARM-ADS</ToolsetName>
|
<ToolsetName>ARM-ADS</ToolsetName>
|
||||||
<pArmCC>6120000::V6.12::.\ARMCLANG</pArmCC>
|
|
||||||
<pCCUsed>6120000::V6.12::.\ARMCLANG</pCCUsed>
|
<pCCUsed>6120000::V6.12::.\ARMCLANG</pCCUsed>
|
||||||
<uAC6>1</uAC6>
|
<uAC6>1</uAC6>
|
||||||
<TargetOption>
|
<TargetOption>
|
||||||
<TargetCommonOption>
|
<TargetCommonOption>
|
||||||
<Device>LPC55S69JBD100:cm33_core0</Device>
|
<Device>LPC55S69JBD100:cm33_core0</Device>
|
||||||
<Vendor>NXP</Vendor>
|
<Vendor>NXP</Vendor>
|
||||||
<PackID>NXP.LPC55S69_DFP.1.0.0</PackID>
|
<PackID>NXP.LPC55S69_DFP.13.0.0</PackID>
|
||||||
<PackURL>http://mcuxpresso.nxp.com/cmsis_pack/repo/</PackURL>
|
<PackURL>https://mcuxpresso.nxp.com/cmsis_pack/repo/</PackURL>
|
||||||
<Cpu>IRAM(0x20000000,0x044000) IRAM2(0x04000000,0x8000) IROM(0x00000000,0x098000) XRAM(0x40100000,0x4000) CPUTYPE("Cortex-M33") FPU3(SFPU) DSP TZ CLOCK(12000000) ELITTLE</Cpu>
|
<Cpu>IRAM(0x20000000,0x044000) IRAM2(0x04000000,0x8000) IROM(0x00000000,0x098000) XRAM(0x40100000,0x4000) CPUTYPE("Cortex-M33") FPU3(SFPU) DSP TZ CLOCK(12000000) ELITTLE</Cpu>
|
||||||
<FlashUtilSpec></FlashUtilSpec>
|
<FlashUtilSpec></FlashUtilSpec>
|
||||||
<StartupFile></StartupFile>
|
<StartupFile></StartupFile>
|
||||||
|
@ -186,6 +185,7 @@
|
||||||
<uocXRam>0</uocXRam>
|
<uocXRam>0</uocXRam>
|
||||||
<RvdsVP>2</RvdsVP>
|
<RvdsVP>2</RvdsVP>
|
||||||
<RvdsMve>0</RvdsMve>
|
<RvdsMve>0</RvdsMve>
|
||||||
|
<RvdsCdeCp>0</RvdsCdeCp>
|
||||||
<hadIRAM2>1</hadIRAM2>
|
<hadIRAM2>1</hadIRAM2>
|
||||||
<hadIROM2>0</hadIROM2>
|
<hadIROM2>0</hadIROM2>
|
||||||
<StupSel>8</StupSel>
|
<StupSel>8</StupSel>
|
||||||
|
@ -352,7 +352,7 @@
|
||||||
<NoWarn>0</NoWarn>
|
<NoWarn>0</NoWarn>
|
||||||
<uSurpInc>0</uSurpInc>
|
<uSurpInc>0</uSurpInc>
|
||||||
<useXO>0</useXO>
|
<useXO>0</useXO>
|
||||||
<uClangAs>0</uClangAs>
|
<ClangAsOpt>4</ClangAsOpt>
|
||||||
<VariousControls>
|
<VariousControls>
|
||||||
<MiscControls></MiscControls>
|
<MiscControls></MiscControls>
|
||||||
<Define></Define>
|
<Define></Define>
|
||||||
|
|
Loading…
Reference in New Issue