Jump to content

JSON file for installation on the Arduino IDE?

Recommended Posts

Energia 18 is finally supporting the new boards and libraries manager provided by the Arduino IDE. My question is: is there a URL pointing to the necessary JSON file to install the Energia cores on the Arduino IDE? Once Energia is ready to comply with the 1.6.x IDE architecture introduced by Arduino I don't see any reason to limit the use of the Energia cores and libraries to a single IDE.


Thanks in advance for your responses.


Link to post
Share on other sites

I use arduino ide with latest cores for msp430/tivac/cc3200

This is my folders structure (inside arduino instalation directory):



so, inside hardware folder I add:

1. energia directory and inside this dir I have git clones my fav cores (msp430/tivac/cc3200),

2. into existing directory tools I copy from new energia ide: 

  - arm-none-eabi-gcc

  - cc3200prog

  - DSLite

  - msp430


I did a little fix inside platform.txt files for all cores...for e.g (msp430) - sorry but only hardcoded paths:

- new line after version=x.x.x and before # AVR compile variables


- replace:





- replace:






Link to post
Share on other sites

I tend to stay away from the Arduino distrubution directory. I created a directory in my Arduino sketch directory called "hardware" to store alternate cores. In my case on linux it ends up being ${HOME}/Arduino/hardware


$ ls ${HOME}/Arduino/hardware
alt_ti  Arduino_STM32  grumpy
$ ls /home/kimballr/Arduino/hardware/alt_ti/
$ ls /home/kimballr/Arduino/hardware/alt_ti/tivac
boards.txt  extras     platform.txt     README.md  tools
cores       libraries  programmers.txt  system     variants


I didn't have to change anything in platform.txt for this to work.


The directory above shows my hacked version of the tivac-core: https://github.com/RickKimball/tivac-core


But you probably want to use the real one: https://github.com/energia/tivac-core.git

$ mkdir /home/kimballr/Arduino/hardware/ti
$ cd /home/kimballr/Arduino/hardware/ti
$ git clone https://github.com/energia/tivac-core.git tivac
Cloning into 'tivac'...
remote: Counting objects: 677, done.
remote: Total 677 (delta 0), reused 0 (delta 0), pack-reused 676
Receiving objects: 100% (677/677), 2.84 MiB | 0 bytes/s, done.
Resolving deltas: 100% (128/128), done.
Checking connectivity... done.
$ ls tivac
boards.txt  extras     platform.txt     README.md  variants
cores       libraries  programmers.txt  system


Link to post
Share on other sites

Hi guys,


The install process provided by Robert is in fact the recommended one for new third-party boards. This process ends by installing everything in the $HOME/.arduino15 folder.


Robert, What would be the effects of your pull request not being finally merged into the main Arduino branch?

Link to post
Share on other sites

Not yet but I will have one soon. There are a couple issues that I need to work out to make everything work in the Arduino IDE. One of the things is an outstanding github pull-request for arduino-builder (https://github.com/arduino/arduino-builder/pull/119). I hope to work those out in the next couple of weeks.



Is that fix only for TI-RTOS based boards?

Link to post
Share on other sites
  • 1 year later...

Energia requires a modification of the arduino_builder utility.

Energia filed a pull request last Feb 23, 2016 Add build.project_path to global properties #119 but the pull request wasn’t considered, neither accepted nor rejected. 

Due to the lack of answer from the Arduino team, and despite multiple reminders, Energia maintains its own IDE to support the LaunchPad and BoosterPack boards. 

Feel free to post a bump on the pull request. You might be luckier! 

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.

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...