#include "LPC17xx.h"

01 Dec 2011

Where did LPC17xx.h go?

cannot open source input file "LPC17xx.h": No such file or directory" in file "Platform/Platform.cpp", Line: 3, Col: 21

I need access for this bit of IAP code

LPC_SC->FLASHCFG &= 0x0fff; LPC_SC->FLASHCFG |= 0x5000;

Replies

01 Dec 2011

Hi Jason,

Two things to check:

  1. You are compiling for LPC1768 :)
  2. You are not using a path as part of the #include
    • We've updated the libraries to support multiple toolchains and M0, so the LPC17xx.h is still there but moved within another directory; if you use #include "LPC17xx.h", it should work fine, as all relevant directories are on the include path.

Please shout if this doesn't identify your problem!

Simon

01 Dec 2011

Sorry Simon,

False alarm!, didnt even notice that I had the wrong board selected

Thanks again Jason

Please log in to post a reply.