I'm trying to modify the ATtiny demos to work on an ATtiny85 and keep getting:
Code: Select all
/tmp/ccqAUctt.s: Assembler messages:
/tmp/ccqAUctt.s:255: Error: illegal opcode jmp for mcu avr25
make: *** [../../ChibiOS/os/common/ports/AVR/compilers/GCC/rules.mk:174: build/obj/chcore.o] Error 1
make: *** Waiting for unfinished jobs....
To get that far I had to set it change the entry in the Makefile from
Code: Select all
MCU = attiny167
to
Code: Select all
MCU = attiny85
as well as cutting out the UART related functions.
I would be tempted to say it's not worth it because the chip only has 8K of flash, but hal_st_lld has an __AVT_ATtiny85__ macro, so there's been at least some effort to make it work.
Is there some other piece that I'm missing?