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

C++ for Keil5

Hi,

I am using MDK-ARM V5.24 and using C++11 for STM32F4. I can compiler and download.
Howerver, when I tested on my board, I found that it can't work unless using debug.

In fact, it happends only if I use vector or string class.

So what's the reason caused this? And any ideas?

Best regards.

Parents
  • Briefly speaking,if I declare a variable(string,vector),no matter whether it is used or not,the program seems to be blocked. I used jlink to debug. I found that the program can't run to the main() and if I used “step over” to make the program run to the main(),it can worked.

Reply
  • Briefly speaking,if I declare a variable(string,vector),no matter whether it is used or not,the program seems to be blocked. I used jlink to debug. I found that the program can't run to the main() and if I used “step over” to make the program run to the main(),it can worked.

Children
No data