Skip to content
  • Lingkai Dong's avatar
    examples: Remove workaround for RTX crash · 5a822d2b
    Lingkai Dong authored and Vincent Coubard's avatar Vincent Coubard committed
    
    
    This reverts commit 3413cbb9.
    
    Platform files for GNU ASM missed floating point flags, causing CMSIS
    RTX's SVC handlers (written in assembly files) to incorrectly determine
    stack frame sizes when floating point is used, resulting in memory
    corruption when switching between threads. Because of this, we had to
    work around this by using newlib-nano instead of the full newlib to
    avoid floating point usage in libc in a few examples, but newlib-nano
    has reduced functionality and is not designed to be thread-safe.
    
    Having fixed the floating point flags in the toolchain repository, we
    now remove the workaround.
    
    Signed-off-by: Lingkai Dong's avatarLingkai Dong <lingkai.dong@arm.com>
    5a822d2b
Loading