This commit is contained in:
parent
83f87a246f
commit
05bd93a399
|
@ -19,6 +19,7 @@
|
|||
Objects/
|
||||
Listings/
|
||||
Exe/
|
||||
prj/
|
||||
|
||||
|
||||
# 忽略用户设置文件,通常包含调试和布局等信息
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/******************************************************************************
|
||||
* @file cmsis_armcc.h
|
||||
* @brief <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ<EFBFBD><EFBFBD>ע<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
* @brief ?????????????
|
||||
* @version V5.0.4
|
||||
* @copyright
|
||||
******************************************************************************/
|
||||
|
@ -121,13 +121,13 @@ void poll_1ms_task_init(void)
|
|||
{
|
||||
bsp_task_delay_ms(10);
|
||||
}
|
||||
// <EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>ʼ<EFBFBD><EFBFBD> <20><>300ms ȷ<><C8B7><EFBFBD>ź<EFBFBD><C5BA><EFBFBD><EFBFBD><EFBFBD>
|
||||
// ???????? ??300ms ??????????
|
||||
// KIT_PRINTF("signal init start \r\n");
|
||||
|
||||
bms_poll_statistic(0);
|
||||
|
||||
bms_init_signal();
|
||||
// ˢ<EFBFBD><EFBFBD><EFBFBD>źŲ<EFBFBD><EFBFBD><EFBFBD> ȷ<><C8B7><EFBFBD><EFBFBD><EFBFBD>糣<EFBFBD>յ<EFBFBD><D5B5><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD>պ<EFBFBD>do<64><6F><EFBFBD>
|
||||
// ????????? ??????¼V?????????????do???
|
||||
task_dido_ctrl_handle(1000);
|
||||
// KIT_PRINTF("signal init ok \r\n");
|
||||
KIT_SET_BIT_MASK_32(is_data_ok, SIGNAL_FINISH_BIT);
|
||||
|
@ -139,14 +139,14 @@ void poll_10ms_task_init(void)
|
|||
|
||||
uint8_t i = 0;
|
||||
bms_init_fdb();
|
||||
// <EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>ʼ<EFBFBD><EFBFBD> <20>ȴ<EFBFBD><C8B4>ӻ<EFBFBD><D3BB>ϵ粢<CFB5><E7B2A2>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD> <20><>500ms<6D><73><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>1300ms(<28><><EFBFBD>)
|
||||
// ???????? ????????ôÒ???????? ??500ms???????????????? ??1300ms(???)
|
||||
KIT_PRINTF("bmu init start \r\n");
|
||||
// bms_init_chain_bmu();
|
||||
KIT_PRINTF("bmu init ok \r\n");
|
||||
bms_poll_statistic(0);
|
||||
// SOC<EFBFBD><EFBFBD>ʼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫͳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
// SOC???????????????
|
||||
bms_init_soc();
|
||||
// <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ж<EFBFBD><EFBFBD><EFBFBD>SOC<EFBFBD><EFBFBD>ʼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɺ<EFBFBD><EFBFBD>ֹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>δ<EFBFBD><EFBFBD>ʼ<EFBFBD><EFBFBD>ֵ
|
||||
// ?????§Ø???SOC????????????????¦Ä??????
|
||||
drv_misc_cfg_pwr_off_interrupt(APP_CFG_INT_PRIO_PWR_OFF, kPwrOffVolt_2_9, bms_pwr_off_save);
|
||||
|
||||
KIT_SET_BIT_MASK_32(is_data_ok, BMU_FINISH_BIT);
|
||||
|
@ -193,7 +193,7 @@ void poll_mqtt_init(void)
|
|||
qfc41d_init_count++;
|
||||
}
|
||||
|
||||
// MQTT <EFBFBD><EFBFBD>ʼ<EFBFBD><EFBFBD>
|
||||
// MQTT ?????
|
||||
while (drv_mqtt_init() && mqtt_init_count < 10)
|
||||
{
|
||||
drv_wdog_feed();
|
||||
|
@ -202,8 +202,8 @@ void poll_mqtt_init(void)
|
|||
}
|
||||
}
|
||||
/*****************************************************************************
|
||||
* @brief ucosϵͳ<EFBFBD>жϻص<EFBFBD>
|
||||
* @param[in] void: <EFBFBD><EFBFBD>
|
||||
* @brief ucos???§Ø???
|
||||
* @param[in] void: ??
|
||||
* @return void
|
||||
*****************************************************************************/
|
||||
void ucos_irq_handler(void)
|
||||
|
|
Loading…
Reference in New Issue