Modify the order for serial configure and semaphore

This commit is contained in:
songyanguang
2025-06-08 19:42:00 -07:00
parent a20a2d5327
commit 1703db93cb
5 changed files with 50 additions and 42 deletions
@@ -102,8 +102,6 @@ CONFIG_KERNEL_CONSOLEBUF_SIZE=128
# Command shell
#
# CONFIG_TOOL_SHELL is not set
# CONFIG_SHELL_ENTER_CR_AND_LF is not set
# CONFIG_SHELL_ENTER_CRLF is not set
#
# Kernel data structure Manage
@@ -167,8 +165,8 @@ CONFIG_FS_VFS_DEVFS=y
# OTA function
#
CONFIG_TOOL_USING_OTA=y
CONFIG_MCUBOOT_BOOTLOADER=y
# CONFIG_MCUBOOT_APPLICATION is not set
# CONFIG_MCUBOOT_BOOTLOADER is not set
CONFIG_MCUBOOT_APPLICATION=y
CONFIG_OTA_BY_PLATFORM=y
# CONFIG_OTA_BY_TCPSERVER is not set
# CONFIG_OTA_BY_NONE is not set
@@ -311,7 +309,7 @@ CONFIG_XIUOS_PLATFORM=y
# xiuos platform mqtt connection parameter configuration.
#
CONFIG_CLIENTID="D001"
CONFIG_USERNAME="xiuosiot"
CONFIG_USERNAME="ch32v208"
CONFIG_PASSWORD="xiuosiot"
CONFIG_PLATFORM_SERVERIP="47.115.50.232"
CONFIG_PLATFORM_SERVERPORT="1883"
@@ -27,7 +27,7 @@ MEMORY
FLASH-160K + RAM-32K
*/
FLASH_FAST (rx) : ORIGIN = 0x00000000, LENGTH = 32K
FLASH (rx) : ORIGIN = 0x00048000, LENGTH = 156K
FLASH (rx) : ORIGIN = 0x00050000, LENGTH = 156K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 64K
}