Stellaris launchpad first project

I played with the stellaris launchpad and gcc today.

I basically created a folder in /stellaris/boards called myProjects copied the uart_echo example in the /stellaris/boards/ek-lm4f120xl.

You just need this files to work with gcc via command line:

  • uart_echo.c
  • startup_gcc.c
  • uart_echo.ld
  • Makefile

I changed the names of uart_echo.c and uart_echo.ld to something more convenient like serialADC and changed inside the Makefile all the names from “uart_echo” to “serialADC” at once.

I used the api called uartstdio.h so I needed to add the compilation of the object file uartsdio.o to the makefile rule.

Well, it has been cool, now going for something nicer to do! You can find all the source code files right here!

Advertisements

2 thoughts on “Stellaris launchpad first project

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s