estratos 5 Posted September 13, 2016 Share Posted September 13, 2016 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. Quote Link to post Share on other sites
energia 485 Posted September 13, 2016 Share Posted September 13, 2016 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. Robert Fmilburn 1 Quote Link to post Share on other sites
reaper7 67 Posted September 14, 2016 Share Posted September 14, 2016 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 runtime.tools.msp430-gcc.path=C:/PROGRAMY/Arduino/hardware/tools/msp430 - replace: from: tools.dslite.path={runtime.tools.dslite.path} to: tools.dslite.path=C:/PROGRAMY/Arduino/hardware/tools/DSLite - replace: from: tools.mspdebug.path={runtime.tools.mspdebug.path} to: tools.mspdebug.path=C:/PROGRAMY/Arduino/hardware/tools/msp430 Fmilburn 1 Quote Link to post Share on other sites
Rickta59 589 Posted September 14, 2016 Share Posted September 14, 2016 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/hardwarealt_ti Arduino_STM32 grumpy$ ls /home/kimballr/Arduino/hardware/alt_ti/tivac$ ls /home/kimballr/Arduino/hardware/alt_ti/tivacboards.txt extras platform.txt README.md toolscores 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 $ -rick Fmilburn and reaper7 2 Quote Link to post Share on other sites
reaper7 67 Posted September 15, 2016 Share Posted September 15, 2016 but I, for compliance with other platforms, use method from this: https://github.com/esp8266/Arduino#using-git-version Quote Link to post Share on other sites
estratos 5 Posted September 15, 2016 Author Share Posted September 15, 2016 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? Quote Link to post Share on other sites
Rei Vilo 695 Posted September 15, 2016 Share Posted September 15, 2016 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. Feel free to open a ticket at the Energia GitHub repository for an easier follow-up. Thank you! Quote Link to post Share on other sites
Rickta59 589 Posted September 15, 2016 Share Posted September 15, 2016 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. Robert Is that fix only for TI-RTOS based boards? Quote Link to post Share on other sites
estratos 5 Posted May 3, 2018 Author Share Posted May 3, 2018 Sorry to pump this thread up again but I found this json file: http://www.energia.nu/packages/package_index.json And wonder whether this file can be used from the Arduino IDE to install the Energia cores. If yes, are the cores up-to-date? Thanks! Quote Link to post Share on other sites
Rei Vilo 695 Posted May 3, 2018 Share Posted May 3, 2018 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! Quote Link to post Share on other sites
estratos 5 Posted May 3, 2018 Author Share Posted May 3, 2018 Thanks Rei 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.