Good afternoon! I completely agree that it is better not to use nested functions, unfortunately this is part of the library. Please tell me which Linker Options is needed to connect libgcc?
Good afternoon! I am developing a microcontroller project on ARM Cortex-M4, GCC compiler (Release 6.22a). The project includes a library that uses a nested function and is passed as a parameter to another function. When building, the project crashes on this function with the message: undefined reference to `__clear_cache' I wrote a pseudo-program with a similar implementation, it is built on GCC under Windows, it works, but on GCC ARM the same problem. C Source Code (22 lines)Tell me, where coul…