lpcware

How to make my own custom board lib like lpc_board_nxp_lpcxpresso_11u68

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by elgarbe on Sun Dec 21 07:22:05 MST 2014
Hi, I'm using lpcopen2 to write code to my custom board with LPC11u67.
I see that all examples using as reference lpc_board_nxp_lpcxpresso_11u68 and there is important code there, like board_system_init tha enable xtal oscilator (instead chip_system_init that use internal oscillator)

So I want to make my own board specific library.
Is there any step by step instruction on how to do this?

I'm working on FatFs implementation (I already has it work). I have a litle knlowedge about project configuration, include path, include file, link library and so. Becouse of that I have to put all the files I use on the same projet folder (src). So I have all FatFs related files and main, and sysinit, and all files on the same folder. How do i do to separate files in folder inside of src, or even better, how do I procede to make a lib with just SD card files and my own project with implementation files only.

I want to share my workspace with a working copy of FatFs implementation on LPC11u67, where do I put it to share?

Thk and regards

Outcomes