Posted: Tue Feb 16, 2016 5:43 am Post subject: Looking for an updated m32U4def.dat
I wanted to build something using the Mega32U4. However, even sample code fails to compile when using the m32U4def.dat file. For instance, loading the clock sample gives compiler errors about AS2 Bit Definition Not Found. I added the line AS2 = 1 into the dat file, but still get the same error. Using the m32def.dat file works.
So, does anyone have an updated/tweaked dat file for the M32U4?
Posted: Tue Feb 16, 2016 9:19 am Post subject: Re: Looking for an updated m32U4def.dat
CBailey wrote:
I wanted to build something using the Mega32U4.
That's ok.
Quote:
However, even sample code fails to compile when using the m32U4def.dat file. For instance, loading the clock sample gives compiler errors about AS2 Bit Definition Not Found.
It's a world of wonders.
One of them is, there's not AS2 bit within ATM32U4, the same as there's no asynchronous RTC clocked by an external 32kHz crystal, which would be needed by the clock sample.
Quote:
I added the line AS2 = 1 into the dat file, but still get the same error.
No wonder here.
Quote:
Using the m32def.dat file works.
Sure, if you also use an ATMega32 then, the code will even run on the hardware and won't crash immediately.
Quote:
So, does anyone have an updated/tweaked dat file for the M32U4?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum