Jump to content
Sign in to follow this  
Bingo600

lpc 812 Max - arm-gcc blinky

Recommended Posts

If anyone else got a 1$ LPC812 Max board.

http://www.embeddedartists.com/products/lpcxpresso/lpc812_max.php

 

And want to do a blinky with arm-gcc , i just completed one with help from the below repos.

https://github.com/sebseb7/lpc8xx

 

1: Get the base repos

git clone https://github.com/sebseb7/lpc8xx

 

2: Extract the attached sources into the newly cloned lpc8xx dir.

 

3: make

 

4: insert the lpc812 MAX Board into an USB slot on the pc (it'll open a new file-explorer window , like an usb-disk)

, pull the blinky.bin onto the "disk"

 

5: Press the Reset Key on the board , and your program is running.

 

I use linux , and arm-gcc from here https://launchpad.net/gcc-arm-embedded

 

/Bingo

lpc-812-max-blinky.zip

Share this post


Link to post
Share on other sites

EA has released the source for theit demo  (mbed code)
http://www.embeddedartists.com/sites/default/files/support/xpr/LPC812_max/LPC812MAXdemoTest_revPA1.zip

I just "tried" to port it to CMSIS , it is an ugly hack and the formatting is terrible.
I have no idea if i got the I2C right , but it responds to the button.

Edit: I just threw the source through indent , so the formatting is a bit nicer.

/Bingo

EA-c.zip

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×