Reply by irptos November 29, 20122012-11-29
--- In l..., Igor Skochinsky wrote:

> Have you seen mbed.org? They did it for LPC2368.
>
> http://mbed.org/projects/libraries/svn/mbed/trunk/LPC2368/ARM/LPC23xx.h

Yes Igor, I have seen this but It is not enough to build the some simple example from LPC cmsis library. You should change linker script, you should change starup code, and etc. etc. Sou my goal was to do it
automatically.

This project gives many useful information (I like their TV connection example) ), but I can not find source files in this project.

An Engineer's Guide to the LPC2100 Series

Reply by Igor Skochinsky November 29, 20122012-11-29
Hello irptos,

Thursday, November 29, 2012, 11:44:43 PM, you wrote:

i> Hellow LPC2000 funs ).

i> I introduce a LPC CMSIS2000 project for LPC2000
i> series. The goal of project is
i> to make CMSIS like build environment for LPC2000 series MCU.

Have you seen mbed.org? They did it for LPC2368.

http://mbed.org/projects/libraries/svn/mbed/trunk/LPC2368/ARM/LPC23xx.h

--
WBR,
Igor mailto:s...@mail.ru

Reply by irptos November 29, 20122012-11-29
Hellow LPC2000 funs ).

I introduce a LPC CMSIS2000 project for LPC2000
series. The goal of project is
to make CMSIS like build environment for LPC2000 series MCU.

As you know there is official sources from NXP and ARM for new Cortex
MCU. This sources is done with CMSIS standart, also there is Peripheral
Library for Cortex family controllers. This library also made in CMSIS
manner. Also you know that new LPC17xx series is close to LPC2000 series
also some chips has PINtoPIN compatibility and many peripherals is the
same on both series. For example UART and USB have the same structure.
So why not have software compatibility?

My first target was to make work simple UART interrupt example from
CMSIS peripheral library
on LPC2478. There was many problems with hand made makefile so I
decided to take 'bigger' instrument so I took CMAKE.

CMAKE is a cross-platform tool that can generate makefile rules for GNU
MAKE and project files
for Codeblocks, Eclipce and even in for Microsoft VisualStudio (has
anyone want to try develop MCU software on it )) ? ).

I wrote scripts and pack files accoding to CMSIS standart so now I have
build enviroment and I can compile the same sources to LPC17xx series
and LPC2000 series. There is need to make little changes in original
LPC17xx sources. This changes connected to ISR. After you can develop
your application for both targets.

So at the end of this looong post I will write that this build hack
helps me to port Mthomas USB MassStorage+FatFS example for LPC17xx
s/index.html#chanfat_lpc_cm3> for LPC24xx MCU (you can see this exmpl
in project).

There is a www home page of project
with some project documentation
/html/index.html> (see manual for codeblocks).

I hope this project and CMAKE build system will helps you to write more
portable sources under gcc compiller. Any help in build testing and
maybe some source testing are welcome ).