AnsweredAssumed Answered

LPC546xx  __disable_irq() linker error when called from .c file in a C++ project

Question asked by on Jul 10, 2019
Latest reply on Jul 12, 2019 by Omar Anguiano

Has anyone stumbled upon this linker error ?

arm-none-eabi-c++ -nostdlib

-Xlinker --gc-sections -Xlinker

-print-memory-usage -Xlinker







other.c:68: undefined reference to `__enable_irq'


Calling it from a C++ file seem to link just fine.

Project is set to use NewlibNano.