update version to v2.1.7

This commit is contained in:
Artery-MCU
2025-08-05 10:24:08 +08:00
parent ee4796e775
commit 6dd65bdd62
122 changed files with 3730 additions and 14394 deletions

View File

@@ -5,7 +5,7 @@
**************************************************************************
*/
this demo is based on the at-start board, executing this project£¬step1/step2
this demo is based on the at-start board, executing this project, step1/step2
should be follow.
step1 : enbale ap mode by icp tool. user should set boot memory to ap mode
with icp tool.

View File

@@ -5,7 +5,7 @@
**************************************************************************
*/
this demo is based on the at-start board, executing this project£¬step1/step2
this demo is based on the at-start board, executing this project, step1/step2
should be follow.
step1 : enbale ap mode by icp tool. user should set boot memory to ap mode
with icp tool.

View File

@@ -275,7 +275,7 @@
<OCR_RVCT4>
<Type>1</Type>
<StartAddress>0x8004000</StartAddress>
<Size>0xfc000</Size>
<Size>0x3c000</Size>
</OCR_RVCT4>
<OCR_RVCT5>
<Type>1</Type>

View File

@@ -275,7 +275,7 @@
<OCR_RVCT4>
<Type>1</Type>
<StartAddress>0x8004000</StartAddress>
<Size>0xfc000</Size>
<Size>0x3c000</Size>
</OCR_RVCT4>
<OCR_RVCT5>
<Type>1</Type>

View File

@@ -101,7 +101,10 @@ int main(void)
*/
void usb_clock48m_select(usb_clk48_s clk_s)
{
switch(system_core_clock)
crm_clocks_freq_type clocks_struct;
crm_clocks_freq_get(&clocks_struct);
switch(clocks_struct.sclk_freq)
{
/* 48MHz */
case 48000000:
@@ -130,7 +133,6 @@ void usb_clock48m_select(usb_clk48_s clk_s)
default:
break;
}
}

View File

@@ -101,7 +101,10 @@ int main(void)
*/
void usb_clock48m_select(usb_clk48_s clk_s)
{
switch(system_core_clock)
crm_clocks_freq_type clocks_struct;
crm_clocks_freq_get(&clocks_struct);
switch(clocks_struct.sclk_freq)
{
/* 48MHz */
case 48000000:
@@ -130,7 +133,6 @@ void usb_clock48m_select(usb_clk48_s clk_s)
default:
break;
}
}

View File

@@ -103,7 +103,10 @@ int main(void)
*/
void usb_clock48m_select(usb_clk48_s clk_s)
{
switch(system_core_clock)
crm_clocks_freq_type clocks_struct;
crm_clocks_freq_get(&clocks_struct);
switch(clocks_struct.sclk_freq)
{
/* 48MHz */
case 48000000:
@@ -132,7 +135,6 @@ void usb_clock48m_select(usb_clk48_s clk_s)
default:
break;
}
}