abcminiuser / lufa

LUFA - the Lightweight USB Framework for AVRs.
http://www.lufa-lib.org
1.03k stars 321 forks source link

INFO: LTO option clears eeprom #154

Open zygmunt opened 4 years ago

zygmunt commented 4 years ago

Hi, something interesting to note. Having LTO = Y will cleanup your eeprom. I dont know how to avoid that, but would be good know how to do it. LTO nicely optimize code, but wiping out eeprom may brake few of your days:)

NicoHood commented 3 years ago

What do you mean by cleanup? When does it happen? On every boot, when flashing the device? This sounds strange to me.

arunmjayan commented 3 years ago

Recently i noticed that the chip manufacturers only are giving us the HID example code for that chip, for example since i was working with a adafruit board they only had the HID code, which got after a small digging. From what i understood from that code is that, instead of using c for the RawHID communication, you could write a small python program importing the hid package from the python library itself import hid. Thank You. Regards

On Fri, Jan 29, 2021 at 5:01 PM NicoHood notifications@github.com wrote:

What do you mean by cleanup? When does it happen? On every boot, when flashing the device? This sounds strange to me.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/abcminiuser/lufa/issues/154#issuecomment-769750588, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMTXDHBQJOKTPQDTRCKCXP3S4KMAXANCNFSM4JQDTQYQ .