os/arch/arm/src/stm32l4 : Fix coding violations
Fix coding violations in os/arch/arm/src/stm32l4/stm32l4_start.c
@@ -319,8 +319,7 @@ void __start(void)
* under application-specific circumstances. On the other hand, if we're
* using this memory for, say, additional heap space, then this is handy.
*/
- for (dest = (uint32_t *)SRAM2_START; dest < (uint32_t *)SRAM2_END; )
- {
+ for (dest = (uint32_t *)SRAM2_START; dest < (uint32_t *)SRAM2_END; ) {
*dest++ = 0;
}
#endif
@@ -352,8 +351,10 @@ void __start(void)
*/
#ifdef CONFIG_BUILD_PROTECTED
+#ifndef CONFIG_SUPPORT_COMMON_BINARY
stm32l4_userspace();
showprogress('E');
+#endif
#endif
/* For Systick enable */
//up_sys_timer_initialize();
