scompo 0 Posted October 12, 2012 Share Posted October 12, 2012 Hi, I don't know if this is the right place to put this, if it isn't please let me know.. I've managed to get a working complier with the arm-none-eabi lite toolchain from codesourcery. Stellarisware examples are compiling just fine on linux. The right toolchain it's chosen automatically by the makedefs definitions. I've managed to get a simple project compiling on gcc and verified it runs correctly in a windows pc with the LMLoader program. Basically I created another folder in the boards directory, copied an existing example from the lm4f120x folder, edited the file names and changed the recurrency of the names in the makefile. I deleted the existing code and added mine in the main.c file. The files needed (from the uart_echo example) are: uart_echo.c startup_gcc.c uart_echo.ld Makefile If you are interested you could find all the infos here. Sorry for the poor code, but it was only a test! A nice thing would be using openocd and gdb to program, run and debug the bin file in the target but with the ICDI interface it's not possible for now without CCS5 and a some headaches to get it working as this post found out! jsolarski and XTL 2 Quote Link to post Share on other sites
Guest Stellarisiti Posted October 12, 2012 Share Posted October 12, 2012 Hi, I don't know if this is the right place to put this, if it isn't please let me know.. Perfect place to put this. Welcome to Stellarisiti, scompo. Thanks for your code snippet too. A nice thing would be using openocd and gdb to program, run and debug the bin file in the target but with the ICDI interface it's not possible for now without CCS5 and a some headaches to get it working as this post found out! Ntfreak on openocd is working on it. Quote Link to post Share on other sites
scompo 0 Posted October 12, 2012 Author Share Posted October 12, 2012 Perfect place to put this. Welcome to Stellarisiti, scompo. Thanks for your code snippet too. Ntfreak on openocd is working on it. Thank you! Hope someone would find that useful. I haven't read that post before, good news! It will be nice and easy when he'll get the stellaris launchpad working! Quote Link to post Share on other sites
squalyl 0 Posted October 22, 2012 Share Posted October 22, 2012 hello, I've not yet received my stellaris boards, but I'm already starting to dig in the code. The Codesourcery toolchain seems to be a "lite" version; do you know what the restrictions are? And what is preventing anyone of us to build an arm toolchain from sources? regards Quote Link to post Share on other sites
jsolarski 94 Posted October 22, 2012 Share Posted October 22, 2012 There is nothing preventing you from building a toolchain for arm (from source) There are quite a few different tutorials that I have found. Hopefully in the next week I will have a tutorial done for the stellaris launchpad, and general Arm code. Quote Link to post Share on other sites
squalyl 0 Posted October 22, 2012 Share Posted October 22, 2012 Okay, I'm building one now. I expected some patches to be required. thanks! jsolarski 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.