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

Change Lufa-MS size #13183

Merged
merged 3 commits into from
Jun 16, 2021
Merged

Change Lufa-MS size #13183

merged 3 commits into from
Jun 16, 2021

Conversation

kb-elmo
Copy link
Contributor

@kb-elmo kb-elmo commented Jun 11, 2021

Description

Increased the size of the Lufa-MS bootloader to 8k

Reason stated here:
abcminiuser/lufa@5ada54b#diff-15ef1ada160ea767f8b2d21026d94de985fcc1641b8b83d69377053ccd6bfddf

The new version also fixed the issue of oversized firmware files overwriting parts of the bootloader and thus softbricking the MCU.
Writing oversized files to the flashdrive still works to an extent (it will show an error if the file is vastly oversized) but it just results in the keyboard not starting up. It can still be put back into bootloader mode afterwards without problems.
Throwing random files into the flash drive (like the MacOS typical .DS_Store) also doesn't hurt the bootloader anymore.

I guess we could remove the warning for the Lufa-MS bootloader now since it should be safe to use?

Relevant commit:
abcminiuser/lufa@ba6d9c1#diff-15ef1ada160ea767f8b2d21026d94de985fcc1641b8b83d69377053ccd6bfddf

Changes for the bootloader were tested on a dummy Arduino Pro Micro with the latest Lufa-MS bootloader.

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout/userspace (addition or update)
  • Documentation

Checklist

  • My code follows the code style of this project: C, Python
  • I have read the PR Checklist document and have made the appropriate changes.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@github-actions github-actions bot added the core label Jun 11, 2021
bootloader.mk Outdated Show resolved Hide resolved
@kb-elmo kb-elmo closed this Jun 14, 2021
@kb-elmo kb-elmo reopened this Jun 14, 2021
Co-authored-by: Drashna Jaelre <drashna@live.com>
@kb-elmo kb-elmo mentioned this pull request Jun 14, 2021
14 tasks
@kb-elmo
Copy link
Contributor Author

kb-elmo commented Jun 14, 2021

Changed the bootloader to 8k again since it is already in QMK as Fauxpark said here: #13017 (comment)

Also added local overrides for the two boards that use the old 6k bootloader (Tada68 and Cod67)

@fauxpark fauxpark requested a review from a team June 14, 2021 09:35
@drashna drashna merged commit 4720aa4 into qmk:master Jun 16, 2021
HokieGeek pushed a commit to HokieGeek/qmk_firmware that referenced this pull request Jul 11, 2021
Co-authored-by: Drashna Jaelre <drashna@live.com>
wox pushed a commit to wox/qmk_firmware that referenced this pull request Aug 14, 2021
Co-authored-by: Drashna Jaelre <drashna@live.com>
nhongooi pushed a commit to nhongooi/qmk_firmware that referenced this pull request Dec 5, 2021
Co-authored-by: Drashna Jaelre <drashna@live.com>
BorisTestov pushed a commit to BorisTestov/qmk_firmware that referenced this pull request May 23, 2024
Co-authored-by: Drashna Jaelre <drashna@live.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants