add ui on it

This commit is contained in:
dylancaowugang 2022-09-03 21:17:07 +08:00
parent bef2c8d39f
commit fa0f605825
3 changed files with 29 additions and 10 deletions

View file

@ -2127,8 +2127,8 @@ void user_io_timer_init(void)
{
//app_mute_ctrl_init();
LED_statusinit();
pwrkey_detinit();
Auto_Shutdowm_Timerinit();
//pwrkey_detinit();
//Auto_Shutdowm_Timerinit();
delay_report_toneinit();
once_delay_event_Timer_init();
//app_i2c_demo_init();
@ -2468,10 +2468,12 @@ extern int rpc_service_setup(void);
{
TRACE(0,"ibrt_ui_log:power on unknow mode");
app_ibrt_enter_limited_mode();
if(app_tws_is_right_side()){
//if(app_tws_is_right_side())
if(1)
{
TRACE(0,"app_start_tws_serching_direactly");
app_start_tws_serching_direactly();
}
}
}
else
{

View file

@ -61,11 +61,27 @@ AUDIO_OUTPUT_MONO ?= 0
AUDIO_OUTPUT_DIFF ?= 0
#### ANC DEFINE START ######
export ANC_APP ?= 1
export ANC_FF_ENABLED ?= 1
export ANC_FB_ENABLED ?= 1
export AUDIO_ANC_FB_MC ?= 0
export AUDIO_SECTION_SUPPT ?= 0
export AUD_SECTION_STRUCT_VERSION ?= 2
export AUDIO_ANC_FB_MC_HW ?=0
export APP_ANC_KEY ?= 0
export ANC_FB_CHECK ?= 1
##### ANC DEFINE END ######
APP_ANC_TEST ?= 0
TEST_OVER_THE_AIR ?= 0
HW_FIR_EQ_PROCESS ?= 0
SW_IIR_EQ_PROCESS ?= 0
SW_IIR_EQ_PROCESS ?= 1
HW_DAC_IIR_EQ_PROCESS ?= 1
HW_DAC_IIR_EQ_PROCESS ?= 0
HW_IIR_EQ_PROCESS ?= 0
@ -111,7 +127,7 @@ export LOW_DELAY_SCO ?= 0
SPEECH_TX_DC_FILTER ?= 1
SPEECH_TX_AEC2FLOAT ?= 1
SPEECH_TX_AEC2FLOAT ?= 0
SPEECH_TX_NS3 ?= 0
@ -222,7 +238,7 @@ A2DP_SCALABLE_ON ?= 0
FACTORY_MODE ?= 1
ENGINEER_MODE ?= 1
ENGINEER_MODE ?= 0
ULTRA_LOW_POWER ?= 1
@ -350,7 +366,7 @@ KBUILD_CPPFLAGS += \
KBUILD_CPPFLAGS += \
-DAPP_AUDIO_BUFFER_SIZE=$(AUDIO_BUFFER_SIZE) \
-DCHARGER_PLUGINOUT_RESET=0
-DCHARGER_PLUGINOUT_RESET=1
# -D__A2DP_AVDTP_CP__ \
ifeq ($(BES_AUDIO_DEV_Main_Board_9v0),1)

View file

@ -85,7 +85,8 @@ const struct HAL_KEY_GPIOKEY_CFG_T cfg_hw_gpio_key_cfg[CFG_HW_GPIOKEY_NUM] = {
};
//bt config
const char *BT_LOCAL_NAME = TO_STRING(BT_DEV_NAME) "\0";
//const char *BT_LOCAL_NAME = TO_STRING(BT_DEV_NAME) "\0";
const char *BT_LOCAL_NAME = "PineBuds Pro";
const char *BLE_DEFAULT_NAME = "BES_BLE";
uint8_t ble_addr[6] = {
#ifdef BLE_DEV_ADDR