lpcware

setjmp issues HardFault

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by taliesin on Fri Jun 11 10:05:12 MST 2010
Even a simple


#include <setjmp.h>
#include "LPC11xx.h"

static jmp_buf end_out;

void main(void)
{
  setjmp(end_out);
  while(1) ;
}
leads to a HardFault. Any hints?!

Outcomes