Segfault after moving from YAGARTO to GNU Tools for ARM Embedded Processors
Asked by
CaCO3
Hi all
I am trying to move from the no longer maintained YAGARTO tools [1] to
GNU Tools for ARM Embedded Processors.
I am developing for an STM32F407.
My code compiles fine, how ever when running it, it crashes on the array initialization.
-------
char d[2]; //ok
d[0] = 1;
d[1] = 2;
char e[2] = {1, 2}; //seg fault
-------
The very same code and makefile work fine when using the YAGARTO toolchain!
Where could the issue be?
I can provide more information if required.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- CaCO3
- Solved:
- Last query:
- Last reply:
To post a message you must log in.