From b49f5417d5b5b8a237f8925f5dc8a2f0c94c1ff5 Mon Sep 17 00:00:00 2001 From: weicheng Date: Mon, 25 Sep 2023 13:23:16 +0800 Subject: [PATCH] [ASR] Bump asr582x sdk to v1.9.0 --- examples/platform/asr/init_asrPlatform.cpp | 8 ++++++++ third_party/asr/asr582x/asr_sdk | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/examples/platform/asr/init_asrPlatform.cpp b/examples/platform/asr/init_asrPlatform.cpp index 2992015c1abd97..e60154bfa58b32 100755 --- a/examples/platform/asr/init_asrPlatform.cpp +++ b/examples/platform/asr/init_asrPlatform.cpp @@ -140,6 +140,9 @@ void init_asrPlatform(void) // ota roll back,just for flash_remapping ota_roll_back_pro(); + //disable wdg + ota_wdg_disable(); + // register uart for printf log, the used uart should be init before. printf_uart_register(LEGA_UART1_INDEX); // register uart for at log, the used uart should be init before. @@ -161,6 +164,11 @@ void init_asrPlatform(void) #if defined CFG_PLF_RV32 || defined CFG_PLF_DUET lega_wlan_efuse_read(); +#ifdef CFG_PLF_DUET + //set certifacation type before rf init, param 0x00 is old srrc, 0x10 is new srrc + lega_wlan_set_cert_type(0x00); +#endif + lega_sram_rf_pta_init(); lega_recovery_phy_fsm_config(); diff --git a/third_party/asr/asr582x/asr_sdk b/third_party/asr/asr582x/asr_sdk index 667c66a2f69eb6..d8cec59dc2a2ca 160000 --- a/third_party/asr/asr582x/asr_sdk +++ b/third_party/asr/asr582x/asr_sdk @@ -1 +1 @@ -Subproject commit 667c66a2f69eb6f4adf2e9bede0b6b88cd4378ce +Subproject commit d8cec59dc2a2ca04e44e575d8963ce31d542b2ba