This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARMCC V6.12 problem with simple std::queue

Hi everyone!
Im working with STM32F103VB, ARMCC V6.12, C++14(community) and have some problem with simple std::queue.
When i write something like this:



my program ends in _sys_exit() function in my retarget.c file:

I have no idea how to fix this. When i tryed std::queue on arm-gcc-none-eabi compiler my program end in hard fault handler, the last function before hard fault was malloc_r() but i don't know if it is the same problem on the ARMCC compiler.

my startup file (notice please, that im using "__use_no_semihosting"):

my retarget.c file:





my linker script:

I will be very thankful for any hint what is going on.

0