mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-23 20:03:01 +00:00
Updated Home (markdown)
This commit is contained in:
parent
e97a2215c7
commit
5f79da2d5f
6
Home.md
6
Home.md
@ -99,10 +99,10 @@ If this is a bit complex for you, Docker might be the turn-key solution you need
|
|||||||
# modify the keymap and keyboard assigment to compile what you want
|
# modify the keymap and keyboard assigment to compile what you want
|
||||||
# defaults are ergodox/default
|
# defaults are ergodox/default
|
||||||
|
|
||||||
docker run -e keymap=gwen -e keyboard=ergodox --rm -v $('pwd'):/qmk:rw edasque/qmk_firmware
|
docker run -e keymap=gwen -e keymap=default -e keyboard=ergodox --rm -v $('pwd'):/qmk:rw edasque/qmk_firmware
|
||||||
|
|
||||||
# On windows docker seems to have issue with VOLUME tag in Dockerfile, and $('pwd') won't print a windows compliant path, use full path instead like this
|
# On windows docker seems to have issue with VOLUME tag in Dockerfile, and $('pwd') won't print a windows compliant path, use full path instead like this
|
||||||
docker run -e keymap=default -e keyboard=ergobop --rm -v D:/Users/Sacapuces/Documents/Repositories/qmk:/qmk:rw edasque/qmk_firmware
|
docker run -e keymap=default -e keymap=default -e keyboard=ergobox --rm -v D:/Users/Sacapuces/Documents/Repositories/qmk:/qmk:rw edasque/qmk_firmware
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -1562,4 +1562,4 @@ This will add a traced variable named "layer" (the name is just for your informa
|
|||||||
|
|
||||||
In order to actually detect changes to the variables you should call `VERIFY_TRACED_VARIABLES` around the code that you think that modifies the variable. If a variable is modified it will tell you between which two `VERIFY_TRACED_VARIABLES` calls the modification happened. You can then add more calls to track it down further. I don't recommend spamming the codebase with calls. It's better to start with a few, and then keep adding them in a binary search fashion. You can also delete the ones you don't need, as each call need to store the file name and line number in the ROM, so you can run out of memory if you add too many calls.
|
In order to actually detect changes to the variables you should call `VERIFY_TRACED_VARIABLES` around the code that you think that modifies the variable. If a variable is modified it will tell you between which two `VERIFY_TRACED_VARIABLES` calls the modification happened. You can then add more calls to track it down further. I don't recommend spamming the codebase with calls. It's better to start with a few, and then keep adding them in a binary search fashion. You can also delete the ones you don't need, as each call need to store the file name and line number in the ROM, so you can run out of memory if you add too many calls.
|
||||||
|
|
||||||
Also remember to delete all the tracing code ones you have found the bug, as you wouldn't want to create a pull request with tracing code.
|
Also remember to delete all the tracing code ones you have found the bug, as you wouldn't want to create a pull request with tracing code.
|
Loading…
Reference in New Issue
Block a user