Solexious 0 Posted March 16, 2020 Share Posted March 16, 2020 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 Quote Link to post Share on other sites
StefanSch 10 Posted March 23, 2020 Share Posted March 23, 2020 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. Quote Link to post Share on other sites
Solexious 0 Posted March 25, 2020 Author Share Posted March 25, 2020 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 Quote Link to post Share on other sites
Rei Vilo 695 Posted March 25, 2020 Share Posted March 25, 2020 For your own board, please refer to Quote Link to post Share on other sites
Solexious 0 Posted March 26, 2020 Author Share Posted March 26, 2020 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) Quote Link to post Share on other sites
Solexious 0 Posted March 26, 2020 Author Share Posted March 26, 2020 I'm currently trying to do this myself in this repo with an archive of the current master and a custom json. Currently they don't show up in my board manager, so trying to find the issue. https://github.com/solexious/custom-tivac-core Quote Link to post Share on other sites
Solexious 0 Posted March 26, 2020 Author Share Posted March 26, 2020 Ah, think I've got it, was a naming issue with the json file, didn't realise it had to follow package_YOURNAME_PACKAGENAME_index.json until I found the spec page for it on the arduino ide site: https://arduino.github.io/arduino-cli/package_index_json-specification/ 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.