Hi,
I have a nordic example ( uart ) which I've integrated embos into. program runs well when compiling in Segger Studio ( SES ) .
However - trying to compile the code in "armgcc" ( from cmd line and make ) gives me the following error :
../../../../../../external/embOS/Lib/libos_v7m_t_vfpv4h_le_r.a(OS_StackInfo.o): In function `OS_STACK_GetSysStackBase':
OS_StackInfo.c:(.text.OS_STACK_GetSysStackBase+0x4): undefined reference to `__stack_start__'
../../../../../../external/embOS/Lib/libos_v7m_t_vfpv4h_le_r.a(OS_StackInfo.o): In function `OS_STACK_GetSysStackSize':
OS_StackInfo.c:(.text.OS_STACK_GetSysStackSize+0x8): undefined reference to `__stack_start__'
OS_StackInfo.c:(.text.OS_STACK_GetSysStackSize+0xc): undefined reference to `__stack_end__'
Seems like those symbols are not defined for armgcc, embos is looking for them .
I have a nordic example ( uart ) which I've integrated embos into. program runs well when compiling in Segger Studio ( SES ) .
However - trying to compile the code in "armgcc" ( from cmd line and make ) gives me the following error :
../../../../../../external/embOS/Lib/libos_v7m_t_vfpv4h_le_r.a(OS_StackInfo.o): In function `OS_STACK_GetSysStackBase':
OS_StackInfo.c:(.text.OS_STACK_GetSysStackBase+0x4): undefined reference to `__stack_start__'
../../../../../../external/embOS/Lib/libos_v7m_t_vfpv4h_le_r.a(OS_StackInfo.o): In function `OS_STACK_GetSysStackSize':
OS_StackInfo.c:(.text.OS_STACK_GetSysStackSize+0x8): undefined reference to `__stack_start__'
OS_StackInfo.c:(.text.OS_STACK_GetSysStackSize+0xc): undefined reference to `__stack_end__'
Seems like those symbols are not defined for armgcc, embos is looking for them .