#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;

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

03 Oct 2016

Hi Simon,

I'm working with the Keil MCB1700 and had some problems while creating my first project (Blinky example worked normally). When I create my project, I'm choosing all the Startup and CMSIS stuff, like all the other guys I've seen in videos are doing, but I don't know why I'm getting the following error in my #include "LPC17xx.h", it says error in include chain. What can I do?

Thanks,

Mateus