[bsp/rpi4] fixup startup failure (#8754)
[bsp/rpi4] fixup startup issues Signed-off-by: Shell <smokewood@qq.com>
This commit is contained in:
parent
48f83a5416
commit
b14e0c08e1
|
@ -74,7 +74,7 @@ CONFIG_RT_USING_SLAB_AS_HEAP=y
|
||||||
# CONFIG_RT_USING_HEAP_ISR is not set
|
# CONFIG_RT_USING_HEAP_ISR is not set
|
||||||
CONFIG_RT_USING_HEAP=y
|
CONFIG_RT_USING_HEAP=y
|
||||||
CONFIG_RT_USING_DEVICE=y
|
CONFIG_RT_USING_DEVICE=y
|
||||||
# CONFIG_RT_USING_DEVICE_OPS is not set
|
CONFIG_RT_USING_DEVICE_OPS=y
|
||||||
CONFIG_RT_USING_INTERRUPT_INFO=y
|
CONFIG_RT_USING_INTERRUPT_INFO=y
|
||||||
# CONFIG_RT_USING_THREADSAFE_PRINTF is not set
|
# CONFIG_RT_USING_THREADSAFE_PRINTF is not set
|
||||||
CONFIG_RT_USING_SCHED_THREAD_CTX=y
|
CONFIG_RT_USING_SCHED_THREAD_CTX=y
|
||||||
|
@ -82,7 +82,7 @@ CONFIG_RT_USING_CONSOLE=y
|
||||||
CONFIG_RT_CONSOLEBUF_SIZE=256
|
CONFIG_RT_CONSOLEBUF_SIZE=256
|
||||||
CONFIG_RT_CONSOLE_DEVICE_NAME="uart0"
|
CONFIG_RT_CONSOLE_DEVICE_NAME="uart0"
|
||||||
CONFIG_RT_VER_NUM=0x50100
|
CONFIG_RT_VER_NUM=0x50100
|
||||||
# CONFIG_RT_USING_STDC_ATOMIC is not set
|
CONFIG_RT_USING_STDC_ATOMIC=y
|
||||||
CONFIG_RT_BACKTRACE_LEVEL_MAX_NR=32
|
CONFIG_RT_BACKTRACE_LEVEL_MAX_NR=32
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -134,12 +134,9 @@ CONFIG_FINSH_USING_OPTION_COMPLETION=y
|
||||||
CONFIG_RT_USING_DFS=y
|
CONFIG_RT_USING_DFS=y
|
||||||
CONFIG_DFS_USING_POSIX=y
|
CONFIG_DFS_USING_POSIX=y
|
||||||
CONFIG_DFS_USING_WORKDIR=y
|
CONFIG_DFS_USING_WORKDIR=y
|
||||||
# CONFIG_RT_USING_DFS_MNTTABLE is not set
|
|
||||||
CONFIG_DFS_FD_MAX=32
|
CONFIG_DFS_FD_MAX=32
|
||||||
CONFIG_RT_USING_DFS_V1=y
|
# CONFIG_RT_USING_DFS_V1 is not set
|
||||||
# CONFIG_RT_USING_DFS_V2 is not set
|
CONFIG_RT_USING_DFS_V2=y
|
||||||
CONFIG_DFS_FILESYSTEMS_MAX=4
|
|
||||||
CONFIG_DFS_FILESYSTEM_TYPES_MAX=4
|
|
||||||
CONFIG_RT_USING_DFS_ELMFAT=y
|
CONFIG_RT_USING_DFS_ELMFAT=y
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -167,10 +164,8 @@ CONFIG_RT_DFS_ELM_MUTEX_TIMEOUT=3000
|
||||||
CONFIG_RT_USING_DFS_DEVFS=y
|
CONFIG_RT_USING_DFS_DEVFS=y
|
||||||
# CONFIG_RT_USING_DFS_ROMFS is not set
|
# CONFIG_RT_USING_DFS_ROMFS is not set
|
||||||
# CONFIG_RT_USING_DFS_CROMFS is not set
|
# CONFIG_RT_USING_DFS_CROMFS is not set
|
||||||
# CONFIG_RT_USING_DFS_RAMFS is not set
|
|
||||||
CONFIG_RT_USING_DFS_TMPFS=y
|
CONFIG_RT_USING_DFS_TMPFS=y
|
||||||
# CONFIG_RT_USING_DFS_MQUEUE is not set
|
# CONFIG_RT_USING_DFS_MQUEUE is not set
|
||||||
# CONFIG_RT_USING_DFS_NFS is not set
|
|
||||||
# CONFIG_RT_USING_FAL is not set
|
# CONFIG_RT_USING_FAL is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -267,7 +262,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
|
||||||
CONFIG_RT_USING_POSIX_FS=y
|
CONFIG_RT_USING_POSIX_FS=y
|
||||||
CONFIG_RT_USING_POSIX_DEVIO=y
|
CONFIG_RT_USING_POSIX_DEVIO=y
|
||||||
CONFIG_RT_USING_POSIX_STDIO=y
|
CONFIG_RT_USING_POSIX_STDIO=y
|
||||||
# CONFIG_RT_USING_POSIX_POLL is not set
|
CONFIG_RT_USING_POSIX_POLL=y
|
||||||
# CONFIG_RT_USING_POSIX_SELECT is not set
|
# CONFIG_RT_USING_POSIX_SELECT is not set
|
||||||
# CONFIG_RT_USING_POSIX_EVENTFD is not set
|
# CONFIG_RT_USING_POSIX_EVENTFD is not set
|
||||||
# CONFIG_RT_USING_POSIX_TIMERFD is not set
|
# CONFIG_RT_USING_POSIX_TIMERFD is not set
|
||||||
|
@ -423,6 +418,7 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# CONFIG_PKG_USING_KAWAII_MQTT is not set
|
# CONFIG_PKG_USING_KAWAII_MQTT is not set
|
||||||
# CONFIG_PKG_USING_BC28_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_LIBMODBUS is not set
|
||||||
# CONFIG_PKG_USING_FREEMODBUS is not set
|
# CONFIG_PKG_USING_FREEMODBUS is not set
|
||||||
# CONFIG_PKG_USING_NANOPB is not set
|
# CONFIG_PKG_USING_NANOPB is not set
|
||||||
|
|
||||||
|
@ -440,21 +436,6 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
#
|
#
|
||||||
# CONFIG_PKG_USING_WLAN_WICED is not set
|
# CONFIG_PKG_USING_WLAN_WICED is not set
|
||||||
# CONFIG_PKG_USING_RW007 is not set
|
# CONFIG_PKG_USING_RW007 is not set
|
||||||
|
|
||||||
#
|
|
||||||
# CYW43012 WiFi
|
|
||||||
#
|
|
||||||
# CONFIG_PKG_USING_WLAN_CYW43012 is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# BL808 WiFi
|
|
||||||
#
|
|
||||||
# CONFIG_PKG_USING_WLAN_BL808 is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# CYW43439 WiFi
|
|
||||||
#
|
|
||||||
# CONFIG_PKG_USING_WLAN_CYW43439 is not set
|
|
||||||
# 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
|
||||||
|
@ -476,6 +457,7 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# 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_UCLOUD_IOT_SDK is not set
|
||||||
# CONFIG_PKG_USING_JOYLINK is not set
|
# CONFIG_PKG_USING_JOYLINK is not set
|
||||||
|
# CONFIG_PKG_USING_EZ_IOT_OS is not set
|
||||||
# CONFIG_PKG_USING_IOTSHARP_SDK is not set
|
# CONFIG_PKG_USING_IOTSHARP_SDK is not set
|
||||||
# CONFIG_PKG_USING_NIMBLE is not set
|
# CONFIG_PKG_USING_NIMBLE is not set
|
||||||
# CONFIG_PKG_USING_LLSYNC_SDK_ADAPTER is not set
|
# CONFIG_PKG_USING_LLSYNC_SDK_ADAPTER is not set
|
||||||
|
@ -496,8 +478,6 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# CONFIG_PKG_USING_NMEALIB is not set
|
# CONFIG_PKG_USING_NMEALIB is not set
|
||||||
# CONFIG_PKG_USING_PDULIB is not set
|
# CONFIG_PKG_USING_PDULIB is not set
|
||||||
# CONFIG_PKG_USING_BTSTACK is not set
|
# CONFIG_PKG_USING_BTSTACK is not set
|
||||||
# CONFIG_PKG_USING_BT_CYW43012 is not set
|
|
||||||
# CONFIG_PKG_USING_CYW43XX is not set
|
|
||||||
# CONFIG_PKG_USING_LORAWAN_ED_STACK is not set
|
# CONFIG_PKG_USING_LORAWAN_ED_STACK is not set
|
||||||
# CONFIG_PKG_USING_WAYZ_IOTKIT is not set
|
# CONFIG_PKG_USING_WAYZ_IOTKIT is not set
|
||||||
# CONFIG_PKG_USING_MAVLINK is not set
|
# CONFIG_PKG_USING_MAVLINK is not set
|
||||||
|
@ -506,8 +486,6 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# CONFIG_PKG_USING_AGILE_FTP is not set
|
# CONFIG_PKG_USING_AGILE_FTP is not set
|
||||||
# CONFIG_PKG_USING_EMBEDDEDPROTO is not set
|
# CONFIG_PKG_USING_EMBEDDEDPROTO is not set
|
||||||
# CONFIG_PKG_USING_RT_LINK_HW is not set
|
# CONFIG_PKG_USING_RT_LINK_HW is not set
|
||||||
# CONFIG_PKG_USING_RYANMQTT is not set
|
|
||||||
# CONFIG_PKG_USING_RYANW5500 is not set
|
|
||||||
# CONFIG_PKG_USING_LORA_PKT_FWD is not set
|
# CONFIG_PKG_USING_LORA_PKT_FWD is not set
|
||||||
# CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set
|
# CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set
|
||||||
# CONFIG_PKG_USING_LORA_PKT_SNIFFER is not set
|
# CONFIG_PKG_USING_LORA_PKT_SNIFFER is not set
|
||||||
|
@ -515,10 +493,6 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# CONFIG_PKG_USING_SMALL_MODBUS is not set
|
# CONFIG_PKG_USING_SMALL_MODBUS is not set
|
||||||
# CONFIG_PKG_USING_NET_SERVER is not set
|
# CONFIG_PKG_USING_NET_SERVER is not set
|
||||||
# CONFIG_PKG_USING_ZFTP is not set
|
# CONFIG_PKG_USING_ZFTP is not set
|
||||||
# CONFIG_PKG_USING_WOL is not set
|
|
||||||
# CONFIG_PKG_USING_ZEPHYR_POLLING is not set
|
|
||||||
# CONFIG_PKG_USING_MATTER_ADAPTATION_LAYER is not set
|
|
||||||
# CONFIG_PKG_USING_LHC_MODBUS is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# security packages
|
# security packages
|
||||||
|
@ -565,6 +539,7 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# LVGL: powerful and easy-to-use embedded GUI library
|
# LVGL: powerful and easy-to-use embedded GUI library
|
||||||
#
|
#
|
||||||
# CONFIG_PKG_USING_LVGL is not set
|
# CONFIG_PKG_USING_LVGL is not set
|
||||||
|
# CONFIG_PKG_USING_LITTLEVGL2RTT is not set
|
||||||
# CONFIG_PKG_USING_LV_MUSIC_DEMO is not set
|
# CONFIG_PKG_USING_LV_MUSIC_DEMO is not set
|
||||||
# CONFIG_PKG_USING_GUI_GUIDER_DEMO is not set
|
# CONFIG_PKG_USING_GUI_GUIDER_DEMO is not set
|
||||||
|
|
||||||
|
@ -586,12 +561,17 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# CONFIG_PKG_USING_MP3PLAYER is not set
|
# CONFIG_PKG_USING_MP3PLAYER is not set
|
||||||
# CONFIG_PKG_USING_TINYJPEG is not set
|
# CONFIG_PKG_USING_TINYJPEG is not set
|
||||||
# CONFIG_PKG_USING_UGUI is not set
|
# CONFIG_PKG_USING_UGUI is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# PainterEngine: A cross-platform graphics application framework written in C language
|
||||||
|
#
|
||||||
|
# CONFIG_PKG_USING_PAINTERENGINE is not set
|
||||||
|
# CONFIG_PKG_USING_PAINTERENGINE_AUX is not set
|
||||||
# CONFIG_PKG_USING_MCURSES is not set
|
# CONFIG_PKG_USING_MCURSES is not set
|
||||||
# CONFIG_PKG_USING_TERMBOX is not set
|
# CONFIG_PKG_USING_TERMBOX is not set
|
||||||
# CONFIG_PKG_USING_VT100 is not set
|
# CONFIG_PKG_USING_VT100 is not set
|
||||||
# CONFIG_PKG_USING_QRCODE is not set
|
# CONFIG_PKG_USING_QRCODE is not set
|
||||||
# CONFIG_PKG_USING_GUIENGINE is not set
|
# CONFIG_PKG_USING_GUIENGINE is not set
|
||||||
# CONFIG_PKG_USING_3GPP_AMRNB is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# tools packages
|
# tools packages
|
||||||
|
@ -601,9 +581,9 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# 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_SEGGER_RTT is not set
|
||||||
# CONFIG_PKG_USING_RTT_AUTO_EXE_CMD is not set
|
|
||||||
# CONFIG_PKG_USING_RDB is not set
|
# CONFIG_PKG_USING_RDB 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_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
|
||||||
|
@ -637,9 +617,9 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# CONFIG_PKG_USING_CBOX is not set
|
# CONFIG_PKG_USING_CBOX is not set
|
||||||
# CONFIG_PKG_USING_SNOWFLAKE is not set
|
# CONFIG_PKG_USING_SNOWFLAKE is not set
|
||||||
# CONFIG_PKG_USING_HASH_MATCH is not set
|
# CONFIG_PKG_USING_HASH_MATCH is not set
|
||||||
|
# CONFIG_PKG_USING_FIRE_PID_CURVE is not set
|
||||||
# CONFIG_PKG_USING_ARMV7M_DWT_TOOL is not set
|
# CONFIG_PKG_USING_ARMV7M_DWT_TOOL is not set
|
||||||
# CONFIG_PKG_USING_VOFA_PLUS is not set
|
# CONFIG_PKG_USING_VOFA_PLUS is not set
|
||||||
# CONFIG_PKG_USING_ZDEBUG is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# system packages
|
# system packages
|
||||||
|
@ -663,9 +643,6 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# CMSIS: ARM Cortex-M Microcontroller Software Interface Standard
|
# CMSIS: ARM Cortex-M Microcontroller Software Interface Standard
|
||||||
#
|
#
|
||||||
# CONFIG_PKG_USING_CMSIS_5 is not set
|
# CONFIG_PKG_USING_CMSIS_5 is not set
|
||||||
# CONFIG_PKG_USING_CMSIS_CORE is not set
|
|
||||||
# CONFIG_PKG_USING_CMSIS_DSP is not set
|
|
||||||
# CONFIG_PKG_USING_CMSIS_NN is not set
|
|
||||||
# CONFIG_PKG_USING_CMSIS_RTOS1 is not set
|
# CONFIG_PKG_USING_CMSIS_RTOS1 is not set
|
||||||
# CONFIG_PKG_USING_CMSIS_RTOS2 is not set
|
# CONFIG_PKG_USING_CMSIS_RTOS2 is not set
|
||||||
|
|
||||||
|
@ -679,14 +656,10 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# CONFIG_PKG_USING_UC_COMMON is not set
|
# CONFIG_PKG_USING_UC_COMMON is not set
|
||||||
# CONFIG_PKG_USING_UC_MODBUS is not set
|
# CONFIG_PKG_USING_UC_MODBUS is not set
|
||||||
# CONFIG_PKG_USING_FREERTOS_WRAPPER is not set
|
# CONFIG_PKG_USING_FREERTOS_WRAPPER is not set
|
||||||
# CONFIG_PKG_USING_LITEOS_SDK is not set
|
|
||||||
# CONFIG_PKG_USING_TZ_DATABASE 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_PARTITION is not set
|
# CONFIG_PKG_USING_PARTITION is not set
|
||||||
# CONFIG_PKG_USING_PERF_COUNTER is not set
|
# CONFIG_PKG_USING_PERF_COUNTER is not set
|
||||||
# CONFIG_PKG_USING_FILEX is not set
|
|
||||||
# CONFIG_PKG_USING_LEVELX is not set
|
|
||||||
# CONFIG_PKG_USING_FLASHDB 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
|
||||||
|
@ -706,7 +679,6 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# CONFIG_PKG_USING_QBOOT is not set
|
# CONFIG_PKG_USING_QBOOT is not set
|
||||||
# CONFIG_PKG_USING_PPOOL is not set
|
# CONFIG_PKG_USING_PPOOL is not set
|
||||||
# CONFIG_PKG_USING_OPENAMP is not set
|
# CONFIG_PKG_USING_OPENAMP is not set
|
||||||
# CONFIG_PKG_USING_RPMSG_LITE is not set
|
|
||||||
# CONFIG_PKG_USING_LPM is not set
|
# CONFIG_PKG_USING_LPM is not set
|
||||||
# CONFIG_PKG_USING_TLSF is not set
|
# CONFIG_PKG_USING_TLSF is not set
|
||||||
# CONFIG_PKG_USING_EVENT_RECORDER is not set
|
# CONFIG_PKG_USING_EVENT_RECORDER is not set
|
||||||
|
@ -718,124 +690,19 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# CONFIG_PKG_USING_TFDB is not set
|
# CONFIG_PKG_USING_TFDB is not set
|
||||||
# CONFIG_PKG_USING_QPC is not set
|
# CONFIG_PKG_USING_QPC is not set
|
||||||
# CONFIG_PKG_USING_AGILE_UPGRADE is not set
|
# CONFIG_PKG_USING_AGILE_UPGRADE is not set
|
||||||
# CONFIG_PKG_USING_FLASH_BLOB is not set
|
|
||||||
# CONFIG_PKG_USING_MLIBC is not set
|
|
||||||
# CONFIG_PKG_USING_TASK_MSG_BUS is not set
|
|
||||||
# CONFIG_PKG_USING_SFDB is not set
|
|
||||||
# CONFIG_PKG_USING_RTP is not set
|
|
||||||
# CONFIG_PKG_USING_REB is not set
|
|
||||||
# CONFIG_PKG_USING_R_RHEALSTONE is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# peripheral libraries and drivers
|
# peripheral libraries and drivers
|
||||||
#
|
#
|
||||||
|
# CONFIG_PKG_USING_SENSORS_DRIVERS is not set
|
||||||
#
|
# CONFIG_PKG_USING_REALTEK_AMEBA is not set
|
||||||
# HAL & SDK Drivers
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# STM32 HAL & SDK Drivers
|
|
||||||
#
|
|
||||||
# CONFIG_PKG_USING_STM32L4XX_HAL_DRIVER is not set
|
|
||||||
# CONFIG_PKG_USING_STM32WB55_SDK is not set
|
|
||||||
# CONFIG_PKG_USING_STM32_SDIO is not set
|
|
||||||
# CONFIG_PKG_USING_BLUETRUM_SDK is not set
|
|
||||||
# CONFIG_PKG_USING_EMBARC_BSP is not set
|
|
||||||
# CONFIG_PKG_USING_ESP_IDF is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Kendryte SDK
|
|
||||||
#
|
|
||||||
# CONFIG_PKG_USING_K210_SDK is not set
|
|
||||||
# CONFIG_PKG_USING_KENDRYTE_SDK is not set
|
|
||||||
# CONFIG_PKG_USING_NRF5X_SDK is not set
|
|
||||||
# CONFIG_PKG_USING_NRFX is not set
|
|
||||||
# CONFIG_PKG_USING_RASPBERRYPI_PICO_SDK is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# sensors drivers
|
|
||||||
#
|
|
||||||
# CONFIG_PKG_USING_LSM6DSM is not set
|
|
||||||
# CONFIG_PKG_USING_LSM6DSL is not set
|
|
||||||
# CONFIG_PKG_USING_LPS22HB is not set
|
|
||||||
# CONFIG_PKG_USING_HTS221 is not set
|
|
||||||
# CONFIG_PKG_USING_LSM303AGR is not set
|
|
||||||
# CONFIG_PKG_USING_BME280 is not set
|
|
||||||
# CONFIG_PKG_USING_BME680 is not set
|
|
||||||
# CONFIG_PKG_USING_BMA400 is not set
|
|
||||||
# CONFIG_PKG_USING_BMI160_BMX160 is not set
|
|
||||||
# CONFIG_PKG_USING_SPL0601 is not set
|
|
||||||
# CONFIG_PKG_USING_MS5805 is not set
|
|
||||||
# CONFIG_PKG_USING_DA270 is not set
|
|
||||||
# CONFIG_PKG_USING_DF220 is not set
|
|
||||||
# CONFIG_PKG_USING_HSHCAL001 is not set
|
|
||||||
# CONFIG_PKG_USING_BH1750 is not set
|
|
||||||
# CONFIG_PKG_USING_MPU6XXX is not set
|
|
||||||
# CONFIG_PKG_USING_AHT10 is not set
|
|
||||||
# CONFIG_PKG_USING_AP3216C is not set
|
|
||||||
# CONFIG_PKG_USING_TSL4531 is not set
|
|
||||||
# CONFIG_PKG_USING_DS18B20 is not set
|
|
||||||
# CONFIG_PKG_USING_DHT11 is not set
|
|
||||||
# CONFIG_PKG_USING_DHTXX is not set
|
|
||||||
# CONFIG_PKG_USING_GY271 is not set
|
|
||||||
# CONFIG_PKG_USING_GP2Y10 is not set
|
|
||||||
# CONFIG_PKG_USING_SGP30 is not set
|
|
||||||
# CONFIG_PKG_USING_HDC1000 is not set
|
|
||||||
# CONFIG_PKG_USING_BMP180 is not set
|
|
||||||
# CONFIG_PKG_USING_BMP280 is not set
|
|
||||||
# CONFIG_PKG_USING_SHTC1 is not set
|
|
||||||
# CONFIG_PKG_USING_BMI088 is not set
|
|
||||||
# CONFIG_PKG_USING_HMC5883 is not set
|
|
||||||
# CONFIG_PKG_USING_MAX6675 is not set
|
|
||||||
# CONFIG_PKG_USING_TMP1075 is not set
|
|
||||||
# CONFIG_PKG_USING_SR04 is not set
|
|
||||||
# CONFIG_PKG_USING_CCS811 is not set
|
|
||||||
# CONFIG_PKG_USING_PMSXX is not set
|
|
||||||
# CONFIG_PKG_USING_RT3020 is not set
|
|
||||||
# CONFIG_PKG_USING_MLX90632 is not set
|
|
||||||
# CONFIG_PKG_USING_MLX90393 is not set
|
|
||||||
# CONFIG_PKG_USING_MLX90392 is not set
|
|
||||||
# CONFIG_PKG_USING_MLX90397 is not set
|
|
||||||
# CONFIG_PKG_USING_MS5611 is not set
|
|
||||||
# CONFIG_PKG_USING_MAX31865 is not set
|
|
||||||
# CONFIG_PKG_USING_VL53L0X is not set
|
|
||||||
# CONFIG_PKG_USING_INA260 is not set
|
|
||||||
# CONFIG_PKG_USING_MAX30102 is not set
|
|
||||||
# CONFIG_PKG_USING_INA226 is not set
|
|
||||||
# CONFIG_PKG_USING_LIS2DH12 is not set
|
|
||||||
# CONFIG_PKG_USING_HS300X is not set
|
|
||||||
# CONFIG_PKG_USING_ZMOD4410 is not set
|
|
||||||
# CONFIG_PKG_USING_ISL29035 is not set
|
|
||||||
# CONFIG_PKG_USING_MMC3680KJ is not set
|
|
||||||
# CONFIG_PKG_USING_QMP6989 is not set
|
|
||||||
# CONFIG_PKG_USING_BALANCE 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_SHT4X is not set
|
|
||||||
# CONFIG_PKG_USING_AD7746 is not set
|
|
||||||
# CONFIG_PKG_USING_ADT74XX is not set
|
# CONFIG_PKG_USING_ADT74XX is not set
|
||||||
# CONFIG_PKG_USING_MAX17048 is not set
|
|
||||||
# CONFIG_PKG_USING_AS7341 is not set
|
# CONFIG_PKG_USING_AS7341 is not set
|
||||||
# CONFIG_PKG_USING_CW2015 is not set
|
# CONFIG_PKG_USING_STM32_SDIO is not set
|
||||||
|
# CONFIG_PKG_USING_ESP_IDF is not set
|
||||||
# CONFIG_PKG_USING_ICM20608 is not set
|
# CONFIG_PKG_USING_ICM20608 is not set
|
||||||
# CONFIG_PKG_USING_PAJ7620 is not set
|
|
||||||
# CONFIG_PKG_USING_STHS34PF80 is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# touch drivers
|
|
||||||
#
|
|
||||||
# CONFIG_PKG_USING_GT9147 is not set
|
|
||||||
# CONFIG_PKG_USING_GT1151 is not set
|
|
||||||
# CONFIG_PKG_USING_GT917S is not set
|
|
||||||
# CONFIG_PKG_USING_GT911 is not set
|
|
||||||
# CONFIG_PKG_USING_FT6206 is not set
|
|
||||||
# CONFIG_PKG_USING_FT5426 is not set
|
|
||||||
# CONFIG_PKG_USING_FT6236 is not set
|
|
||||||
# CONFIG_PKG_USING_XPT2046_TOUCH is not set
|
|
||||||
# CONFIG_PKG_USING_CST816X is not set
|
|
||||||
# CONFIG_PKG_USING_CST812T is not set
|
|
||||||
# CONFIG_PKG_USING_REALTEK_AMEBA is not set
|
|
||||||
# CONFIG_PKG_USING_BUTTON is not set
|
# CONFIG_PKG_USING_BUTTON is not set
|
||||||
# CONFIG_PKG_USING_PCF8574 is not set
|
# CONFIG_PKG_USING_PCF8574 is not set
|
||||||
# CONFIG_PKG_USING_SX12XX is not set
|
# CONFIG_PKG_USING_SX12XX is not set
|
||||||
|
@ -843,20 +710,32 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# CONFIG_PKG_USING_LEDBLINK is not set
|
# CONFIG_PKG_USING_LEDBLINK is not set
|
||||||
# CONFIG_PKG_USING_LITTLED is not set
|
# CONFIG_PKG_USING_LITTLED is not set
|
||||||
# CONFIG_PKG_USING_LKDGUI 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
|
||||||
|
|
||||||
|
#
|
||||||
|
# Kendryte SDK
|
||||||
|
#
|
||||||
|
# CONFIG_PKG_USING_K210_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_MULTI_INFRARED is not set
|
# CONFIG_PKG_USING_MULTI_INFRARED 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
|
||||||
# CONFIG_PKG_USING_MOTIONDRIVER2RTT is not set
|
# CONFIG_PKG_USING_MOTIONDRIVER2RTT is not set
|
||||||
|
# CONFIG_PKG_USING_AD7746 is not set
|
||||||
# CONFIG_PKG_USING_PCA9685 is not set
|
# CONFIG_PKG_USING_PCA9685 is not set
|
||||||
# CONFIG_PKG_USING_ILI9341 is not set
|
|
||||||
# CONFIG_PKG_USING_I2C_TOOLS is not set
|
# CONFIG_PKG_USING_I2C_TOOLS is not set
|
||||||
# CONFIG_PKG_USING_NRF24L01 is not set
|
# CONFIG_PKG_USING_NRF24L01 is not set
|
||||||
|
# CONFIG_PKG_USING_TOUCH_DRIVERS 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_RC522 is not set
|
||||||
# CONFIG_PKG_USING_WS2812B 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_EXTERN_RTC_DRIVERS is not set
|
||||||
# CONFIG_PKG_USING_MULTI_RTIMER is not set
|
# CONFIG_PKG_USING_MULTI_RTIMER is not set
|
||||||
# CONFIG_PKG_USING_MAX7219 is not set
|
# CONFIG_PKG_USING_MAX7219 is not set
|
||||||
|
@ -866,6 +745,7 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# CONFIG_PKG_USING_CAN_YMODEM is not set
|
# CONFIG_PKG_USING_CAN_YMODEM is not set
|
||||||
# CONFIG_PKG_USING_LORA_RADIO_DRIVER is not set
|
# CONFIG_PKG_USING_LORA_RADIO_DRIVER is not set
|
||||||
# CONFIG_PKG_USING_QLED 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_AGILE_CONSOLE is not set
|
||||||
# CONFIG_PKG_USING_LD3320 is not set
|
# CONFIG_PKG_USING_LD3320 is not set
|
||||||
# CONFIG_PKG_USING_WK2124 is not set
|
# CONFIG_PKG_USING_WK2124 is not set
|
||||||
|
@ -879,6 +759,7 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# CONFIG_PKG_USING_VIRTUAL_SENSOR is not set
|
# CONFIG_PKG_USING_VIRTUAL_SENSOR is not set
|
||||||
# CONFIG_PKG_USING_VDEVICE is not set
|
# CONFIG_PKG_USING_VDEVICE is not set
|
||||||
# CONFIG_PKG_USING_SGM706 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_RDA58XX is not set
|
||||||
# CONFIG_PKG_USING_LIBNFC is not set
|
# CONFIG_PKG_USING_LIBNFC is not set
|
||||||
# CONFIG_PKG_USING_MFOC is not set
|
# CONFIG_PKG_USING_MFOC is not set
|
||||||
|
@ -888,25 +769,17 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# CONFIG_PKG_USING_ROSSERIAL is not set
|
# CONFIG_PKG_USING_ROSSERIAL is not set
|
||||||
# CONFIG_PKG_USING_MICRO_ROS is not set
|
# CONFIG_PKG_USING_MICRO_ROS is not set
|
||||||
# CONFIG_PKG_USING_MCP23008 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
|
# CONFIG_PKG_USING_MISAKA_AT24CXX is not set
|
||||||
# CONFIG_PKG_USING_MISAKA_RGB_BLING is not set
|
# CONFIG_PKG_USING_MISAKA_RGB_BLING is not set
|
||||||
# CONFIG_PKG_USING_LORA_MODEM_DRIVER is not set
|
# CONFIG_PKG_USING_LORA_MODEM_DRIVER is not set
|
||||||
|
# CONFIG_PKG_USING_BL_MCU_SDK is not set
|
||||||
# CONFIG_PKG_USING_SOFT_SERIAL is not set
|
# CONFIG_PKG_USING_SOFT_SERIAL is not set
|
||||||
# CONFIG_PKG_USING_MB85RS16 is not set
|
# CONFIG_PKG_USING_MB85RS16 is not set
|
||||||
|
# CONFIG_PKG_USING_CW2015 is not set
|
||||||
# CONFIG_PKG_USING_RFM300 is not set
|
# CONFIG_PKG_USING_RFM300 is not set
|
||||||
# CONFIG_PKG_USING_IO_INPUT_FILTER is not set
|
# CONFIG_PKG_USING_IO_INPUT_FILTER is not set
|
||||||
# CONFIG_PKG_USING_LRF_NV7LIDAR is not set
|
# CONFIG_PKG_USING_RASPBERRYPI_PICO_SDK is not set
|
||||||
# CONFIG_PKG_USING_AIP650 is not set
|
|
||||||
# CONFIG_PKG_USING_FINGERPRINT is not set
|
|
||||||
# CONFIG_PKG_USING_BT_ECB02C is not set
|
|
||||||
# CONFIG_PKG_USING_UAT is not set
|
|
||||||
# CONFIG_PKG_USING_ST7789 is not set
|
|
||||||
# CONFIG_PKG_USING_VS1003 is not set
|
|
||||||
# CONFIG_PKG_USING_X9555 is not set
|
|
||||||
# CONFIG_PKG_USING_SYSTEM_RUN_LED is not set
|
|
||||||
# CONFIG_PKG_USING_BT_MX01 is not set
|
|
||||||
# CONFIG_PKG_USING_RGPOWER is not set
|
|
||||||
# CONFIG_PKG_USING_SPI_TOOLS is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# AI packages
|
# AI packages
|
||||||
|
@ -920,17 +793,6 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# CONFIG_PKG_USING_ULAPACK is not set
|
# CONFIG_PKG_USING_ULAPACK is not set
|
||||||
# CONFIG_PKG_USING_QUEST is not set
|
# CONFIG_PKG_USING_QUEST is not set
|
||||||
# CONFIG_PKG_USING_NAXOS is not set
|
# CONFIG_PKG_USING_NAXOS is not set
|
||||||
# CONFIG_PKG_USING_NCNN is not set
|
|
||||||
# CONFIG_PKG_USING_R_TINYMAIX is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Signal Processing and Control Algorithm Packages
|
|
||||||
#
|
|
||||||
# CONFIG_PKG_USING_FIRE_PID_CURVE is not set
|
|
||||||
# CONFIG_PKG_USING_QPID is not set
|
|
||||||
# CONFIG_PKG_USING_UKAL is not set
|
|
||||||
# CONFIG_PKG_USING_DIGITALCTRL is not set
|
|
||||||
# CONFIG_PKG_USING_KISSFFT is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# miscellaneous packages
|
# miscellaneous packages
|
||||||
|
@ -961,14 +823,12 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# CONFIG_PKG_USING_TETRIS is not set
|
# CONFIG_PKG_USING_TETRIS is not set
|
||||||
# CONFIG_PKG_USING_DONUT is not set
|
# CONFIG_PKG_USING_DONUT is not set
|
||||||
# CONFIG_PKG_USING_COWSAY is not set
|
# CONFIG_PKG_USING_COWSAY is not set
|
||||||
# CONFIG_PKG_USING_MORSE is not set
|
|
||||||
# CONFIG_PKG_USING_LIBCSV is not set
|
# CONFIG_PKG_USING_LIBCSV is not set
|
||||||
# CONFIG_PKG_USING_OPTPARSE is not set
|
# CONFIG_PKG_USING_OPTPARSE is not set
|
||||||
# CONFIG_PKG_USING_FASTLZ is not set
|
# CONFIG_PKG_USING_FASTLZ is not set
|
||||||
# CONFIG_PKG_USING_MINILZO is not set
|
# CONFIG_PKG_USING_MINILZO is not set
|
||||||
# CONFIG_PKG_USING_QUICKLZ is not set
|
# CONFIG_PKG_USING_QUICKLZ is not set
|
||||||
# CONFIG_PKG_USING_LZMA is not set
|
# CONFIG_PKG_USING_LZMA is not set
|
||||||
# CONFIG_PKG_USING_RALARAM is not set
|
|
||||||
# CONFIG_PKG_USING_MULTIBUTTON is not set
|
# CONFIG_PKG_USING_MULTIBUTTON is not set
|
||||||
# CONFIG_PKG_USING_FLEXIBLE_BUTTON is not set
|
# CONFIG_PKG_USING_FLEXIBLE_BUTTON is not set
|
||||||
# CONFIG_PKG_USING_CANFESTIVAL is not set
|
# CONFIG_PKG_USING_CANFESTIVAL is not set
|
||||||
|
@ -978,12 +838,14 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# CONFIG_PKG_USING_DSTR is not set
|
# CONFIG_PKG_USING_DSTR is not set
|
||||||
# CONFIG_PKG_USING_TINYFRAME is not set
|
# CONFIG_PKG_USING_TINYFRAME is not set
|
||||||
# CONFIG_PKG_USING_KENDRYTE_DEMO 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_UPACKER is not set
|
||||||
# CONFIG_PKG_USING_UPARAM 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_KI is not set
|
# CONFIG_PKG_USING_KI is not set
|
||||||
# CONFIG_PKG_USING_ARMv7M_DWT is not set
|
# CONFIG_PKG_USING_ARMv7M_DWT is not set
|
||||||
|
# CONFIG_PKG_USING_UKAL is not set
|
||||||
# CONFIG_PKG_USING_CRCLIB is not set
|
# CONFIG_PKG_USING_CRCLIB is not set
|
||||||
# CONFIG_PKG_USING_LWGPS is not set
|
# CONFIG_PKG_USING_LWGPS is not set
|
||||||
# CONFIG_PKG_USING_STATE_MACHINE is not set
|
# CONFIG_PKG_USING_STATE_MACHINE is not set
|
||||||
|
@ -994,7 +856,6 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# CONFIG_PKG_USING_SLCAN2RTT is not set
|
# CONFIG_PKG_USING_SLCAN2RTT is not set
|
||||||
# CONFIG_PKG_USING_SOEM is not set
|
# CONFIG_PKG_USING_SOEM is not set
|
||||||
# CONFIG_PKG_USING_QPARAM is not set
|
# CONFIG_PKG_USING_QPARAM is not set
|
||||||
# CONFIG_PKG_USING_CorevMCU_CLI is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Arduino libraries
|
# Arduino libraries
|
||||||
|
@ -1002,29 +863,25 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# CONFIG_PKG_USING_RTDUINO is not set
|
# CONFIG_PKG_USING_RTDUINO is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Projects and Demos
|
# Projects
|
||||||
#
|
#
|
||||||
# CONFIG_PKG_USING_ARDUINO_MSGQ_C_CPP_DEMO is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SKETCH_LOADER_DEMO is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_ULTRASOUND_RADAR is not set
|
# CONFIG_PKG_USING_ARDUINO_ULTRASOUND_RADAR is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_NINEINONE_SENSOR_SHIELD is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SENSOR_KIT is not set
|
# CONFIG_PKG_USING_ARDUINO_SENSOR_KIT is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_MATLAB_SUPPORT is not set
|
# CONFIG_PKG_USING_ARDUINO_MATLAB_SUPPORT is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Sensors
|
# Sensors
|
||||||
#
|
#
|
||||||
# CONFIG_PKG_USING_ARDUINO_SENSOR_DEVICE_DRIVERS is not set
|
# CONFIG_PKG_USING_ARDUINO_SEEED_BMP280 is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_SENSOR is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_SENSORLAB is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_ADXL375 is not set
|
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_ADXL375 is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_VL53L0X is not set
|
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_VL53L0X is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_VL53L1X is not set
|
# CONFIG_PKG_USING_ARDUINO_SEEED_LIS3DHTR is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_VL6180X is not set
|
# CONFIG_PKG_USING_ARDUINO_SEEED_DHT is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_MAX31855 is not set
|
# CONFIG_PKG_USING_ARDUINO_CAPACITIVESENSOR is not set
|
||||||
|
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_SENSOR is not set
|
||||||
|
# CONFIG_PKG_USING_ADAFRUIT_MAX31855 is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_MAX31865 is not set
|
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_MAX31865 is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_MAX31856 is not set
|
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_MAX31856 is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_MAX6675 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_MLX90614 is not set
|
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_MLX90614 is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_LSM9DS1 is not set
|
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_LSM9DS1 is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_AHTX0 is not set
|
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_AHTX0 is not set
|
||||||
|
@ -1066,7 +923,7 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_LIS3MDL is not set
|
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_LIS3MDL is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_MLX90640 is not set
|
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_MLX90640 is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_MMA8451 is not set
|
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_MMA8451 is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_MSA301 is not set
|
# CONFIG_PKG_USING_ADAFRUIT_MSA301 is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_MPL115A2 is not set
|
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_MPL115A2 is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_BNO08X is not set
|
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_BNO08X is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_BNO08X_RVC is not set
|
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_BNO08X_RVC is not set
|
||||||
|
@ -1116,65 +973,22 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_VEML6070 is not set
|
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_VEML6070 is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_VEML6075 is not set
|
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_VEML6075 is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_VEML7700 is not set
|
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_VEML7700 is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_LIS3DHTR is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_DHT is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_ADXL335 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_ADXL345 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_BME280 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_BMP280 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_H3LIS331DL is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_MMA7660 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_TSL2561 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_PAJ7620 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_VL53L0X is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_ITG3200 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_SHT31 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_HP20X is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_DRV2605L is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_BBM150 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_HMC5883L is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_LSM303DLH is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_TCS3414CS is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_MP503 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_BMP085 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_HIGHTEMP is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_VEML6070 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_SI1145 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_SHT35 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_AT42QT1070 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_LSM6DS3 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_HDC1000 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_HM3301 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_MCP9600 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_LTC2941 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_LDC1612 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_CAPACITIVESENSOR is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Display
|
# Display
|
||||||
#
|
#
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_GFX_LIBRARY is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_U8G2 is not set
|
# CONFIG_PKG_USING_ARDUINO_U8G2 is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_TFT_ESPI is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_ST7735 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_SSD1306 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_ILI9341 is not set
|
|
||||||
# CONFIG_PKG_USING_SEEED_TM1637 is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Timing
|
# Timing
|
||||||
#
|
#
|
||||||
# CONFIG_PKG_USING_ARDUINO_RTCLIB is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_MSTIMER2 is not set
|
# CONFIG_PKG_USING_ARDUINO_MSTIMER2 is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_TICKER is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_TASKSCHEDULER is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Data Processing
|
# Data Processing
|
||||||
#
|
#
|
||||||
# CONFIG_PKG_USING_ARDUINO_KALMANFILTER is not set
|
# CONFIG_PKG_USING_ARDUINO_KALMANFILTER is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_ARDUINOJSON is not set
|
# CONFIG_PKG_USING_ARDUINO_ARDUINOJSON is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_TENSORFLOW_LITE_MICRO is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Data Storage
|
# Data Storage
|
||||||
|
@ -1191,17 +1005,10 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
#
|
#
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_PCF8574 is not set
|
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_PCF8574 is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_PCA9685 is not set
|
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_PCA9685 is not set
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_TPA2016 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_DRV2605 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_DS1841 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_DS3502 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_SEEED_PCF85063TP is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Other
|
# Other
|
||||||
#
|
#
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_MFRC630 is not set
|
|
||||||
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_SI5351 is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Signal IO
|
# Signal IO
|
||||||
|
@ -1218,6 +1025,67 @@ CONFIG_RT_USING_ADT_REF=y
|
||||||
#
|
#
|
||||||
# Uncategorized
|
# Uncategorized
|
||||||
#
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# Privated Packages of RealThread
|
||||||
|
#
|
||||||
|
# CONFIG_PKG_USING_CODEC is not set
|
||||||
|
# CONFIG_PKG_USING_PLAYER is not set
|
||||||
|
# CONFIG_PKG_USING_MPLAYER is not set
|
||||||
|
# CONFIG_PKG_USING_PERSIMMON_SRC is not set
|
||||||
|
# CONFIG_PKG_USING_JS_PERSIMMON is not set
|
||||||
|
# CONFIG_PKG_USING_JERRYSCRIPT_WIN32 is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# Network Utilities
|
||||||
|
#
|
||||||
|
# CONFIG_PKG_USING_MDNS is not set
|
||||||
|
# CONFIG_PKG_USING_UPNP is not set
|
||||||
|
# CONFIG_PKG_USING_WICED is not set
|
||||||
|
# CONFIG_PKG_USING_CLOUDSDK is not set
|
||||||
|
# CONFIG_PKG_USING_POWER_MANAGER is not set
|
||||||
|
# CONFIG_PKG_USING_RT_OTA is not set
|
||||||
|
# CONFIG_PKG_USING_RTINSIGHT is not set
|
||||||
|
# CONFIG_PKG_USING_SMARTCONFIG is not set
|
||||||
|
# CONFIG_PKG_USING_RTX is not set
|
||||||
|
# CONFIG_RT_USING_TESTCASE is not set
|
||||||
|
# CONFIG_PKG_USING_NGHTTP2 is not set
|
||||||
|
# CONFIG_PKG_USING_AVS is not set
|
||||||
|
# CONFIG_PKG_USING_ALI_LINKKIT is not set
|
||||||
|
# CONFIG_PKG_USING_STS is not set
|
||||||
|
# CONFIG_PKG_USING_DLMS is not set
|
||||||
|
# CONFIG_PKG_USING_AUDIO_FRAMEWORK is not set
|
||||||
|
# CONFIG_PKG_USING_ZBAR is not set
|
||||||
|
# CONFIG_PKG_USING_MCF is not set
|
||||||
|
# CONFIG_PKG_USING_URPC is not set
|
||||||
|
# CONFIG_PKG_USING_DCM is not set
|
||||||
|
# CONFIG_PKG_USING_EMQ is not set
|
||||||
|
# CONFIG_PKG_USING_CFGM is not set
|
||||||
|
# CONFIG_PKG_USING_RT_CMSIS_DAP is not set
|
||||||
|
# CONFIG_PKG_USING_SMODULE is not set
|
||||||
|
# CONFIG_PKG_USING_SNFD is not set
|
||||||
|
# CONFIG_PKG_USING_UDBD is not set
|
||||||
|
# CONFIG_PKG_USING_BENCHMARK is not set
|
||||||
|
# CONFIG_PKG_USING_UBJSON is not set
|
||||||
|
# CONFIG_PKG_USING_DATATYPE is not set
|
||||||
|
# CONFIG_PKG_USING_FASTFS is not set
|
||||||
|
# CONFIG_PKG_USING_RIL is not set
|
||||||
|
# CONFIG_PKG_USING_WATCH_DCM_SVC is not set
|
||||||
|
# CONFIG_PKG_USING_WATCH_APP_FWK is not set
|
||||||
|
# CONFIG_PKG_USING_GUI_TEST is not set
|
||||||
|
# CONFIG_PKG_USING_PMEM is not set
|
||||||
|
# CONFIG_PKG_USING_LWRDP is not set
|
||||||
|
# CONFIG_PKG_USING_MASAN is not set
|
||||||
|
# CONFIG_PKG_USING_BSDIFF_LIB is not set
|
||||||
|
# CONFIG_PKG_USING_PRC_DIFF is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# RT-Thread Smart
|
||||||
|
#
|
||||||
|
# CONFIG_PKG_USING_UKERNEL is not set
|
||||||
|
# CONFIG_PKG_USING_TRACE_AGENT is not set
|
||||||
|
# CONFIG_PKG_USING_DLOG is not set
|
||||||
|
# CONFIG_PKG_USING_EXT4 is not set
|
||||||
CONFIG_BCM2711_SOC=y
|
CONFIG_BCM2711_SOC=y
|
||||||
CONFIG_BSP_SUPPORT_FPU=y
|
CONFIG_BSP_SUPPORT_FPU=y
|
||||||
# CONFIG_BSP_USING_VM_MODE is not set
|
# CONFIG_BSP_USING_VM_MODE is not set
|
||||||
|
|
|
@ -13,7 +13,7 @@ DefaultEnvironment(tools=[])
|
||||||
env = Environment(tools = ['mingw'],
|
env = Environment(tools = ['mingw'],
|
||||||
AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS,
|
AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS,
|
||||||
CC = rtconfig.CC, CFLAGS = rtconfig.CFLAGS,
|
CC = rtconfig.CC, CFLAGS = rtconfig.CFLAGS,
|
||||||
CXX = rtconfig.CXX, CXXFLAGS = rtconfig.CXXFLAGS,
|
CPP = rtconfig.CPP, CXXFLAGS = rtconfig.CXXFLAGS,
|
||||||
AR = rtconfig.AR, ARFLAGS = '-rc',
|
AR = rtconfig.AR, ARFLAGS = '-rc',
|
||||||
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
|
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
|
||||||
env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
|
env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
|
||||||
|
@ -26,9 +26,5 @@ Export('rtconfig')
|
||||||
# prepare building environment
|
# prepare building environment
|
||||||
objs = PrepareBuilding(env, RTT_ROOT)
|
objs = PrepareBuilding(env, RTT_ROOT)
|
||||||
|
|
||||||
if GetDepend('RT_USING_SMART'):
|
|
||||||
# use smart link.lds
|
|
||||||
env['LINKFLAGS'] = env['LINKFLAGS'].replace('link.lds', 'link_smart.lds')
|
|
||||||
|
|
||||||
# make a building
|
# make a building
|
||||||
DoBuilding(TARGET, objs)
|
DoBuilding(TARGET, objs)
|
||||||
|
|
|
@ -10,16 +10,29 @@
|
||||||
|
|
||||||
#include <rtthread.h>
|
#include <rtthread.h>
|
||||||
|
|
||||||
#ifdef BSP_USING_SDIO0
|
#ifdef BSP_USING_SDIO
|
||||||
#include <dfs_fs.h>
|
#include <dfs_fs.h>
|
||||||
|
|
||||||
int mnt_init(void)
|
int mnt_init(void)
|
||||||
{
|
{
|
||||||
rt_thread_delay(RT_TICK_PER_SECOND);
|
rt_thread_delay(RT_TICK_PER_SECOND/100);
|
||||||
if (dfs_mount("sd0", "/", "elm", 0, 0) == 0)
|
if (dfs_mount("sd1", "/", "ext", 0, 0) == 0)
|
||||||
{
|
{
|
||||||
rt_kprintf("file system initialization done!\n");
|
rt_kprintf("file system initialization done!\n");
|
||||||
}
|
}
|
||||||
|
else if (dfs_mount("sd0", "/", "elm", 0, 0) == 0)
|
||||||
|
{
|
||||||
|
rt_kprintf("file system initialization done!\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifdef RT_USING_DFS_ROMFS
|
||||||
|
mkdir("/rom", 0777);
|
||||||
|
extern const struct romfs_dirent romfs_root;
|
||||||
|
if (dfs_mount(RT_NULL, "/rom", "rom", 0, &romfs_root) == 0)
|
||||||
|
{
|
||||||
|
rt_kprintf("ROM File System initialized!\n");
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,9 @@
|
||||||
* 2023-03-28 WangXiaoyao sync works & memory layout fixups
|
* 2023-03-28 WangXiaoyao sync works & memory layout fixups
|
||||||
* code formats
|
* code formats
|
||||||
*/
|
*/
|
||||||
|
#define DBG_TAG "board"
|
||||||
|
#define DBG_LVL DBG_INFO
|
||||||
|
#include <rtdbg.h>
|
||||||
|
|
||||||
#include <rthw.h>
|
#include <rthw.h>
|
||||||
#include <rtthread.h>
|
#include <rtthread.h>
|
||||||
|
@ -60,7 +63,7 @@ struct mem_desc platform_mem_desc[] = {
|
||||||
};
|
};
|
||||||
#else
|
#else
|
||||||
struct mem_desc platform_mem_desc[] = {
|
struct mem_desc platform_mem_desc[] = {
|
||||||
{0x00200000, (128ul << 20) - 1, 0x00200000, NORMAL_MEM},
|
{0x00200000, (256ul << 20) - 1, 0x00200000, NORMAL_MEM},
|
||||||
{0xFC000000, 0x000100000000 - 1, 0xFC000000, DEVICE_MEM},
|
{0xFC000000, 0x000100000000 - 1, 0xFC000000, DEVICE_MEM},
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
@ -90,12 +93,14 @@ rt_region_t init_page_region = {
|
||||||
*/
|
*/
|
||||||
void rt_hw_board_init(void)
|
void rt_hw_board_init(void)
|
||||||
{
|
{
|
||||||
|
rt_hw_earlycon_ioremap_early();
|
||||||
|
|
||||||
/* io device remap */
|
/* io device remap */
|
||||||
#ifdef RT_USING_SMART
|
#ifdef RT_USING_SMART
|
||||||
rt_hw_mmu_map_init(&rt_kernel_space, (void*)0xfffffffff0000000, 0x10000000, MMUTable, PV_OFFSET);
|
rt_hw_mmu_map_init(&rt_kernel_space, (void*)0xfffffffff0000000, 0x10000000, MMUTable, PV_OFFSET);
|
||||||
#else
|
#else
|
||||||
rt_hw_mmu_map_init(&rt_kernel_space, (void*)0x000400000000, 0x10000000, MMUTable, 0);
|
rt_hw_mmu_map_init(&rt_kernel_space, (void*)0x080000000000, 0x10000000, MMUTable, 0);
|
||||||
#endif
|
#endif /* RT_USING_SMART */
|
||||||
rt_page_init(init_page_region);
|
rt_page_init(init_page_region);
|
||||||
rt_hw_mmu_setup(&rt_kernel_space, platform_mem_desc, platform_mem_desc_size);
|
rt_hw_mmu_setup(&rt_kernel_space, platform_mem_desc, platform_mem_desc_size);
|
||||||
|
|
||||||
|
@ -147,8 +152,6 @@ void rt_hw_board_init(void)
|
||||||
rt_console_set_device(RT_CONSOLE_DEVICE_NAME);
|
rt_console_set_device(RT_CONSOLE_DEVICE_NAME);
|
||||||
#endif /* RT_USING_CONSOLE */
|
#endif /* RT_USING_CONSOLE */
|
||||||
|
|
||||||
rt_kprintf("heap: 0x%08x - 0x%08x\n", HEAP_BEGIN, HEAP_END);
|
|
||||||
|
|
||||||
#ifdef RT_USING_COMPONENTS_INIT
|
#ifdef RT_USING_COMPONENTS_INIT
|
||||||
rt_components_board_init();
|
rt_components_board_init();
|
||||||
#endif
|
#endif
|
||||||
|
@ -170,33 +173,6 @@ static unsigned long cpu_release_paddr[] =
|
||||||
[4] = 0x00
|
[4] = 0x00
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef RT_USING_SMART
|
|
||||||
static void *_remap(void *paddr, size_t size)
|
|
||||||
{
|
|
||||||
int ret;
|
|
||||||
static void *va = 0;
|
|
||||||
size_t low_off = (size_t)paddr & ARCH_PAGE_MASK;
|
|
||||||
if (va)
|
|
||||||
return va + low_off;
|
|
||||||
|
|
||||||
va = rt_kernel_space.start;
|
|
||||||
while (1)
|
|
||||||
{
|
|
||||||
int rt_kmem_map_phy(void *va, void *pa, rt_size_t length, rt_size_t attr);
|
|
||||||
ret = rt_kmem_map_phy(va, 0x0, ARCH_PAGE_SIZE, MMU_MAP_K_DEVICE);
|
|
||||||
if (ret == RT_EOK)
|
|
||||||
{
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
va += ARCH_PAGE_SIZE;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return va + low_off;
|
|
||||||
}
|
|
||||||
#endif /* RT_USING_SMART */
|
|
||||||
|
|
||||||
void rt_hw_secondary_cpu_up(void)
|
void rt_hw_secondary_cpu_up(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -204,11 +180,7 @@ void rt_hw_secondary_cpu_up(void)
|
||||||
|
|
||||||
for (i = 1; i < RT_CPUS_NR && cpu_release_paddr[i]; ++i)
|
for (i = 1; i < RT_CPUS_NR && cpu_release_paddr[i]; ++i)
|
||||||
{
|
{
|
||||||
#ifdef RT_USING_SMART
|
|
||||||
release_addr = rt_ioremap((void *)cpu_release_paddr[i], sizeof(cpu_release_paddr[0]));
|
release_addr = rt_ioremap((void *)cpu_release_paddr[i], sizeof(cpu_release_paddr[0]));
|
||||||
#else
|
|
||||||
release_addr = _remap((void *)cpu_release_paddr[i], sizeof(cpu_release_paddr[0]));
|
|
||||||
#endif
|
|
||||||
__asm__ volatile ("str %0, [%1]"::"rZ"((unsigned long)_secondary_cpu_entry + PV_OFFSET), "r"(release_addr));
|
__asm__ volatile ("str %0, [%1]"::"rZ"((unsigned long)_secondary_cpu_entry + PV_OFFSET), "r"(release_addr));
|
||||||
rt_hw_cpu_dcache_ops(RT_HW_CACHE_FLUSH, release_addr, sizeof(release_addr));
|
rt_hw_cpu_dcache_ops(RT_HW_CACHE_FLUSH, release_addr, sizeof(release_addr));
|
||||||
asm volatile ("dsb sy");
|
asm volatile ("dsb sy");
|
||||||
|
|
|
@ -26,9 +26,9 @@ extern int __bss_end;
|
||||||
#else
|
#else
|
||||||
#define KERNEL_VADDR_START 0x0
|
#define KERNEL_VADDR_START 0x0
|
||||||
|
|
||||||
#define HEAP_END (KERNEL_VADDR_START + 64 * 1024 * 1024)
|
#define HEAP_END (KERNEL_VADDR_START + 32 * 1024 * 1024)
|
||||||
#define PAGE_START HEAP_END
|
#define PAGE_START HEAP_END
|
||||||
#define PAGE_END ((size_t)PAGE_START + 64 * 1024 * 1024)
|
#define PAGE_END ((size_t)PAGE_START + 128 * 1024 * 1024)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void rt_hw_board_init(void);
|
void rt_hw_board_init(void);
|
||||||
|
|
|
@ -20,9 +20,9 @@
|
||||||
#include "raspi4.h"
|
#include "raspi4.h"
|
||||||
#include "drv_eth.h"
|
#include "drv_eth.h"
|
||||||
|
|
||||||
#define DBG_LEVEL DBG_LOG
|
#define LOG_LVL DBG_LOG
|
||||||
#include <rtdbg.h>
|
|
||||||
#define LOG_TAG "drv.eth"
|
#define LOG_TAG "drv.eth"
|
||||||
|
#include <rtdbg.h>
|
||||||
|
|
||||||
static int link_speed = 0;
|
static int link_speed = 0;
|
||||||
static int link_flag = 0;
|
static int link_flag = 0;
|
||||||
|
@ -536,17 +536,17 @@ static void link_task_entry(void *param)
|
||||||
if ((bcmgenet_mdio_read(1, BCM54213PE_STATUS) & (1 << 10)) || (bcmgenet_mdio_read(1, BCM54213PE_STATUS) & (1 << 11)))
|
if ((bcmgenet_mdio_read(1, BCM54213PE_STATUS) & (1 << 10)) || (bcmgenet_mdio_read(1, BCM54213PE_STATUS) & (1 << 11)))
|
||||||
{
|
{
|
||||||
link_speed = 1000;
|
link_speed = 1000;
|
||||||
rt_kprintf("Support link mode Speed 1000M\n");
|
LOG_I("Support link mode Speed 1000M\n");
|
||||||
}
|
}
|
||||||
else if ((bcmgenet_mdio_read(1, 0x05) & (1 << 7)) || (bcmgenet_mdio_read(1, 0x05) & (1 << 8)) || (bcmgenet_mdio_read(1, 0x05) & (1 << 9)))
|
else if ((bcmgenet_mdio_read(1, 0x05) & (1 << 7)) || (bcmgenet_mdio_read(1, 0x05) & (1 << 8)) || (bcmgenet_mdio_read(1, 0x05) & (1 << 9)))
|
||||||
{
|
{
|
||||||
link_speed = 100;
|
link_speed = 100;
|
||||||
rt_kprintf("Support link mode Speed 100M\n");
|
LOG_I("Support link mode Speed 100M\n");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
link_speed = 10;
|
link_speed = 10;
|
||||||
rt_kprintf("Support link mode Speed 10M\n");
|
LOG_I("Support link mode Speed 10M\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
bcmgenet_gmac_eth_start();
|
bcmgenet_gmac_eth_start();
|
||||||
|
@ -573,7 +573,7 @@ static rt_err_t bcmgenet_eth_init(rt_device_t device)
|
||||||
else if (major == 0)
|
else if (major == 0)
|
||||||
major = 1;
|
major = 1;
|
||||||
|
|
||||||
rt_kprintf("Uns upported GENETv%d.%d\n", major, (hw_reg >> 16) & 0x0f);
|
LOG_W("Unsupported GENETv%d.%d\n", major, (hw_reg >> 16) & 0x0f);
|
||||||
return -RT_ERROR;
|
return -RT_ERROR;
|
||||||
}
|
}
|
||||||
/* set interface */
|
/* set interface */
|
||||||
|
@ -623,7 +623,7 @@ rt_err_t rt_eth_tx(rt_device_t device, struct pbuf *p)
|
||||||
/* lock eth device */
|
/* lock eth device */
|
||||||
if (link_flag != 1)
|
if (link_flag != 1)
|
||||||
{
|
{
|
||||||
rt_kprintf("link disconnected\n");
|
LOG_I("link disconnected\n");
|
||||||
return -RT_ERROR;
|
return -RT_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -631,7 +631,7 @@ rt_err_t rt_eth_tx(rt_device_t device, struct pbuf *p)
|
||||||
if (copy_len == 0)
|
if (copy_len == 0)
|
||||||
{
|
{
|
||||||
|
|
||||||
rt_kprintf("copy len is zero\n");
|
LOG_I("copy len is zero\n");
|
||||||
return -RT_ERROR;
|
return -RT_ERROR;
|
||||||
}
|
}
|
||||||
bcmgenet_gmac_eth_send((void *)eth_send_no_cache, p->tot_len);
|
bcmgenet_gmac_eth_send((void *)eth_send_no_cache, p->tot_len);
|
||||||
|
@ -664,9 +664,16 @@ struct pbuf *rt_eth_rx(rt_device_t device)
|
||||||
return pbuf;
|
return pbuf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef RT_USING_DEVICE_OPS
|
||||||
|
static struct rt_device_ops eth_devops = {
|
||||||
|
.init = bcmgenet_eth_init,
|
||||||
|
.control = bcmgenet_eth_control,
|
||||||
|
};
|
||||||
|
#endif /* RT_USING_DEVICE_OPS */
|
||||||
|
|
||||||
int rt_hw_eth_init(void)
|
int rt_hw_eth_init(void)
|
||||||
{
|
{
|
||||||
rt_uint8_t mac_addr[6];
|
rt_uint8_t mac_addr[6] = {0xdc, 0xa6, 0x32, 0x28, 0x22, 0x50};
|
||||||
|
|
||||||
rt_sem_init(&link_ack, "link_ack", 0, RT_IPC_FLAG_FIFO);
|
rt_sem_init(&link_ack, "link_ack", 0, RT_IPC_FLAG_FIFO);
|
||||||
|
|
||||||
|
@ -685,12 +692,16 @@ int rt_hw_eth_init(void)
|
||||||
eth_dev.dev_addr[5] = mac_addr[5];
|
eth_dev.dev_addr[5] = mac_addr[5];
|
||||||
|
|
||||||
eth_dev.parent.parent.type = RT_Device_Class_NetIf;
|
eth_dev.parent.parent.type = RT_Device_Class_NetIf;
|
||||||
|
#ifdef RT_USING_DEVICE_OPS
|
||||||
|
eth_dev.parent.parent.ops = ð_devops;
|
||||||
|
#else /* !RT_USING_DEVICE_OPS */
|
||||||
eth_dev.parent.parent.init = bcmgenet_eth_init;
|
eth_dev.parent.parent.init = bcmgenet_eth_init;
|
||||||
eth_dev.parent.parent.open = RT_NULL;
|
eth_dev.parent.parent.open = RT_NULL;
|
||||||
eth_dev.parent.parent.close = RT_NULL;
|
eth_dev.parent.parent.close = RT_NULL;
|
||||||
eth_dev.parent.parent.read = RT_NULL;
|
eth_dev.parent.parent.read = RT_NULL;
|
||||||
eth_dev.parent.parent.write = RT_NULL;
|
eth_dev.parent.parent.write = RT_NULL;
|
||||||
eth_dev.parent.parent.control = bcmgenet_eth_control;
|
eth_dev.parent.parent.control = bcmgenet_eth_control;
|
||||||
|
#endif /* RT_USING_DEVICE_OPS */
|
||||||
eth_dev.parent.parent.user_data = RT_NULL;
|
eth_dev.parent.parent.user_data = RT_NULL;
|
||||||
|
|
||||||
eth_dev.parent.eth_tx = rt_eth_tx;
|
eth_dev.parent.eth_tx = rt_eth_tx;
|
||||||
|
|
|
@ -187,8 +187,8 @@ static const struct rt_uart_ops _uart_ops =
|
||||||
uart_getc,
|
uart_getc,
|
||||||
};
|
};
|
||||||
|
|
||||||
void *earlycon_base = (void *)AUX_BASE;
|
volatile void *earlycon_base = 0;
|
||||||
size_t earlycon_size = 0x1000;
|
const size_t earlycon_size = 0x1000;
|
||||||
|
|
||||||
extern void early_putc(int c)
|
extern void early_putc(int c)
|
||||||
{
|
{
|
||||||
|
@ -200,6 +200,11 @@ extern void early_putc(int c)
|
||||||
AUX_MU_IO_REG(earlycon_base) = c;
|
AUX_MU_IO_REG(earlycon_base) = c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void rt_hw_earlycon_ioremap_early(void)
|
||||||
|
{
|
||||||
|
earlycon_base = rt_ioremap_early((void *)AUX_BASE, earlycon_size);
|
||||||
|
}
|
||||||
|
|
||||||
void rt_hw_console_output(const char *str)
|
void rt_hw_console_output(const char *str)
|
||||||
{
|
{
|
||||||
if (earlycon_base)
|
if (earlycon_base)
|
||||||
|
|
|
@ -103,5 +103,6 @@
|
||||||
#define AUX_SPI1_CNTL1_REG(BASE) HWREG32(BASE + 0xC4) /* SPI 2 Control register 1 8bit */
|
#define AUX_SPI1_CNTL1_REG(BASE) HWREG32(BASE + 0xC4) /* SPI 2 Control register 1 8bit */
|
||||||
|
|
||||||
int rt_hw_uart_init(void);
|
int rt_hw_uart_init(void);
|
||||||
|
void rt_hw_earlycon_ioremap_early(void);
|
||||||
|
|
||||||
#endif /* DRV_UART_H__ */
|
#endif /* DRV_UART_H__ */
|
||||||
|
|
|
@ -116,7 +116,7 @@ int rt_hw_wdt_init(void)
|
||||||
}
|
}
|
||||||
INIT_DEVICE_EXPORT(rt_hw_wdt_init);
|
INIT_DEVICE_EXPORT(rt_hw_wdt_init);
|
||||||
|
|
||||||
void reboot(void)
|
void rt_hw_cpu_reset(void)
|
||||||
{
|
{
|
||||||
unsigned int r;
|
unsigned int r;
|
||||||
|
|
||||||
|
@ -131,5 +131,5 @@ void reboot(void)
|
||||||
|
|
||||||
while (1);
|
while (1);
|
||||||
}
|
}
|
||||||
MSH_CMD_EXPORT(reboot,reboot system...);
|
MSH_CMD_EXPORT_ALIAS(rt_hw_cpu_reset, reboot, reboot system...);
|
||||||
#endif /*BSP_USING_WDT */
|
#endif /*BSP_USING_WDT */
|
||||||
|
|
|
@ -1,109 +0,0 @@
|
||||||
OUTPUT_FORMAT("elf64-littleaarch64", "elf64-littleaarch64", "elf64-littleaarch64")
|
|
||||||
OUTPUT_ARCH(aarch64)
|
|
||||||
SECTIONS
|
|
||||||
{
|
|
||||||
. = 0x208000;
|
|
||||||
/* . = 0xffff000000008000; */
|
|
||||||
|
|
||||||
__text_start = .;
|
|
||||||
.text :
|
|
||||||
{
|
|
||||||
KEEP(*(.text.entrypoint))
|
|
||||||
KEEP(*(.vectors))
|
|
||||||
*(.text)
|
|
||||||
*(.text.*)
|
|
||||||
|
|
||||||
/* section information for utest */
|
|
||||||
. = ALIGN(4);
|
|
||||||
__rt_utest_tc_tab_start = .;
|
|
||||||
KEEP(*(UtestTcTab))
|
|
||||||
__rt_utest_tc_tab_end = .;
|
|
||||||
|
|
||||||
/* section information for finsh shell */
|
|
||||||
. = ALIGN(4);
|
|
||||||
__fsymtab_start = .;
|
|
||||||
KEEP(*(FSymTab))
|
|
||||||
__fsymtab_end = .;
|
|
||||||
. = ALIGN(4);
|
|
||||||
__vsymtab_start = .;
|
|
||||||
KEEP(*(VSymTab))
|
|
||||||
__vsymtab_end = .;
|
|
||||||
. = ALIGN(4);
|
|
||||||
|
|
||||||
/* section information for modules */
|
|
||||||
. = ALIGN(4);
|
|
||||||
__rtmsymtab_start = .;
|
|
||||||
KEEP(*(RTMSymTab))
|
|
||||||
__rtmsymtab_end = .;
|
|
||||||
|
|
||||||
/* section information for initialization */
|
|
||||||
. = ALIGN(4);
|
|
||||||
__rt_init_start = .;
|
|
||||||
KEEP(*(SORT(.rti_fn*)))
|
|
||||||
__rt_init_end = .;
|
|
||||||
} =0
|
|
||||||
__text_end = .;
|
|
||||||
|
|
||||||
.ARM.exidx :
|
|
||||||
{
|
|
||||||
__exidx_start = .;
|
|
||||||
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
|
|
||||||
__exidx_end = .;
|
|
||||||
}
|
|
||||||
|
|
||||||
__rodata_start = .;
|
|
||||||
.rodata : { *(.rodata) *(.rodata.*) }
|
|
||||||
__rodata_end = .;
|
|
||||||
|
|
||||||
. = ALIGN(4);
|
|
||||||
.ctors :
|
|
||||||
{
|
|
||||||
PROVIDE(__ctors_start__ = .);
|
|
||||||
KEEP(*(SORT(.ctors.*)))
|
|
||||||
KEEP(*(.ctors))
|
|
||||||
PROVIDE(__ctors_end__ = .);
|
|
||||||
}
|
|
||||||
|
|
||||||
.dtors :
|
|
||||||
{
|
|
||||||
PROVIDE(__dtors_start__ = .);
|
|
||||||
KEEP(*(SORT(.dtors.*)))
|
|
||||||
KEEP(*(.dtors))
|
|
||||||
PROVIDE(__dtors_end__ = .);
|
|
||||||
}
|
|
||||||
|
|
||||||
. = ALIGN(8);
|
|
||||||
__data_start = .;
|
|
||||||
.data :
|
|
||||||
{
|
|
||||||
*(.data)
|
|
||||||
*(.data.*)
|
|
||||||
}
|
|
||||||
__data_end = .;
|
|
||||||
|
|
||||||
. = ALIGN(8);
|
|
||||||
__bss_start = .;
|
|
||||||
.bss :
|
|
||||||
{
|
|
||||||
*(.bss)
|
|
||||||
*(.bss.*)
|
|
||||||
*(COMMON)
|
|
||||||
. = ALIGN(4);
|
|
||||||
}
|
|
||||||
. = ALIGN(4);
|
|
||||||
__bss_end = .;
|
|
||||||
|
|
||||||
/* Stabs debugging sections. */
|
|
||||||
.stab 0 : { *(.stab) }
|
|
||||||
.stabstr 0 : { *(.stabstr) }
|
|
||||||
.stab.excl 0 : { *(.stab.excl) }
|
|
||||||
.stab.exclstr 0 : { *(.stab.exclstr) }
|
|
||||||
.stab.index 0 : { *(.stab.index) }
|
|
||||||
.stab.indexstr 0 : { *(.stab.indexstr) }
|
|
||||||
.comment 0 : { *(.comment) }
|
|
||||||
|
|
||||||
__data_size = SIZEOF(.data);
|
|
||||||
__bss_size = SIZEOF(.bss);
|
|
||||||
|
|
||||||
_end = .;
|
|
||||||
}
|
|
|
@ -1,109 +0,0 @@
|
||||||
OUTPUT_FORMAT("elf64-littleaarch64", "elf64-littleaarch64", "elf64-littleaarch64")
|
|
||||||
OUTPUT_ARCH(aarch64)
|
|
||||||
SECTIONS
|
|
||||||
{
|
|
||||||
/* . = 0x208000; */
|
|
||||||
. = 0xffff000000008000;
|
|
||||||
|
|
||||||
__text_start = .;
|
|
||||||
.text :
|
|
||||||
{
|
|
||||||
KEEP(*(.text.entrypoint))
|
|
||||||
KEEP(*(.vectors))
|
|
||||||
*(.text)
|
|
||||||
*(.text.*)
|
|
||||||
|
|
||||||
/* section information for utest */
|
|
||||||
. = ALIGN(4);
|
|
||||||
__rt_utest_tc_tab_start = .;
|
|
||||||
KEEP(*(UtestTcTab))
|
|
||||||
__rt_utest_tc_tab_end = .;
|
|
||||||
|
|
||||||
/* section information for finsh shell */
|
|
||||||
. = ALIGN(4);
|
|
||||||
__fsymtab_start = .;
|
|
||||||
KEEP(*(FSymTab))
|
|
||||||
__fsymtab_end = .;
|
|
||||||
. = ALIGN(4);
|
|
||||||
__vsymtab_start = .;
|
|
||||||
KEEP(*(VSymTab))
|
|
||||||
__vsymtab_end = .;
|
|
||||||
. = ALIGN(4);
|
|
||||||
|
|
||||||
/* section information for modules */
|
|
||||||
. = ALIGN(4);
|
|
||||||
__rtmsymtab_start = .;
|
|
||||||
KEEP(*(RTMSymTab))
|
|
||||||
__rtmsymtab_end = .;
|
|
||||||
|
|
||||||
/* section information for initialization */
|
|
||||||
. = ALIGN(4);
|
|
||||||
__rt_init_start = .;
|
|
||||||
KEEP(*(SORT(.rti_fn*)))
|
|
||||||
__rt_init_end = .;
|
|
||||||
} =0
|
|
||||||
__text_end = .;
|
|
||||||
|
|
||||||
.ARM.exidx :
|
|
||||||
{
|
|
||||||
__exidx_start = .;
|
|
||||||
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
|
|
||||||
__exidx_end = .;
|
|
||||||
}
|
|
||||||
|
|
||||||
__rodata_start = .;
|
|
||||||
.rodata : { *(.rodata) *(.rodata.*) }
|
|
||||||
__rodata_end = .;
|
|
||||||
|
|
||||||
. = ALIGN(4);
|
|
||||||
.ctors :
|
|
||||||
{
|
|
||||||
PROVIDE(__ctors_start__ = .);
|
|
||||||
KEEP(*(SORT(.ctors.*)))
|
|
||||||
KEEP(*(.ctors))
|
|
||||||
PROVIDE(__ctors_end__ = .);
|
|
||||||
}
|
|
||||||
|
|
||||||
.dtors :
|
|
||||||
{
|
|
||||||
PROVIDE(__dtors_start__ = .);
|
|
||||||
KEEP(*(SORT(.dtors.*)))
|
|
||||||
KEEP(*(.dtors))
|
|
||||||
PROVIDE(__dtors_end__ = .);
|
|
||||||
}
|
|
||||||
|
|
||||||
. = ALIGN(8);
|
|
||||||
__data_start = .;
|
|
||||||
.data :
|
|
||||||
{
|
|
||||||
*(.data)
|
|
||||||
*(.data.*)
|
|
||||||
}
|
|
||||||
__data_end = .;
|
|
||||||
|
|
||||||
. = ALIGN(8);
|
|
||||||
__bss_start = .;
|
|
||||||
.bss :
|
|
||||||
{
|
|
||||||
*(.bss)
|
|
||||||
*(.bss.*)
|
|
||||||
*(COMMON)
|
|
||||||
. = ALIGN(4);
|
|
||||||
}
|
|
||||||
. = ALIGN(4);
|
|
||||||
__bss_end = .;
|
|
||||||
|
|
||||||
/* Stabs debugging sections. */
|
|
||||||
.stab 0 : { *(.stab) }
|
|
||||||
.stabstr 0 : { *(.stabstr) }
|
|
||||||
.stab.excl 0 : { *(.stab.excl) }
|
|
||||||
.stab.exclstr 0 : { *(.stab.exclstr) }
|
|
||||||
.stab.index 0 : { *(.stab.index) }
|
|
||||||
.stab.indexstr 0 : { *(.stab.indexstr) }
|
|
||||||
.comment 0 : { *(.comment) }
|
|
||||||
|
|
||||||
__data_size = SIZEOF(.data);
|
|
||||||
__bss_size = SIZEOF(.bss);
|
|
||||||
|
|
||||||
_end = .;
|
|
||||||
}
|
|
|
@ -47,12 +47,14 @@
|
||||||
#define RT_USING_SLAB_AS_HEAP
|
#define RT_USING_SLAB_AS_HEAP
|
||||||
#define RT_USING_HEAP
|
#define RT_USING_HEAP
|
||||||
#define RT_USING_DEVICE
|
#define RT_USING_DEVICE
|
||||||
|
#define RT_USING_DEVICE_OPS
|
||||||
#define RT_USING_INTERRUPT_INFO
|
#define RT_USING_INTERRUPT_INFO
|
||||||
#define RT_USING_SCHED_THREAD_CTX
|
#define RT_USING_SCHED_THREAD_CTX
|
||||||
#define RT_USING_CONSOLE
|
#define RT_USING_CONSOLE
|
||||||
#define RT_CONSOLEBUF_SIZE 256
|
#define RT_CONSOLEBUF_SIZE 256
|
||||||
#define RT_CONSOLE_DEVICE_NAME "uart0"
|
#define RT_CONSOLE_DEVICE_NAME "uart0"
|
||||||
#define RT_VER_NUM 0x50100
|
#define RT_VER_NUM 0x50100
|
||||||
|
#define RT_USING_STDC_ATOMIC
|
||||||
#define RT_BACKTRACE_LEVEL_MAX_NR 32
|
#define RT_BACKTRACE_LEVEL_MAX_NR 32
|
||||||
|
|
||||||
/* AArch64 Architecture Configuration */
|
/* AArch64 Architecture Configuration */
|
||||||
|
@ -96,9 +98,7 @@
|
||||||
#define DFS_USING_POSIX
|
#define DFS_USING_POSIX
|
||||||
#define DFS_USING_WORKDIR
|
#define DFS_USING_WORKDIR
|
||||||
#define DFS_FD_MAX 32
|
#define DFS_FD_MAX 32
|
||||||
#define RT_USING_DFS_V1
|
#define RT_USING_DFS_V2
|
||||||
#define DFS_FILESYSTEMS_MAX 4
|
|
||||||
#define DFS_FILESYSTEM_TYPES_MAX 4
|
|
||||||
#define RT_USING_DFS_ELMFAT
|
#define RT_USING_DFS_ELMFAT
|
||||||
|
|
||||||
/* elm-chan's FatFs, Generic FAT Filesystem Module */
|
/* elm-chan's FatFs, Generic FAT Filesystem Module */
|
||||||
|
@ -169,6 +169,7 @@
|
||||||
#define RT_USING_POSIX_FS
|
#define RT_USING_POSIX_FS
|
||||||
#define RT_USING_POSIX_DEVIO
|
#define RT_USING_POSIX_DEVIO
|
||||||
#define RT_USING_POSIX_STDIO
|
#define RT_USING_POSIX_STDIO
|
||||||
|
#define RT_USING_POSIX_POLL
|
||||||
#define RT_USING_POSIX_TERMIOS
|
#define RT_USING_POSIX_TERMIOS
|
||||||
#define RT_USING_POSIX_DELAY
|
#define RT_USING_POSIX_DELAY
|
||||||
#define RT_USING_POSIX_CLOCK
|
#define RT_USING_POSIX_CLOCK
|
||||||
|
@ -273,15 +274,6 @@
|
||||||
/* Wiced WiFi */
|
/* Wiced WiFi */
|
||||||
|
|
||||||
|
|
||||||
/* CYW43012 WiFi */
|
|
||||||
|
|
||||||
|
|
||||||
/* BL808 WiFi */
|
|
||||||
|
|
||||||
|
|
||||||
/* CYW43439 WiFi */
|
|
||||||
|
|
||||||
|
|
||||||
/* IoT Cloud */
|
/* IoT Cloud */
|
||||||
|
|
||||||
|
|
||||||
|
@ -304,6 +296,9 @@
|
||||||
/* u8g2: a monochrome graphic library */
|
/* u8g2: a monochrome graphic library */
|
||||||
|
|
||||||
|
|
||||||
|
/* PainterEngine: A cross-platform graphics application framework written in C language */
|
||||||
|
|
||||||
|
|
||||||
/* tools packages */
|
/* tools packages */
|
||||||
|
|
||||||
|
|
||||||
|
@ -323,26 +318,13 @@
|
||||||
|
|
||||||
/* peripheral libraries and drivers */
|
/* peripheral libraries and drivers */
|
||||||
|
|
||||||
/* HAL & SDK Drivers */
|
|
||||||
|
|
||||||
/* STM32 HAL & SDK Drivers */
|
|
||||||
|
|
||||||
|
|
||||||
/* Kendryte SDK */
|
/* Kendryte SDK */
|
||||||
|
|
||||||
|
|
||||||
/* sensors drivers */
|
|
||||||
|
|
||||||
|
|
||||||
/* touch drivers */
|
|
||||||
|
|
||||||
|
|
||||||
/* AI packages */
|
/* AI packages */
|
||||||
|
|
||||||
|
|
||||||
/* Signal Processing and Control Algorithm Packages */
|
|
||||||
|
|
||||||
|
|
||||||
/* miscellaneous packages */
|
/* miscellaneous packages */
|
||||||
|
|
||||||
/* project laboratory */
|
/* project laboratory */
|
||||||
|
@ -356,7 +338,7 @@
|
||||||
/* Arduino libraries */
|
/* Arduino libraries */
|
||||||
|
|
||||||
|
|
||||||
/* Projects and Demos */
|
/* Projects */
|
||||||
|
|
||||||
|
|
||||||
/* Sensors */
|
/* Sensors */
|
||||||
|
@ -381,12 +363,19 @@
|
||||||
|
|
||||||
/* Other */
|
/* Other */
|
||||||
|
|
||||||
|
|
||||||
/* Signal IO */
|
/* Signal IO */
|
||||||
|
|
||||||
|
|
||||||
/* Uncategorized */
|
/* Uncategorized */
|
||||||
|
|
||||||
|
/* Privated Packages of RealThread */
|
||||||
|
|
||||||
|
|
||||||
|
/* Network Utilities */
|
||||||
|
|
||||||
|
|
||||||
|
/* RT-Thread Smart */
|
||||||
|
|
||||||
#define BCM2711_SOC
|
#define BCM2711_SOC
|
||||||
#define BSP_SUPPORT_FPU
|
#define BSP_SUPPORT_FPU
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ if PLATFORM == 'gcc':
|
||||||
# toolchains
|
# toolchains
|
||||||
PREFIX = os.getenv('RTT_CC_PREFIX') or 'aarch64-none-elf-'
|
PREFIX = os.getenv('RTT_CC_PREFIX') or 'aarch64-none-elf-'
|
||||||
CC = PREFIX + 'gcc'
|
CC = PREFIX + 'gcc'
|
||||||
CXX = PREFIX + 'g++'
|
CPP = PREFIX + 'g++'
|
||||||
AS = PREFIX + 'gcc'
|
AS = PREFIX + 'gcc'
|
||||||
AR = PREFIX + 'ar'
|
AR = PREFIX + 'ar'
|
||||||
LINK = PREFIX + 'gcc'
|
LINK = PREFIX + 'gcc'
|
||||||
|
@ -35,9 +35,10 @@ if PLATFORM == 'gcc':
|
||||||
OBJCPY = PREFIX + 'objcopy'
|
OBJCPY = PREFIX + 'objcopy'
|
||||||
|
|
||||||
DEVICE = ' -march=armv8-a -mtune=cortex-a72'
|
DEVICE = ' -march=armv8-a -mtune=cortex-a72'
|
||||||
|
CPPFLAGS = ' -E -P -x assembler-with-cpp'
|
||||||
CFLAGS = DEVICE + ' -Wall -Wno-cpp -D_POSIX_SOURCE'
|
CFLAGS = DEVICE + ' -Wall -Wno-cpp -D_POSIX_SOURCE'
|
||||||
AFLAGS = ' -c' + ' -x assembler-with-cpp -D__ASSEMBLY__'
|
AFLAGS = ' -c' + ' -x assembler-with-cpp -D__ASSEMBLY__'
|
||||||
LFLAGS = DEVICE + ' -nostartfiles -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,system_vectors -T link.lds'
|
LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,system_vectors -T link.lds'
|
||||||
CPATH = ''
|
CPATH = ''
|
||||||
LPATH = ''
|
LPATH = ''
|
||||||
|
|
||||||
|
|
|
@ -625,7 +625,9 @@ void *rt_ioremap_early(void *paddr, size_t size)
|
||||||
tbl = rt_hw_mmu_tbl_get();
|
tbl = rt_hw_mmu_tbl_get();
|
||||||
}
|
}
|
||||||
|
|
||||||
count = (size + ARCH_SECTION_MASK) >> ARCH_SECTION_SHIFT;
|
/* get the total size required including overhead for alignment */
|
||||||
|
count = (size + ((rt_ubase_t)paddr & ARCH_SECTION_MASK)
|
||||||
|
+ ARCH_SECTION_MASK) >> ARCH_SECTION_SHIFT;
|
||||||
base = (rt_ubase_t)paddr & (~ARCH_SECTION_MASK);
|
base = (rt_ubase_t)paddr & (~ARCH_SECTION_MASK);
|
||||||
|
|
||||||
while (count --> 0)
|
while (count --> 0)
|
||||||
|
|
|
@ -31,7 +31,8 @@ rt_uint8_t *rt_hw_stack_init(void *tentry, void *parameter,
|
||||||
{
|
{
|
||||||
rt_ubase_t *stk;
|
rt_ubase_t *stk;
|
||||||
|
|
||||||
stk = (rt_ubase_t *)stack_addr;
|
/* The AAPCS64 requires 128-bit (16 byte) stack alignment */
|
||||||
|
stk = (rt_ubase_t*)RT_ALIGN_DOWN((rt_ubase_t)stack_addr, 16);
|
||||||
|
|
||||||
for (int i = 0; i < 32; ++i)
|
for (int i = 0; i < 32; ++i)
|
||||||
{
|
{
|
||||||
|
|
|
@ -69,7 +69,8 @@ _head:
|
||||||
.quad 0 /* Reserved */
|
.quad 0 /* Reserved */
|
||||||
.ascii "ARM\x64" /* Magic number */
|
.ascii "ARM\x64" /* Magic number */
|
||||||
.long 0 /* Reserved (used for PE COFF offset) */
|
.long 0 /* Reserved (used for PE COFF offset) */
|
||||||
#endif
|
#endif /* RT_USING_OFW */
|
||||||
|
|
||||||
/* Variable registers: x21~x28 */
|
/* Variable registers: x21~x28 */
|
||||||
dtb_paddr .req x21
|
dtb_paddr .req x21
|
||||||
boot_arg0 .req x22
|
boot_arg0 .req x22
|
||||||
|
@ -109,6 +110,7 @@ _start:
|
||||||
/* Now we are in the end of boot cpu process */
|
/* Now we are in the end of boot cpu process */
|
||||||
ldr x8, =rtthread_startup
|
ldr x8, =rtthread_startup
|
||||||
b init_mmu_early
|
b init_mmu_early
|
||||||
|
/* never come back */
|
||||||
|
|
||||||
kernel_start:
|
kernel_start:
|
||||||
/* jump to the PE's system entry */
|
/* jump to the PE's system entry */
|
||||||
|
@ -172,12 +174,15 @@ init_cpu_el:
|
||||||
lsr x0, x0, #2
|
lsr x0, x0, #2
|
||||||
and x0, x0, #3
|
and x0, x0, #3
|
||||||
|
|
||||||
|
/* running at EL3? */
|
||||||
cmp x0, #3
|
cmp x0, #3
|
||||||
bne .init_cpu_hyp
|
bne .init_cpu_hyp
|
||||||
|
|
||||||
|
/* should never be executed, just for completeness. (EL3) */
|
||||||
mov x1, #(1 << 0) /* EL0 and EL1 are in Non-Secure state */
|
mov x1, #(1 << 0) /* EL0 and EL1 are in Non-Secure state */
|
||||||
orr x1, x1, #(1 << 4) /* RES1 */
|
orr x1, x1, #(1 << 4) /* RES1 */
|
||||||
orr x1, x1, #(1 << 5) /* RES1 */
|
orr x1, x1, #(1 << 5) /* RES1 */
|
||||||
|
/* bic x1, x1, #(1 << 7) disable Secure Monitor Call */
|
||||||
orr x1, x1, #(1 << 10) /* The next lower level is AArch64 */
|
orr x1, x1, #(1 << 10) /* The next lower level is AArch64 */
|
||||||
msr scr_el3, x1
|
msr scr_el3, x1
|
||||||
|
|
||||||
|
@ -193,7 +198,8 @@ init_cpu_el:
|
||||||
eret
|
eret
|
||||||
|
|
||||||
.init_cpu_hyp:
|
.init_cpu_hyp:
|
||||||
cmp x0, #2 /* EL1 = 0100 */
|
/* running at EL2? */
|
||||||
|
cmp x0, #2 /* EL2 = 0b10 */
|
||||||
bne .init_cpu_sys
|
bne .init_cpu_sys
|
||||||
|
|
||||||
/* Enable CNTP for EL1 */
|
/* Enable CNTP for EL1 */
|
||||||
|
@ -220,7 +226,6 @@ init_cpu_el:
|
||||||
|
|
||||||
.init_cpu_sys:
|
.init_cpu_sys:
|
||||||
mrs x0, sctlr_el1
|
mrs x0, sctlr_el1
|
||||||
orr x0, x0, #(1 << 12) /* Enable Instruction */
|
|
||||||
bic x0, x0, #(3 << 3) /* Disable SP Alignment check */
|
bic x0, x0, #(3 << 3) /* Disable SP Alignment check */
|
||||||
bic x0, x0, #(1 << 1) /* Disable Alignment check */
|
bic x0, x0, #(1 << 1) /* Disable Alignment check */
|
||||||
msr sctlr_el1, x0
|
msr sctlr_el1, x0
|
||||||
|
@ -299,7 +304,9 @@ enable_mmu_early:
|
||||||
|
|
||||||
ldr x30, =kernel_start /* Set LR to kernel_start function, it's virtual addresses */
|
ldr x30, =kernel_start /* Set LR to kernel_start function, it's virtual addresses */
|
||||||
|
|
||||||
|
/* Enable page table translation */
|
||||||
mrs x1, sctlr_el1
|
mrs x1, sctlr_el1
|
||||||
|
orr x1, x1, #(1 << 12) /* Stage 1 instruction access Cacheability control */
|
||||||
orr x1, x1, #(1 << 2) /* Cacheable Normal memory in stage1 */
|
orr x1, x1, #(1 << 2) /* Cacheable Normal memory in stage1 */
|
||||||
orr x1, x1, #(1 << 0) /* MMU Enable */
|
orr x1, x1, #(1 << 0) /* MMU Enable */
|
||||||
msr sctlr_el1, x1
|
msr sctlr_el1, x1
|
||||||
|
|
Loading…
Reference in New Issue