mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 12:33:27 +08:00
Garbage configuration setting in EFM32 code
arch/arm/src/efm32/efm32_start.c:
/* For the case of the separate user-/kernel-space build, perform whatever
* platform specific initialization of the user memory is required.
* Normally this just means initializing the user space .data and .bss
* segments.
*/
#ifdef CONFIG_NUTTX_KERNEL
efm32_userspace();
showprogress('E');
#endif
But there is no CONFIG_NUTTX_KERNEL configuration setting. Comparing this to other architectures it is clear this should be
#ifdef CONFIG_BUILD_PROTECTED
This commit is contained in:
@@ -259,7 +259,7 @@ void __start(void)
|
||||
* segments.
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_NUTTX_KERNEL
|
||||
#ifdef CONFIG_BUILD_PROTECTED
|
||||
efm32_userspace();
|
||||
showprogress('E');
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user