101101
102102/*!< HW TRIMMING Defines */
103103#define VALIDITY_TAG 0xFCBCECCC /*!< TAG to validate the content of the
104- trimming area content. */
104+ trimming area content. */
105105#define VALIDITY_LOCATION 0x10001EF8 /*!< ROM address of the the validity trimming values content. */
106106
107107/*!< SMPS Configuration Defines */
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_init RAM_VR_TypeDef RAM_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_TypeDef RAM_VR __attribute__((used ));
@@ -182,7 +182,6 @@ void CPUcontextRestore(void);
182182 * @param None
183183 * @retval None
184184 */
185-
186185void SystemInit (void )
187186{
188187 uint32_t mainRegulator , 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