title: LPC11xx Cortex-M0 FreeRTOS Hardfault
body: <p>I have been working with a project on an NXP LPC11XX device and FreeRTOS.  The issue is that the demo project for this uses some Eclipse based IDE and I wont have any of that.  I got it converted to compile in linux and I can program without any issue.  The problem I am seeing is when the demo project gets to a memset() a hard fault is generated in the CPU.  This is not my code, but I have a feeling it is related to something that I did.  I am using the codesourcery "gcc version 4.4.1 (Sourcery G++ Lite 2010q1-188)" compiler (which I have used without issue on Cortex-M3 devices).  I see the hardfault generated on a damn "lsls" instruction which touches nothing in memory, see this massive pastebin of GDB output: <a href="http://pastebin.com/3pg0puSe" rel="nofollow">http://pastebin.com/3pg0puSe</a> (I don't know what common practice is here for large blocks of text like that.)</p>
  
  <p>Any thoughts, anyone?  Thanks for the help!</p>