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:
Gregory Nutt 2022-02-22 12:33:31 -06:00 committed by Xiang Xiao
parent 9836c6be9b
commit 1ded8bbabb
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ void __start(void)
* segments.
*/
#ifdef CONFIG_NUTTX_KERNEL
#ifdef CONFIG_BUILD_PROTECTED
efm32_userspace();
showprogress('E');
#endif