-
-
Notifications
You must be signed in to change notification settings - Fork 48
ATTiny10 and Toolchain 7.3.0 #65
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
Comments
Following up from the mailing list, better to keep these things near the code I investigated a bit and the problem is:
Said that, there isn't much we can do except waiting for the devices to be upstreamed. As @WestfW correctly noted, Microchip only provides GCC 5.4.0 as "latest", but we know it has tons of issues with lto so we couldn't really use their infrastructure... |
I was having the same problem using the toolchain (version 7.3.0-atmel3.6.1-arduino7) provided by Arduino 1.9.0 (beta). Then I downloaded the toolchain from Microchip and it worked fine. Hope this helps. |
Thanks or the pointer to the Microchip toolchains!
Wayne
…On Wed, Jul 22, 2020 at 4:54 PM enekochan ***@***.***> wrote:
I was having the same problem using the toolchain (version
7.3.0-atmel3.6.1-arduino7) provided by Arduino 1.9.0 (beta). Then I
downloaded the toolchain from Microchip
<https://www.microchip.com/mplab/avr-support/avr-and-arm-toolchains-c-compilers>
and it worked fine. Hope this helps.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#65 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIDM4SNLG2JQFOEV6JYJ5TR453Z5ANCNFSM4JNTVESQ>
.
|
…ers menu. Note that toolsDependencies (in the json) has been set to hold avr-gcc at 5.4.0 due to arduino/toolchain-avr#65 Lightly tested only.
This should enable missing 'avrxmega7' and 'avrtiny' families support. This closes arduino#65 issue on GitHub.
…o use multiple gcc dependencies for a given version. The __DEV__ json file can be added as a file:// url to extra board manager urls for testing. The individual package jsons can have instead of "version" "version-build", and the value of this shall be a hyphen suffixed version, eg 2020-10-03-gcc5.4 or 2020-10-03-gcc7.3 This is necessary so we can support both gcc 5.4 and 7.3, 7.3 is broken for 4/5/9/10 due to arduino/toolchain-avr#65
I have been looking into this recently, not that I've come up with anything substantial. I am unable to find any suspicious differences between the Microchip gcc 7.3 and the Arduino gcc 7.3 :-( Microchip avr-g++
Arduino avr-g++
|
Arduino recently upgraded the AVR toolchain in the macOS version from 32 bit 5.4.0 to 64 bit 7.3.0 in order to support macOs Catalina, which is 64 bit only. However, the 7.3.0 toolchain has an odd problem when trying to link code compiled for the attiny10 series of microcontrollers. To investigate this, I downloaded the Mac version of the toolchain from:
http://downloads.arduino.cc/tools/avr-gcc-7.3.0-atmel3.6.1-arduino5-x86_64-apple-darwin14.tar.bz2
And used it to compile this simple test program:
I can use the 7.3.0 toolchain to compile and link this code for the attiny85, like this:
and it works just fine. But, if i change the -mmcu switch from attiny85 to attiny10, the compile seems to work fine, but the command to link the code (2nd line) spews out the following errors:
Curiously, the file crtattiny10.o is available in the toolchain at path: ./avr/lib/avrtiny/crtattiny10.o
Can anyone help me figure out what's going on here?
Wayne
The text was updated successfully, but these errors were encountered: