Skip to content

Moved from arm-none-eabi-gcc 8.2.1-1.7 to 9.2.1-1.1 #819

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

Merged
merged 2 commits into from
Dec 6, 2019

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Dec 6, 2019

Thanks to @ilg-ul, arm-none-eabi-gcc packages are now available from:
https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack
Release v9.2.1-1.1

Linked:
stm32duino/arm-none-eabi-gcc#2

from xpack-dev-tools/arm-none-eabi-gcc-xpack

Signed-off-by: Frederic Pillon <[email protected]>
@fpistm fpistm added the enhancement New feature or request label Dec 6, 2019
@fpistm fpistm added this to the 1.8.0🎄 🎅 milestone Dec 6, 2019
@fpistm fpistm self-assigned this Dec 6, 2019
from xpack-dev-tools/arm-none-eabi-gcc-xpack

Signed-off-by: Frederic Pillon <[email protected]>
@fpistm fpistm changed the title Moved from arm-none-eabi-gcc 8.2.1-1.7 to 8.3.1-1.4 Moved from arm-none-eabi-gcc 8.2.1-1.7 to 9.2.1-1.1 Dec 6, 2019
@fpistm fpistm merged commit 70d7b47 into stm32duino:master Dec 6, 2019
@fpistm fpistm deleted the arm_gcc_update branch December 6, 2019 17:11
@ilg-ul
Copy link

ilg-ul commented Dec 6, 2019

Great! Please don't forget to also update https://github.com/stm32duino/arm-none-eabi-gcc/blob/master/README.md, and generally to replace all references from GNU MCU Eclipse to the new xPack names.

fpistm added a commit that referenced this pull request Dec 8, 2019
@fpistm
Copy link
Member Author

fpistm commented Dec 8, 2019

Great! Please don't forget to also update https://github.com/stm32duino/arm-none-eabi-gcc/blob/master/README.md, and generally to replace all references from GNU MCU Eclipse to the new xPack names.

Done also in the README.md of the core 😉

@ilg-ul
Copy link

ilg-ul commented Dec 8, 2019

Great, thank you!

Generally when you mention the project prefer the web url:

https://xpack.github.io/arm-none-eabi-gcc/

@fpistm
Copy link
Member Author

fpistm commented Dec 8, 2019

Generally when you mention the project prefer the web url:

https://xpack.github.io/arm-none-eabi-gcc/

Yes this is the one used as link when I wtrote : The xPack GNU Arm Embedded GCC 😉

@ilg-ul
Copy link

ilg-ul commented Dec 8, 2019

Ah, right, I saw only the following GitHub URL.

@fpistm
Copy link
Member Author

fpistm commented Dec 11, 2019

Attached the full build log using the new xpack-arm-none-eabi-gcc-9.2.1-1.1.

Only one fix applied to Firmata:
firmata/arduino#438

build_result-xpack-arm-none-eabi-gcc-9.2.1-1.1.log

@ilg-ul
Copy link

ilg-ul commented Dec 11, 2019

Does this mean that your tests passed with the new GCC 9.x?

@fpistm
Copy link
Member Author

fpistm commented Dec 11, 2019

Does this mean that your tests passed with the new GCC 9.x?

At least all builds are passed. For the tests, I currently have no issue but I do not finished them for the next release.

@pkourany
Copy link
Contributor

I am using Arduino IDE v1.8.10 with v1.7.0 of the Core under Windows 10 x64 (VM) for testing changes all updates to the Core code. For this change, I have not been able to get the gcc 9.2.1-1.1 to compile successfully and I suspect it is related to where I put the gcc compiler code. I tried putting in the xPack directory as suggested but I get:

exec: "/bin/arm-none-eabi-g++": file does not exist
Error compiling for board Generic STM32F1 series.

I have not included this path in the Windows path. Should I? I am not sure how the Arduino IDE finds the necessary toolchain. Any suggestions or do I need to wait for v1.8.0 of the Core to be released which I assume will include the updated gcc toolchain.

@ilg-ul
Copy link

ilg-ul commented Dec 13, 2019

I tried putting in the xPack directory as suggested

if by 'as suggested' you mean where the xPack documentation suggested (https://xpack.github.io/arm-none-eabi-gcc/install/), then Arduino will not find it, because the Arduino IDE is not xPack aware, only the Eclipse MCU plug-ins are able to identify them there and automatically adjust the path.

@pkourany
Copy link
Contributor

So where should I put the gcc toolchain files for the Arduino IDE to find them?

@fpistm
Copy link
Member Author

fpistm commented Dec 13, 2019

@pkourany
while the 1.8.0 is not officially release, you can install all dependencies thanks the JSON available in the dev branch:
https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json

Other method is to simply download the package from :
https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/v9.2.1-1.1/

then unpack it in the Arduino package folder, anyway you will have to do some manual update like Arduino does:
When you extract, you will have this:
STM32/tools/xpack-arm-none-eabi-gcc-9.2.1-1.1/
But Arduino split the name and the version like this:
STM32/tools/xpack-arm-none-eabi-gcc/9.2.1-1.1/

To find the Arduino package folder:
https://github.com/stm32duino/wiki/wiki/Where-are-sources

@pkourany
Copy link
Contributor

Thanks for the PERFECT instructions! I move the gcc to the suggested path and now everything compiles as expect. Thanks again.

@fpistm
Copy link
Member Author

fpistm commented Dec 13, 2019

Welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants