Skip to content
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

Suport for ATmega8535 #51

Open
OzPineapple opened this issue Jun 10, 2022 · 1 comment
Open

Suport for ATmega8535 #51

OzPineapple opened this issue Jun 10, 2022 · 1 comment

Comments

@OzPineapple
Copy link

.define m8535def.inc
There's the file for the ATmega8535 but there's no support fot it at listing devices:

$ avra --devices | grep ATmega85
ATmega8515   |       8192 |    0x0060 |      512 |         512 |          133

It's ironic. The only ATmega is the one not avliable.

$ avra file.asm
AVRA: advanced AVR macro assembler (version 1.4.2)
Pass 1...
/usr/include/avr/m8535def.inc(47) : Error   : Unknown device: ATmega8535
Warning : No .DEVICE definition found. Cannot make useful address range check !
Warning : No .DEVICE definition found. Cannot make useful address range check !
Warning : No .DEVICE definition found. Cannot make useful address range check !

will be there support on the future for this?

@Luk9091
Copy link

Luk9091 commented Mar 29, 2023

It isn't the best solution but temporary it's work.
You could comment line 47:

46 ; ***** SPECIFY DEVICE ***************************************************
47 ; .device ATmega8535 ; this should be commented
48 #pragma AVRPART ADMIN PART_NAME ATmega8535

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

No branches or pull requests

2 participants