Jump to content
Solexious

Installing latest tivac core from github

Recommended Posts

Hello all,

There are some fixes that have been made to the master branch of the tivac-core since its last release. https://github.com/energia/tivac-core

How can I install that latest non versioned version of the code? Libraries let you install from a zip, but sadly the boards manager doesn't have that feature and won't pick up on the changes until a new version gets pushed.

Cheers

Sol 

Share this post


Link to post
Share on other sites

To just get the latest version you can use the development approach.

For this first https://github.com/energia/tivac-core and select Clone or Download and Download ZIP

Then locate your local git folder where your projects are stored. In Windows this is in your My Document folder and generate a hardware and Energia folder and unzip the downloaded file into this. So you should get:

My Domentents
  - Energia
      - hardware
         - Energia
           - tivac-core-master    => content of downloaded zip file
 

Now start Energia again. You should now have two TIVAC in your board selection / just need to find the correct one.

Share this post


Link to post
Share on other sites

Thanks very much for the reply @StefanSch.

Is there guidance on how to make your own board to add via the json settings? Ideally I would prefer to do it that way as I can choose to pull commits from the main repo and as I do development across 3+ machines it would be much easier to sync the core on them all this way.

Cheers

Sol

Share this post


Link to post
Share on other sites

Hi @Rei Vilo

I read that thread before I posted, it touches on what I want to do, Robert mentions:

Quote

A better way but more complex would be to create your own installable light weight package. Here is an example of a lightweight TivaC package that I put together a while ago. The downside is that you will have to be able to host the .json file somewhere so that you can point Energia to it in the preferences->Additional Boards Manager URLs.

http://energia.nu/packages/package_wrigley_index.json

But stops short of exactly what you need to do to sort all of that, unless I'm understanding the post wrong. The light weight package also seems to not be fore modifying the core and having a standalone new core is what I'm after, not just changing some pin mapping. (infact the pin mapping will be the same)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...