You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
asmfunc.S: Assembler messages:
asmfunc.S:86: Error: operand out of range: 225
asmfunc.S:124: Error: operand out of range: 226
asmfunc.S:138: Error: operand out of range: 226
avr-gcc 4.9.2-atmel3.5.3-arduino2 message:
asmfunc.S: Assembler messages:
asmfunc.S:86: Error: number must be positive and less than 32
asmfunc.S:124: Error: number must be positive and less than 32
asmfunc.S:138: Error: number must be positive and less than 32
This was trying to build for SD CS Arduino pin 8 but I get similar errors for any bit on any port above G.
I haven't had much luck searching for information on this. The best I've found is http://www.nongnu.org/avr-libc/user-manual/group__avr__sfr__notes.html but I've tried every combination of the fixes listed and still couldn't compile but I'm just basically working on it randomly since I don't really understand what the problem is.
The text was updated successfully, but these errors were encountered:
For I/O registers
located in extended I/O map, "IN", "OUT", "SBIS", "SBIC", "CBI", and "SBI" instructions must be replaced with
instructions that allow access to extended I/O. Typically "LDS" and "STS" combined with "SBRS", "SBRC", "SBR",
and "CBR".
For example, yiou can put following code inside init_spi (in asmfunc.S):
Thanks @anatom74! I'm caught up in other projects right now but I am definitely planning to try to resolve some issues and make some improvements to avr_boot at some point in the future. Of course if someone gets around to doing it before me I surely don't mind!
command:
avr-gcc 6.0.1 error message:
avr-gcc 4.9.2-atmel3.5.3-arduino2 message:
This was trying to build for SD CS Arduino pin 8 but I get similar errors for any bit on any port above G.
I haven't had much luck searching for information on this. The best I've found is http://www.nongnu.org/avr-libc/user-manual/group__avr__sfr__notes.html but I've tried every combination of the fixes listed and still couldn't compile but I'm just basically working on it randomly since I don't really understand what the problem is.
The text was updated successfully, but these errors were encountered: