Spritetm / hadbadge2019_fpgasoc

FPGA SoC code and application example for Hackaday Supercon 2019 badge
Other
157 stars 70 forks source link

Reload file list on SELECT key #125

Closed unwiredben closed 4 years ago

unwiredben commented 4 years ago

Modify flow of IPL's show_main_menu so a press of the select button exits the menu without running any code. This will then trigger re-reading the flash memory. This allows seeing new files on flash without needing to start another app or power-cycle the badge.

Spritetm commented 4 years ago

Eh, sure. Unplugging and replugging the USB cable works as well, btw, but I suppose this saves some wear and tear on that.

mwachs5 commented 4 years ago

"Unplugging and replugging the USB cable works as well, btw"

Not really. I could never get the badge to eject properly on my mac (it would immediately reconnect again or something), so when the cable was unplugged, i would have to restart my mac to get it to see it again. Thanks @unwiredben !

macegr commented 4 years ago

I did NOT have to restart my Macbook upon USB plug cycle, but it was annoying enough without that. If I'd had to restart the computer every time I might have flipped a badge hacking table.