element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Embedded Forum Adding new toolchain
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 8 replies
  • Subscribers 471 subscribers
  • Views 2191 views
  • Users 0 members are here
  • risc architecture
  • gnu arm eclipse
  • arm toolchain
Related

Adding new toolchain

promodkumarcm
promodkumarcm over 5 years ago

Can anyone explain in detail how to add another toolchain to the list of default ones. As far i see we can integrate new toolchain using extension point

can any please explain in detail how we can do this. I'm a beginner in eclipse development and i can't find any reference to do this

Thanks

PK

  • Sign in to reply
  • Cancel

Top Replies

  • aswinvenu
    aswinvenu over 5 years ago +1
    Hi Promod, Can you give some more details of what you are trying to achieve ? I will be able to help you. Do you want a particular toolchain installed on your eclipse CDT? If it's a publicly available…
  • promodkumarcm
    promodkumarcm over 5 years ago in reply to aswinvenu +1
    Thanks Aswin for the reply These are the inbuilt toolchains providing by the MCU Eclipse , i Just want to add a new toolchain to this (i have binaries for the same).So how should i integrate that to this…
  • promodkumarcm
    promodkumarcm over 5 years ago in reply to aswinvenu +1
    These are the options for the default toolchains provided by the MCU Eclipse right. I want to integrate a new toolchain eg: RISC-V Bitmanip to the dropdown and when i select the same it should update the…
Parents
  • aswinvenu
    aswinvenu over 5 years ago

    Hi Promod,

     

    Can you give some more details of what you are trying to achieve ? I will be able to help you.

    Do you want a particular toolchain installed on your eclipse CDT?

     

    If it's a publicly  available toolchain then you can install it as a plugin to eclipse.

    All the plugins will be listed in eclipse marketplace. ( Help -> Eclipse Marketplace)

    image

     

    For example you want to install GNU ARM Eclipse plugin then you can search a keyword like "GNU ARM" or "arm" it will list the plugin

     

    image

    Once you install the plugin successfully, You can start creating projects using this toolchains. Project templates will be present to choose from when you start the project.

     

    If you are asking about changing the GCC toolchain in eclipse then its different. Let me know what exactly you are looking for.

     

    Regards,

    Aswin

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • promodkumarcm
    promodkumarcm over 5 years ago in reply to aswinvenu

    Thanks Aswin for the reply

    image

    These are the inbuilt toolchains providing by the MCU Eclipse , i Just want to add a new toolchain to this (i have binaries for the same).So how should i integrate that to this

    Thanks

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • promodkumarcm
    promodkumarcm over 5 years ago in reply to aswinvenu

    Thanks Aswin for the reply

    image

    These are the inbuilt toolchains providing by the MCU Eclipse , i Just want to add a new toolchain to this (i have binaries for the same).So how should i integrate that to this

    Thanks

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
  • aswinvenu
    aswinvenu over 5 years ago in reply to promodkumarcm

    When you start a new project. You will get an option to choose your toolchain like this.

    image

     

    Don't worry if you have already started the project, then go to the go to the project->preference menu and under MCU set the toolchain path.

    image

     

    If you want the settings common for all the projects, then go to window->preference and under MCU select the ARM Toolchain Paths and browse to the location to your GCC

    image

     

    Hope this helps.

    Regards,

    Aswin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • promodkumarcm
    promodkumarcm over 5 years ago in reply to aswinvenu

    These are the options for the default toolchains provided by the MCU Eclipse right. I want to integrate a new toolchain eg: RISC-V Bitmanip to the dropdown and when i select the same it should update the path automatically like the other ones.

     

    image

    (Here i hardcoded the toolchain name but it is not updating the path for the global scope)

     

    so when i searched i find this link

    https://www.element14.com/community/message/225338/l/adding-new-toolchain#225338

    and they are mentioned there that these are done by using the extension points and now i'm stuck here i dont know the next step after this

     

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • aswinvenu
    aswinvenu over 5 years ago in reply to promodkumarcm

    Hi Promod,

     

    Okay, From what I understand you need to create a new plugin for your toolchain. Eclipse CDT has a quite extensive documentation on how you can create your own plugins. Please have a look here :

    https://help.eclipse.org/2020-06/index.jsp?topic=/org.eclipse.cdt.doc.isv/guide/mbs/extensibilityGuide/Managed_Build_Ext…

     

    One cross compile gcc extension can be found here:

    https://github.com/eclipse-cdt/cdt/blob/master/cross/org.eclipse.cdt.build.crossgcc/plugin.xml

     

    Its basically an xml file containing all the information about what you need. Please have a look.

     

    I have never tried these in real-life. I heard about these few years back when I was using eclipse plugins quite extensively.

    Now I became a complete commandline guy. Trying to avoid any IDE for various reasons.

     

    For more  information contacting @Liviu Ionescu would be the best option. He is the auther of gnu-mcu-eclipse plugin

     

    Regards,

    Aswin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • aswinvenu
    aswinvenu over 5 years ago in reply to aswinvenu

    Hi Promod,

     

    I think when you spend some time on this I am sure you will be able to figure out how this is done.

    When you get everything running, I would request you to write a blog here on the same, so that others can also learn things from it.

     

    Regards,

    Aswin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Jan Cumps
    Jan Cumps over 5 years ago in reply to promodkumarcm

    promodkumarcm  wrote:

     

    These are the options for the default toolchains provided by the MCU Eclipse right. I want to integrate a new toolchain eg: RISC-V Bitmanip to the dropdown and when i select the same it should update the path automatically like the other ones.

     

    image

    (Here i hardcoded the toolchain name but it is not updating the path for the global scope)

     

    so when i searched i find this link

    https://www.element14.com/community/message/225338/l/adding-new-toolchain#225338 

    and they are mentioned there that these are done by using the extension points and now i'm stuck here i dont know the next step after this

     

    image

    Pragmatically, I would stick to the approach Aswin provided. It's commonly used, and easy to repeat.

    Converting a particular version / install location of GNU into a unique Eclipse toolchain will keep you entertained for a decent time with not much efficiency gain long term.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • promodkumarcm
    promodkumarcm over 5 years ago in reply to Jan Cumps

    Somehow i managed to define the extension point. Is there any way to edit the preference of the plugin which i extended ??

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube