Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage in PlatformIO #3

Closed
chemmex opened this issue Aug 11, 2023 · 7 comments
Closed

Usage in PlatformIO #3

chemmex opened this issue Aug 11, 2023 · 7 comments
Assignees
Labels
wontfix This will not be worked on

Comments

@chemmex
Copy link

chemmex commented Aug 11, 2023

Can these cores be used with Platformio?

@Andy4495
Copy link
Owner

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.

@rei-vilo
Copy link

rei-vilo commented Aug 13, 2023

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)

@chemmex
Copy link
Author

chemmex commented Aug 13, 2023

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.

@rei-vilo
Copy link

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.

@Andy4495 Andy4495 self-assigned this Aug 21, 2023
@Andy4495 Andy4495 added the wontfix This will not be worked on label Aug 21, 2023
@Andy4495
Copy link
Owner

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.

@chemmex
Copy link
Author

chemmex commented Aug 22, 2023

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

@Andy4495
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants