1. 更改模式时进行渐变
2. 开灯渐变
3. 提高亮灯的速度,从flashboot中开始亮灯
4. spotlight_main 调整到app_main中来
This commit is contained in:
2025-06-25 23:14:48 +08:00
parent c2ac3319f2
commit a4b68ffadb
12 changed files with 398 additions and 211 deletions

View File

@ -131,6 +131,7 @@ target = {
'-:hal_systick', 'partition', 'partition_ws63','pmp_cfg_ws63', 'nonos_malloc', 'nonos_malloc_port',
'update_common', 'update_local', 'update_local_ws63', 'lzma_22.00', 'update_storage', 'update_common_ws63', 'update_ab_ws63', 'factory_ws63',
'efuse', 'hal_efuse_v151', 'efuse_port', 'soc_port',
'pwm', 'hal_pwm', 'pwm_port', # ADD
],
'ram_component_set': ['uart', "time_set", "cpu", "pinctrl", "watchdog", "security_unified",'pmp_set'],
'os': 'non-os',

View File

@ -214,7 +214,22 @@ CONFIG_GPIO1_WIDTH=32
# CONFIG_DRIVER_SUPPORT_PINCTRL is not set
# CONFIG_DRIVER_SUPPORT_PM is not set
# CONFIG_DRIVER_SUPPORT_PMP is not set
# CONFIG_DRIVER_SUPPORT_PWM is not set
CONFIG_DRIVER_SUPPORT_PWM=y
#
# PWM Configuration
#
#
# Config PWM
#
CONFIG_PWM_USING_V151=y
# CONFIG_PWM_USING_V150 is not set
CONFIG_PWM_GROUP_NUM=6
CONFIG_PWM_CHANNEL_NUM=6
# CONFIG_PWM_PRELOAD is not set
# end of PWM Configuration
# CONFIG_DRIVER_SUPPORT_RTC is not set
# CONFIG_DRIVER_SUPPORT_SDIO is not set
# CONFIG_DRIVER_SUPPORT_SEC is not set
@ -270,15 +285,6 @@ CONFIG_DRIVER_SUPPORT_SFC=y
#
# Config SFC
#
# CONFIG_SFC_SUPPORT_DMA is not set
# CONFIG_SFC_ALLOW_ERASE_WRITEBACK is not set
# CONFIG_SFC_ALREADY_INIT is not set
# CONFIG_SFC_SUPPORT_LPM is not set
# CONFIG_SFC_SUPPORT_SFC_LOCK is not set
# CONFIG_SFC_SUPPORT_DATA_CACHE is not set
# CONFIG_SFC_SUPPORT_RWE_INDEPENDENT is not set
# CONFIG_SFC_SUPPORT_WRITE_PROTECT is not set
# CONFIG_SFC_USE_CUSTOMIZED_DEVICE_INFO is not set
# CONFIG_SFC_DEBUG is not set
# end of SFC Configuration
@ -459,13 +465,54 @@ CONFIG_MIDDLEWARE_SUPPORT_EXCEPT_REBOOT=y
#
#
# bt
# bt_host
#
#
# Config bluetooth.
#
# end of bt
CONFIG_AT_BLE=y
#
# AT_BLE
#
#
# Config bluetooth host AT BLE.
#
# end of AT_BLE
CONFIG_AT_GLE=y
#
# AT_GLE
#
#
# Config bluetooth host AT GLE.
#
# end of AT_GLE
#
# FEATURE_GLE
#
#
# Config bluetooth host GLE feature.
#
# CONFIG_FEATURE_GLE_LOW_LATENCY is not set
# CONFIG_FEATURE_GLE_HADM is not set
# end of FEATURE_GLE
# end of bt_host
#
# bt_controller
#
#
# Config bluetooth.
#
# end of bt_controller
#
# nfc
@ -495,5 +542,4 @@ CONFIG_MIDDLEWARE_SUPPORT_EXCEPT_REBOOT=y
#
# Config the test.
#
# CONFIG_TEST_SUPPORT_TESTSUITE is not set
# end of Test