Jump to content

scompo

Members
  • Content Count

    16
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Like
    scompo reacted to ntfreak in Anyone building CMSIS under Linux?   
    Save yourself lots of grief and use gcc to link. Too many tutorials use ld and it generally will end in tears.
     
    Spen
  2. Like
    scompo got a reaction from zborgerd in Stellaris launchpad gcc makefile, startup file and linker script BSD   
    Hi, I've never noticed that the license for the examples of the stellaris launchpad were closed, they say explicitly that:
     

    # Texas Instruments (TI) is supplying this software for use solely and # exclusively on TI’s microcontroller products. The software is owned by # TI and/or its suppliers, and is protected under applicable copyright # laws. You may not combine this software with “viral” open-source # software in order to form a larger program.
     
    I wasn't very comfortable with this and I finally decided to write the needed linker script, startup file and the useful Makefile from scratch and license them with a BSD license.
     
    You can find my impressions here and the code in this github repository.
     
    Right now it doesn't support Stellarisware (It's basically the first working version) but I'm planning to add support for libraries in the Makefile as soon as I have time! I don't think it would be so difficult!
     
    Of course the sofware it's opened, so: every help, suggestion, bug issue it's welcome!
     
    I hope this would be useful in any way!
  3. Like
    scompo got a reaction from pimmel in Stellaris launchpad gcc makefile, startup file and linker script BSD   
    Hi, I've never noticed that the license for the examples of the stellaris launchpad were closed, they say explicitly that:
     

    # Texas Instruments (TI) is supplying this software for use solely and # exclusively on TI’s microcontroller products. The software is owned by # TI and/or its suppliers, and is protected under applicable copyright # laws. You may not combine this software with “viral” open-source # software in order to form a larger program.
     
    I wasn't very comfortable with this and I finally decided to write the needed linker script, startup file and the useful Makefile from scratch and license them with a BSD license.
     
    You can find my impressions here and the code in this github repository.
     
    Right now it doesn't support Stellarisware (It's basically the first working version) but I'm planning to add support for libraries in the Makefile as soon as I have time! I don't think it would be so difficult!
     
    Of course the sofware it's opened, so: every help, suggestion, bug issue it's welcome!
     
    I hope this would be useful in any way!
  4. Like
    scompo got a reaction from elimpnick in Stellaris launchpad gcc makefile, startup file and linker script BSD   
    Hi, I've never noticed that the license for the examples of the stellaris launchpad were closed, they say explicitly that:
     

    # Texas Instruments (TI) is supplying this software for use solely and # exclusively on TI’s microcontroller products. The software is owned by # TI and/or its suppliers, and is protected under applicable copyright # laws. You may not combine this software with “viral” open-source # software in order to form a larger program.
     
    I wasn't very comfortable with this and I finally decided to write the needed linker script, startup file and the useful Makefile from scratch and license them with a BSD license.
     
    You can find my impressions here and the code in this github repository.
     
    Right now it doesn't support Stellarisware (It's basically the first working version) but I'm planning to add support for libraries in the Makefile as soon as I have time! I don't think it would be so difficult!
     
    Of course the sofware it's opened, so: every help, suggestion, bug issue it's welcome!
     
    I hope this would be useful in any way!
  5. Like
    scompo got a reaction from bluehash in Stellaris launchpad gcc makefile, startup file and linker script BSD   
    I've downloaded that and take a look at it and I've never used that before.
    It looks like in the cmsis/Device/ARM/ARMCM4/Source/GCC there are a linker script and a startup assembly file that should be ok to link in it I guess.
    the ld script uses ARM.edix and extab sections, other than libc specific sections.
    On github there's a test-newlib branch where mark roy has done a lot of work on integrating that into it, I'm still testing that out, but it's working somehow. You can find it here (the branch) and here (mroy's fork).
  6. Like
    scompo got a reaction from XTL in Stellaris gcc compile on linux.   
    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!
  7. Like
    scompo got a reaction from XTL in ICDI support in OpenOCD   
    Got it working.
    Really nice to use, great job and really useful!
     
    I've made a tutorial on how to build openocd and debug a simple code in gdb, if anyone it's interested it's here.
  8. Like
    scompo got a reaction from Martytoof in ICDI support in OpenOCD   
    Got it working.
    Really nice to use, great job and really useful!
     
    I've made a tutorial on how to build openocd and debug a simple code in gdb, if anyone it's interested it's here.
  9. Like
    scompo got a reaction from bluehash in ICDI support in OpenOCD   
    Got it working.
    Really nice to use, great job and really useful!
     
    I've made a tutorial on how to build openocd and debug a simple code in gdb, if anyone it's interested it's here.
  10. Like
    scompo got a reaction from xpg in Stellaris launchpad gcc makefile, startup file and linker script BSD   
    Hi, I've never noticed that the license for the examples of the stellaris launchpad were closed, they say explicitly that:
     

    # Texas Instruments (TI) is supplying this software for use solely and # exclusively on TI’s microcontroller products. The software is owned by # TI and/or its suppliers, and is protected under applicable copyright # laws. You may not combine this software with “viral” open-source # software in order to form a larger program.
     
    I wasn't very comfortable with this and I finally decided to write the needed linker script, startup file and the useful Makefile from scratch and license them with a BSD license.
     
    You can find my impressions here and the code in this github repository.
     
    Right now it doesn't support Stellarisware (It's basically the first working version) but I'm planning to add support for libraries in the Makefile as soon as I have time! I don't think it would be so difficult!
     
    Of course the sofware it's opened, so: every help, suggestion, bug issue it's welcome!
     
    I hope this would be useful in any way!
  11. Like
    scompo got a reaction from jsolarski in Stellaris launchpad gcc makefile, startup file and linker script BSD   
    Hi, I've never noticed that the license for the examples of the stellaris launchpad were closed, they say explicitly that:
     

    # Texas Instruments (TI) is supplying this software for use solely and # exclusively on TI’s microcontroller products. The software is owned by # TI and/or its suppliers, and is protected under applicable copyright # laws. You may not combine this software with “viral” open-source # software in order to form a larger program.
     
    I wasn't very comfortable with this and I finally decided to write the needed linker script, startup file and the useful Makefile from scratch and license them with a BSD license.
     
    You can find my impressions here and the code in this github repository.
     
    Right now it doesn't support Stellarisware (It's basically the first working version) but I'm planning to add support for libraries in the Makefile as soon as I have time! I don't think it would be so difficult!
     
    Of course the sofware it's opened, so: every help, suggestion, bug issue it's welcome!
     
    I hope this would be useful in any way!
  12. Like
    scompo got a reaction from bluehash in Stellaris launchpad gcc makefile, startup file and linker script BSD   
    Hi, I've never noticed that the license for the examples of the stellaris launchpad were closed, they say explicitly that:
     

    # Texas Instruments (TI) is supplying this software for use solely and # exclusively on TI’s microcontroller products. The software is owned by # TI and/or its suppliers, and is protected under applicable copyright # laws. You may not combine this software with “viral” open-source # software in order to form a larger program.
     
    I wasn't very comfortable with this and I finally decided to write the needed linker script, startup file and the useful Makefile from scratch and license them with a BSD license.
     
    You can find my impressions here and the code in this github repository.
     
    Right now it doesn't support Stellarisware (It's basically the first working version) but I'm planning to add support for libraries in the Makefile as soon as I have time! I don't think it would be so difficult!
     
    Of course the sofware it's opened, so: every help, suggestion, bug issue it's welcome!
     
    I hope this would be useful in any way!
  13. Like
    scompo reacted to xpg in ICDI support in OpenOCD   
    That's really great. Thank you for working on this. I'm really looking forward to OpenOCD support.
  14. Like
    scompo got a reaction from jsolarski in Stellaris gcc compile on linux.   
    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!
×
×
  • Create New...