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

UNIMAP: Undefined layers in firmware #758

Open
tmk opened this issue Apr 28, 2023 · 0 comments
Open

UNIMAP: Undefined layers in firmware #758

tmk opened this issue Apr 28, 2023 · 0 comments
Labels

Comments

@tmk
Copy link
Owner

tmk commented Apr 28, 2023

when you don't define unused layers in keymap file, flash memory space for the undefined layers is filled with 0xFFFF(on AVR at least) and the the code is not valid for unimap action. It would be better that the undefined space is filled with TRANS(or NO) action.

TMK keymap editor fill the undefined space with 0x0001(TRANS) when its firmware is downloaded. This is not a problem here.

Solutions:

  1. Change code to reognized 0xFFFF as TRANS(or NO).
  2. Change linker script to fill with TRANS(or NO)
@tmk tmk added the TODO label Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant