Code Monkey home page Code Monkey logo

Comments (7)

Andy4495 avatar Andy4495 commented on May 28, 2024

I don't know; I don't use platformIO and haven't tested them. However, if platformIO uses other cores unmodified, then these should also work.

You can always try to load them and see. If you do, let me know and I'll update the README.

from ti_platform_cores_for_arduino.

rei-vilo avatar rei-vilo commented on May 28, 2024

Platformio already supports the TivaC TM4C123 and TM4C129.

See https://registry.platformio.org/platforms/platformio/titiva

About the MSP432 family, see my comment at energia/msp432r-core#25 (comment)

from ti_platform_cores_for_arduino.

chemmex avatar chemmex commented on May 28, 2024

Thanks for your comments. Actually, I just meant using msp430_elf_GCC package in the Platformio as I prefer it over Arduino/Energia IDE.
Eventually I found out that simple sketch for MSP430G2553 which uses standard SoftSerial lib cannot fit 512 bytes of RAM when compiled with msp430_elf_GCC, so I will revert to the old compiler and try to adjust the lib I use.

from ti_platform_cores_for_arduino.

rei-vilo avatar rei-vilo commented on May 28, 2024

Platformio lists all these TI MSP430 boards but I don't know which tool-chain there are using.

For a very compact binary code, I am still using [Energia release 0101E0012](https://energia.nu/download/.

Obviously, I am not using the Arduino / Energia IDE, but Visual Studio Code with emCode.

from ti_platform_cores_for_arduino.

Andy4495 avatar Andy4495 commented on May 28, 2024

Since my focus is on Arduino compatibility and it appears that you are taking an alternate route on the original request, I am going to close this.

from ti_platform_cores_for_arduino.

chemmex avatar chemmex commented on May 28, 2024

I have found a possible way to use msp430-elf-gcc 9.2.0.50 compler and MSP430 2.0.12 board package with Platformio on a per-project basis:
I had to download the toolchain and board packages using links from this file, unpack them and add respective package.json files (I used platformio files of standard packages as an example).

Then I added the platform_packages = option into the project's platformio.ini file with links to local files:

[env:lpmsp430fr5969]
platform = timsp430
board = lpmsp430fr5969
framework = arduino
platform_packages = 
            framework-energiamsp430-elf@file:///home/chemmex/Downloads/framework-energiamsp430-elf
            toolchain-timsp430-elf@file:///home/chemmex/Downloads/toolchain-timsp430-elf
lib_deps = 
            https://github.com/adafruit/Adafruit_NeoPixel

Then Platformio compiled the project using msp430-elf-gcc.

More info can be found here

from ti_platform_cores_for_arduino.

Andy4495 avatar Andy4495 commented on May 28, 2024

Great - I'm glad you were able to get this working. I added a note in my README with this info in case somebody else comes across this. Thanks.

from ti_platform_cores_for_arduino.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.