made ready for newer GCC compiler#30
Open
thijses wants to merge 3 commits intoplatformio:developfrom
Open
Conversation
|
For completeness: The new toolchain version was indeed meant to be used with a modified platform (here), but I also provided that with https://github.com/maxgerhardt/pio-timsp430-new-toolchain-example. It contains critical compiler switches with which the entire flash and ram of a MCU can be used, as discussed in https://community.platformio.org/t/msp430-use-all-128kb-not-just-47kb/21326. I don't see these additions in this PR. |
Author
|
you are absolutely right, sorry for not mentioning it. I added that as well. It spits out a lot more compiler warnings now, but they seem harmless. for example: I'm using the MSP430FR2355, which only has 32KB anyways, but it's good to have if this fork actually gets merger and whatnot. Thank you (again), @maxgerhardt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
a while back, a user by the name of @maxgerhardt made a fork for using a newer toolchain (provided by TI's website).
https://github.com/maxgerhardt/pio-toolchaintimsp430-new
I know next-to-nothing about compilers, but it seems to make that toolchain work you only need to specify it in platformio.ini and fix 2 files in this repository. The official platformIO MSP430 toolchain uses GCC4.6.3, which means C++0x. I happen to strongly prefer C++11 (for the record, i did not know there were significant differences in C++ versions over recent years). Could someone please explain to me why TI's opensource (modern) toolchain is not used?
Sincerely,
Thijs