Commit c8065168 authored by 李俭双's avatar 李俭双

🐞 fix:依据芯片厂家要求更改cgc文件

parent dc41cd29
...@@ -297,9 +297,9 @@ void CGC_HSEConfig(OSC_Pin_Mode_t main, OSC_Speed_Mode_t amph) ...@@ -297,9 +297,9 @@ void CGC_HSEConfig(OSC_Pin_Mode_t main, OSC_Speed_Mode_t amph)
/* Clock switching needs to be executed in SRAM */ /* Clock switching needs to be executed in SRAM */
#if defined (__CC_ARM) #if defined (__CC_ARM)
#pragma arm section code = "sram_code" // Arm Compiler 5 #pragma arm section code = "RW_FUNC_PLL" // Arm Compiler 5
#elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION > 6010050) #elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION > 6010050)
#pragma clang section text = "sram_code" // Arm Compiler 6 #pragma clang section text = "RW_FUNC_PLL" // Arm Compiler 6
#endif #endif
#if defined(__ICCARM__) #if defined(__ICCARM__)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment