cub-uanic / tmk_keyboard

keyboard controller firmware for Atmel AVR USB family
158 stars 157 forks source link

Latest Teensy app unable to load hex file. #46

Closed andrimarjonsson closed 5 years ago

andrimarjonsson commented 5 years ago

Tried building my keymap after an update. Builds fine. However when I try to load the built hex file in the Teensy app I get the following error.

00:11:33.327: Open File event 00:11:36.781: ihex: parse error line 1454

The tail of my hex reads as follows

:105AA000A30456042004FE03C503380351036A030C :0E5AB0008303A303010203040506070809008F :0200000400807A :040374000000000085 //<--- complaints about this line. :00000001FF

There is one ticket in QMK referring to a similar issue here. I doubt a similar fix can be applied here since the two makefile setups are different enough at this point.

Any ideas?

tmk commented 5 years ago

iirc, one of versions of GCC toolchain caused this problem. upgrade or downgrade your toolchain.

tmk commented 5 years ago

See this also. https://github.com/tmk/tmk_keyboard/issues/576

andrimarjonsson commented 5 years ago

Yes that was it, how did I miss this in my googling.

Thank you very much for a quick and helpful response!

marknsikora commented 5 years ago

Yes, I had the same issue. The newest avr tool chain on arch seems to be working again though.

I'm going to close this for now.