Jump to content
Sign in to follow this  

lpc 812 Max - arm-gcc blinky

Recommended Posts

If anyone else got a 1$ LPC812 Max board.



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



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




Share this post

Link to post
Share on other sites

EA has released the source for theit demo  (mbed code)

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.



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