Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite42ffb4

Browse files
committed
system(wl3): update STM32WL3x system
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent648336c commite42ffb4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎system/STM32WL3x/system_stm32wl3x.c‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101

102102
/*!< HW TRIMMING Defines */
103103
#defineVALIDITY_TAG 0xFCBCECCC/*!< TAG to validate the content of the
104-
trimming area content. */
104+
trimming area content. */
105105
#defineVALIDITY_LOCATION 0x10001EF8/*!< ROM address of the the validity trimming values content. */
106106

107107
/*!< SMPS Configuration Defines */
@@ -148,13 +148,13 @@
148148
/* The RAM_VR variable is a mirroring in RAM of some registers information.
149149
It is a sort of virtual register in RAM.
150150
*/
151-
#if defined (__ICCARM__)
151+
#if defined(__ICCARM__)
152152
#pragma location=".ram_vr"
153153
__root__no_initRAM_VR_TypeDefRAM_VR;
154154
#else
155-
#if defined (__ARMCC_VERSION)
155+
#if defined(__ARMCC_VERSION)
156156
__attribute__((section(".bss"".ram_vr")))
157-
#elif defined (__GNUC__)
157+
#elif defined(__GNUC__)
158158
__attribute__((section(".ram_vr")))
159159
#endif
160160
RAM_VR_TypeDefRAM_VR __attribute__((used));
@@ -182,7 +182,6 @@ void CPUcontextRestore(void);
182182
* @param None
183183
* @retval None
184184
*/
185-
186185
voidSystemInit(void)
187186
{
188187
uint32_tmainRegulator,smpsOutVoltage,lsiBw,hsiCalib;
@@ -194,7 +193,8 @@ void SystemInit(void)
194193
RAM_VR.WakeupFromSleepFlag=1;/* A wakeup from power save occurred */
195194
CPUcontextRestore();/* Restore the context */
196195
/* if the context restore worked properly, we should never return here */
197-
while(1) {
196+
while(1)
197+
{
198198
NVIC_SystemReset();
199199
}
200200
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp