Hello,
I caused a hardfault error and triggered the HardFault_Handler in "hardfault_handler_gcc.c". But instead seeint its source, I could only see the message no source available for "0x0" in eclipse.
What went wrong ?
Best regards,
Hello,
I caused a hardfault error and triggered the HardFault_Handler in "hardfault_handler_gcc.c". But instead seeint its source, I could only see the message no source available for "0x0" in eclipse.
What went wrong ?
Best regards,
GCC/eclipse is a bit more demanding to get working compared to Keil where everything works out of the box, but should work quite nicely once you get it up and running.
The hardfault handler is declared in the startup file, but CDT does not parse this file since it's an assembly file. Note that you can re-declare it in your application. ( WEAK declaration in startup)
Steps to incude asm files in CDT:
GCC/eclipse is a bit more demanding to get working compared to Keil where everything works out of the box, but should work quite nicely once you get it up and running.
The hardfault handler is declared in the startup file, but CDT does not parse this file since it's an assembly file. Note that you can re-declare it in your application. ( WEAK declaration in startup)
Steps to incude asm files in CDT: