Compare commits
694 Commits
Author | SHA1 | Date | |
---|---|---|---|
bacec14073 | |||
b865b9e170 | |||
1d182995ed | |||
bda28fa384 | |||
89487677e3 | |||
7e0299117b | |||
314f6c1ddb | |||
ba7546a334 | |||
d70e9b8659 | |||
9b410a9214 | |||
e719f5e294 | |||
9f2cd9119f | |||
961f0b7b2d | |||
ea77246865 | |||
3bf01bb9ed | |||
7f805cc779 | |||
403b0addea | |||
93f2ed3abf | |||
24a86d5fdb | |||
0512e286a6 | |||
26854f5940 | |||
499fc3b85e | |||
9c0ce80d7e | |||
4b69225c22 | |||
2133cc1011 | |||
7996be6db6 | |||
f71f7733a3 | |||
f5ccd04a5f | |||
330b73a2df | |||
0152dd811d | |||
e837a32b2b | |||
2222836f09 | |||
f93d72e57f | |||
3a23d0aab7 | |||
08fc370621 | |||
1283863c0e | |||
48a79b08cc | |||
8f03657491 | |||
d2bed27414 | |||
b8b1cb04b2 | |||
3110a70f6f | |||
59f5889e62 | |||
7b5dee4064 | |||
f587a0c548 | |||
c9cee5acca | |||
609b23af34 | |||
7ce71625bc | |||
d1420cf1d9 | |||
86885ecbcc | |||
a0708b2a78 | |||
92f85ce929 | |||
92ea53aeda | |||
8d5ad26310 | |||
8f6c228adb | |||
2da0827d4f | |||
40ed20dddc | |||
17a0ccb432 | |||
4a7894d98c | |||
43843e19b6 | |||
f4ba17c4a0 | |||
d784f78bd0 | |||
7fad94ba2d | |||
86ab1c1331 | |||
beb9fcb8bc | |||
242f51007f | |||
5e8c0e4d5f | |||
9cf58ec834 | |||
a63808c23f | |||
7bd049a79a | |||
e4c41b4337 | |||
47b7b4bcff | |||
7ae9dbca1d | |||
7d692d64f3 | |||
9908ed7ecd | |||
2cdf99ae95 | |||
0b796b91a3 | |||
7d0358cfeb | |||
b5b422335a | |||
aa9882abd6 | |||
0bc804e6a1 | |||
999200c05a | |||
12f02dd8be | |||
74770ac79b | |||
7a099b7ea5 | |||
cd91a3ced7 | |||
e922b46a86 | |||
ef881364d4 | |||
37fc08af84 | |||
896d9aa98c | |||
b8ac4dddb6 | |||
9828f9d256 | |||
9a654e5728 | |||
b47f179a4a | |||
6ceff1367d | |||
13af265268 | |||
3f45fd4924 | |||
3ae87b1555 | |||
db1eeea478 | |||
bbf7a20b33 | |||
d10350cd2c | |||
b44e64a6bf | |||
584b7cf801 | |||
b1f4d49c43 | |||
9c6942ea40 | |||
0afe0e2441 | |||
ab1dd0faab | |||
78d366fca6 | |||
fe02abc479 | |||
4002843797 | |||
21f4375393 | |||
90f3d6201a | |||
0a9d06a505 | |||
f667821ed3 | |||
34bc896cf9 | |||
11d49d00e7 | |||
9991894514 | |||
01593501e3 | |||
1504e9ca4c | |||
3137883956 | |||
1d0b4c8d38 | |||
2ffdec5dc2 | |||
79b364d289 | |||
d0702b519d | |||
8c3e09b950 | |||
61009c506b | |||
b444e82985 | |||
55e671a6f9 | |||
98ed19045d | |||
95671148a4 | |||
50cd320616 | |||
bccf2cba6a | |||
3b987f4a9d | |||
bc3c6f0831 | |||
25ff06c01d | |||
5208361dcb | |||
462ab3c4d2 | |||
1b3b1427d2 | |||
bc78474906 | |||
cdaac25861 | |||
40f0325af8 | |||
989f2476b6 | |||
9c6b8fae40 | |||
4eb5c6803f | |||
758766820d | |||
e19cbe25f3 | |||
f07841cce3 | |||
6df5d64bb9 | |||
41a5046e89 | |||
e24f9b2c0a | |||
c67285587c | |||
b0604aca47 | |||
ff6c44db25 | |||
7d677cfdff | |||
df3c9a5401 | |||
ccb6c908dd | |||
f9aeea64c1 | |||
3499677b6a | |||
cf45a05296 | |||
c2362b4bea | |||
e871ddaae8 | |||
6dfaedb0d4 | |||
aa3b64db2b | |||
650864c27d | |||
a7febfbb62 | |||
8d6bf19fc7 | |||
2202a25c35 | |||
5dfaf0a218 | |||
c9a1804ca7 | |||
7a07e4a443 | |||
4d5abe1e74 | |||
11b6bb8179 | |||
a988f8a169 | |||
f0618a1d53 | |||
d5e622b979 | |||
a5f36b156b | |||
3dae56b634 | |||
53b7dbe671 | |||
ebb512db82 | |||
fb6c9eaed4 | |||
a01a8949eb | |||
17409dad54 | |||
903a42f869 | |||
18090062ea | |||
4d09bfa076 | |||
11fc7bf0dd | |||
c3406eb8d7 | |||
a1ecbaa45d | |||
87c4152738 | |||
0250de184d | |||
8e9d109b8c | |||
f20a05440e | |||
8c0267c0eb | |||
de6a6f963b | |||
10c3b9737f | |||
007bcb2106 | |||
a76e70cfff | |||
d3b00d9594 | |||
2889f62179 | |||
3115cdf663 | |||
a6900dd5c5 | |||
eeadbd2176 | |||
d55b07696b | |||
53132ab9cf | |||
f7e69639b5 | |||
49c912f9b4 | |||
7717630390 | |||
8dc66867e2 | |||
1c772eb618 | |||
ca8b4b8e30 | |||
0ee48d287a | |||
252b041b97 | |||
944b6107e2 | |||
b867522f8c | |||
d84a7351ea | |||
f6dd8dea2e | |||
2d843088a2 | |||
cc9520b7a0 | |||
e296d67146 | |||
ef6505ad75 | |||
242b80c63f | |||
968cc1fe7b | |||
2c878b1b16 | |||
328279ac59 | |||
d322b4c041 | |||
043d8e1140 | |||
80cc6ad187 | |||
8cc2e0e906 | |||
832479c7fb | |||
981f3c316c | |||
b727434391 | |||
ce7bb63999 | |||
acea06b4f5 | |||
9aaf1c26f0 | |||
b3dca4bb36 | |||
f1b5659ba8 | |||
6e42b58549 | |||
19ecd69757 | |||
ad817a71a3 | |||
3823046712 | |||
81ca83296f | |||
0edf478a53 | |||
fa132baa43 | |||
019c3217a6 | |||
8af872056a | |||
7ff55e67e1 | |||
419a7944a4 | |||
d14863c00b | |||
b24fa2f9db | |||
8767e74c82 | |||
1c69682605 | |||
fca6d16b55 | |||
695c4c6030 | |||
025e530f46 | |||
4d180c935a | |||
dd7b244872 | |||
79d5f2feb3 | |||
4c6415d768 | |||
8ca3f0fb7c | |||
ea05045923 | |||
aea1194ea3 | |||
dfb28334e4 | |||
4e658d47f8 | |||
0a51ea28fa | |||
9c7490d7cb | |||
603c86b6a2 | |||
713003b7fd | |||
300a0def4e | |||
cf935d97ae | |||
0f77ae6a20 | |||
64c399ba38 | |||
560b981746 | |||
53cc6170ae | |||
64c04640ce | |||
18d107b29b | |||
b738d52160 | |||
255e138ee1 | |||
fe6502f12e | |||
27504d974d | |||
c6d7f61e79 | |||
f2ad3ba7c3 | |||
771d85b86f | |||
5e502c3265 | |||
64d5ef4056 | |||
891780b17f | |||
cc9a3a84d0 | |||
d6ba3b4b84 | |||
e5b36e2c3f | |||
e99b2b6ec8 | |||
22be5190ab | |||
4973950ddc | |||
3723c0e3d5 | |||
327f7ee9a7 | |||
0b25528b6b | |||
0ce3f6bcfe | |||
a1f253cbef | |||
baecc69da5 | |||
4723f308ad | |||
88ec588ae7 | |||
272281f1a0 | |||
12f1a30d16 | |||
364a910b92 | |||
82a94ea1bd | |||
17c9388af5 | |||
dcd532830d | |||
d73ad52040 | |||
83a6f6534c | |||
e6ec2bde07 | |||
4858059280 | |||
f5a31fdda6 | |||
bd7c396c18 | |||
204ba02765 | |||
eb7a8d994a | |||
949bdd22ef | |||
737e6bf027 | |||
8e16920530 | |||
13fe1a9fe8 | |||
d907f104aa | |||
d448ff4c17 | |||
625e57480f | |||
3b60a05ae1 | |||
9f84b9ac09 | |||
275673c562 | |||
c6cc104810 | |||
69397d4fe2 | |||
7b795b2921 | |||
db7ca07909 | |||
a52b3aafd2 | |||
49f3ffa264 | |||
2cf904b20d | |||
4098ff5574 | |||
0ff52925c0 | |||
7acc3f4449 | |||
6fd4d8c7ee | |||
465b6a14e3 | |||
4c7f67f724 | |||
2bff00e1ba | |||
b6e42db64b | |||
917d93e968 | |||
b077e633c0 | |||
4f83b673bd | |||
401b4753fd | |||
fe27e46e6d | |||
955829bfd0 | |||
0730740add | |||
a92071494a | |||
80464674d3 | |||
44bcde102d | |||
2c98e795f7 | |||
d40516c3c7 | |||
e7d1b210ba | |||
5f46e29c72 | |||
4a53d9c431 | |||
45851a10f6 | |||
5873fbe569 | |||
3f2cbc9e68 | |||
6f575fb23b | |||
9c02b2990a | |||
83c6454a76 | |||
d196ab56d3 | |||
867f2fb280 | |||
0de7ccedac | |||
a306a31042 | |||
e1feab3167 | |||
d44581b036 | |||
b756c53c7b | |||
28832cf54c | |||
c965243bb7 | |||
5a3c9d3efd | |||
aba0441117 | |||
c35798f282 | |||
9a4c7a48ba | |||
33da7f77a4 | |||
c1aef03e98 | |||
e57d703d50 | |||
0cff636739 | |||
ec09087543 | |||
81513ab5f5 | |||
6e4b4a1360 | |||
2b5e5d9047 | |||
4cfdefa2b5 | |||
62eba54092 | |||
1bbacec44d | |||
53caeb7952 | |||
74d8f16c1d | |||
b61654fb95 | |||
6576127b4c | |||
377f87cb7e | |||
46c85c93f0 | |||
e11235ee14 | |||
20474ae232 | |||
a1676c3b8c | |||
f4a25bcfaf | |||
5e5b19cf94 | |||
6b81ba1d4c | |||
aba67829e9 | |||
64dea51094 | |||
4d83583410 | |||
8bc85c0f42 | |||
90fd08bf4b | |||
56555c61e1 | |||
59ae682dc9 | |||
caca029e12 | |||
2dd4359181 | |||
0becd33c4d | |||
14fabfd893 | |||
01de98428c | |||
3a726203a4 | |||
2891d901c3 | |||
b57714f793 | |||
a3ed1b0c8d | |||
1b045b1e60 | |||
cf55032485 | |||
1c024bfa91 | |||
c172ae107e | |||
f6023a36bc | |||
974a1eaf2a | |||
403c7eeb5c | |||
c5e3275299 | |||
31b8dd34a3 | |||
97910fac06 | |||
72dc1f88b9 | |||
b56ffc8920 | |||
5c730d971e | |||
b2384f1809 | |||
4a7d65b9d7 | |||
fee362e09a | |||
64508caa76 | |||
8f36e08be0 | |||
84a642266c | |||
68aa64172d | |||
e2ef3c8cc9 | |||
8b141020b2 | |||
6a02eb2874 | |||
b6b9b25525 | |||
be024a1d43 | |||
04dcf81d1e | |||
03a728f71c | |||
8e869da1da | |||
115c241f21 | |||
691668340c | |||
f9ee0571a7 | |||
6d41ba75d3 | |||
46ed46e384 | |||
c345278101 | |||
44800f119d | |||
5962ebaba1 | |||
20ee103399 | |||
b497d58d6d | |||
4b2fd42122 | |||
975d64cc2b | |||
b297531dbf | |||
3a5a4c708f | |||
0f5500182c | |||
24adecd922 | |||
8c09170fff | |||
ff73cb6290 | |||
17085ec49d | |||
867e4fc11c | |||
e4cfbd2532 | |||
cd1f05a23a | |||
fc2c9ccbc5 | |||
03ec3db651 | |||
9b8f18699f | |||
b4d5c22ed4 | |||
b585ece5ef | |||
ac561b9473 | |||
d0ebafaea6 | |||
4704a4e053 | |||
2ae215514a | |||
5a3594366f | |||
422fd8aed8 | |||
b8e12eed80 | |||
61696fda83 | |||
c6bc439eb2 | |||
c7c44de32f | |||
22b3d76f9b | |||
53100496c3 | |||
06b12a98c7 | |||
20bafb9313 | |||
ea96799970 | |||
943aae85d5 | |||
829c7e0931 | |||
724aa3a4b2 | |||
87cace28a6 | |||
590c889537 | |||
7cccba8a3b | |||
5fa2aab41e | |||
62d101b886 | |||
ced8142847 | |||
91bfc2ba3f | |||
a7ff2b8d54 | |||
d4096db271 | |||
a781672ce7 | |||
6b50b1be9b | |||
e08debb62f | |||
cd1d1d80bb | |||
801d2ff940 | |||
6bd76c97be | |||
2b61cc739f | |||
444760efcb | |||
69a9577558 | |||
ab667a8b64 | |||
77092675aa | |||
40fddcb1e5 | |||
4c32e060e8 | |||
3b80638ac3 | |||
202a708ba7 | |||
fd9c809fc3 | |||
7f2ac4c576 | |||
809c05ddf2 | |||
d81c54109a | |||
3de3f885de | |||
3232f52efb | |||
95e97fa839 | |||
517f8af99e | |||
003cee0098 | |||
1c5a67b767 | |||
b56c0fa674 | |||
430b551407 | |||
70f67ca908 | |||
8f506b5bc2 | |||
d988c1c082 | |||
f6eccf49e8 | |||
e5721bbd37 | |||
89b72017a0 | |||
b2036a4c9f | |||
ae94be98ed | |||
d95a51fb17 | |||
174263445f | |||
3944eda299 | |||
995aad1123 | |||
ff8d514262 | |||
0b079424c8 | |||
5d3fccf006 | |||
e8d6c62934 | |||
830bdd9a85 | |||
bef4d9965d | |||
f46018457f | |||
f249789a8f | |||
cf1c50987a | |||
2e36bde659 | |||
05a2f0453a | |||
7526b2a621 | |||
dd9d3d6c8e | |||
54f441ca9f | |||
c2b13bd77b | |||
7aa2d791f6 | |||
9c08c7d4b6 | |||
2e126faf92 | |||
85984902cf | |||
dedc54a328 | |||
233ae20d33 | |||
e3a34d6062 | |||
0072f5bb1b | |||
c6d0aa6ae4 | |||
1d3b27eb34 | |||
62b89f8184 | |||
9e29fe16e6 | |||
64715084b2 | |||
2ea290f5b9 | |||
fd6b1558ce | |||
309b4dc2b7 | |||
1bf60eb6fc | |||
7311b17875 | |||
6550b67005 | |||
66af985a62 | |||
1978007fae | |||
83e8e5845a | |||
2f15cde2d1 | |||
2b2d1d43d8 | |||
962e4c0e18 | |||
e2ab98f960 | |||
1124bbc1db | |||
0fcf481cdd | |||
e2117564c5 | |||
49b81a9c2b | |||
9e4cfcd181 | |||
515dd18c28 | |||
ca13734f91 | |||
3cb0888afa | |||
222f685b90 | |||
408bb469bb | |||
e0e22176bb | |||
a137edf5df | |||
9a3df6e4e2 | |||
84e0a17aae | |||
a5eaa461dc | |||
b6a4923863 | |||
35477a38b1 | |||
4b6d458f49 | |||
b44317ff70 | |||
ecdc768451 | |||
57aff7ff18 | |||
454edf68d1 | |||
008f1312bb | |||
102f22f7e9 | |||
2d19e59d78 | |||
598735a2b8 | |||
cbabc8dbe6 | |||
8698d109d7 | |||
7d51636581 | |||
9dc3f79196 | |||
f67f787cc2 | |||
4b75b90f5c | |||
c2687906d2 | |||
d9aab6f9c7 | |||
c6ab70ef0d | |||
0435381c91 | |||
1dd3e46336 | |||
d9cba6e978 | |||
8c12559edb | |||
aa06a6e094 | |||
43870190af | |||
37ade41ad9 | |||
57bf060198 | |||
701747ad4f | |||
9bc7e9afbd | |||
6133b08e73 | |||
6ae0f83138 | |||
29e0d440c3 | |||
1786932d9f | |||
a23333eb58 | |||
dd93b17e96 | |||
75a145af59 | |||
769a4f830d | |||
9e103a2c58 | |||
c9fe884b26 | |||
56e907b16e | |||
d9a64d950f | |||
85ee55ff3b | |||
e06f50c489 | |||
5a2ed77a08 | |||
c2aa0f67ec | |||
c6e291c416 | |||
beaea2eb0d | |||
f2a8a13dba | |||
6668a0adb0 | |||
53423f0369 | |||
0d7edbbcbe | |||
6866466b07 | |||
5d8ece1b3d | |||
d4ead8783c | |||
2183eda7ac | |||
25b9e34fbe | |||
8cba1d3297 | |||
71c1ca47db | |||
0b1d5497fc | |||
76c69f35c5 | |||
1fd2ef2bcb | |||
3bf0a10990 | |||
db4934f922 | |||
41b1f7283b | |||
b4073e11e1 | |||
9e757ea5d0 | |||
dd252ebb55 | |||
3af6fb5d0f | |||
76a8778672 | |||
45c288d5b1 | |||
f288a3bb3b | |||
f32070bfef | |||
004ca55011 | |||
32dabd5320 | |||
82760bcea6 | |||
4540f52e98 | |||
68c54d846d | |||
e85439eb04 | |||
e68eb2f4ad | |||
50661ab65c | |||
9c320bc558 | |||
9ebd6eacd5 | |||
3e59bbd731 | |||
12e4a36db7 | |||
b4f6a329d4 | |||
3274a80189 | |||
102c7665f4 | |||
798d6a1c68 | |||
f7095283e8 | |||
b2c8e59cc1 | |||
891734e2d3 | |||
3fffdf4c71 | |||
370c02cb9a | |||
c952458c78 | |||
20b901366a | |||
4d74839d35 | |||
d648eb42ca | |||
c146563f4b | |||
393a37c012 | |||
4ae7525923 | |||
baf573a144 | |||
7e27e5e9c8 | |||
af703e6c0a | |||
1c2669f801 | |||
d915ab59ac | |||
f3620b9ad0 |
5
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
5
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
@ -7,6 +7,9 @@ body:
|
||||
attributes:
|
||||
value: |
|
||||
Provide a general summary of the changes you want in the title above.
|
||||
|
||||
Please refrain from asking maintainers to add support for specific keyboards -- it is unlikely they will have hardware available, and will not be able to help.
|
||||
Your best bet is to take the initiative, add support, then submit a PR yourself.
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: Feature Request Type
|
||||
@ -18,4 +21,4 @@ body:
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Description
|
||||
description: A few sentences describing what it is that you'd like to see in QMK. Additional information (such as links to spec sheets, licensing info, other related issues or PRs, etc) would be helpful.
|
||||
description: A few sentences describing what it is that you'd like to see in QMK. Additional information (such as links to spec sheets, licensing info, other related issues or PRs, etc) would be helpful.
|
||||
|
5
.github/ISSUE_TEMPLATE/other_issues.yml
vendored
5
.github/ISSUE_TEMPLATE/other_issues.yml
vendored
@ -10,7 +10,10 @@ body:
|
||||
attributes:
|
||||
value: |
|
||||
Please check [https://docs.qmk.fm/#/support](https://docs.qmk.fm/#/support) for additional resources first. If that doesn't answer your question, choose the bug report template instead, as that may be more appropriate.
|
||||
|
||||
Please refrain from asking maintainers to add support for specific keyboards -- it is unlikely they will have hardware available, and will not be able to help.
|
||||
Your best bet is to take the initiative, add support, then submit a PR yourself.
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Issue Description
|
||||
description: Describe your issue in as much detail as possible.
|
||||
description: Describe your issue in as much detail as possible.
|
||||
|
2
.github/workflows/auto_tag.yml
vendored
2
.github/workflows/auto_tag.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Bump version and push tag
|
||||
uses: anothrNick/github-tag-action@1.55.0
|
||||
uses: anothrNick/github-tag-action@1.61.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
DEFAULT_BUMP: 'patch'
|
||||
|
8
.github/workflows/format.yml
vendored
8
.github/workflows/format.yml
vendored
@ -30,16 +30,14 @@ jobs:
|
||||
run: |
|
||||
pip3 install -r requirements-dev.txt
|
||||
|
||||
- uses: trilom/file-changes-action@v1.2.4
|
||||
- name: Get changed files
|
||||
id: file_changes
|
||||
with:
|
||||
output: ' '
|
||||
fileOutput: ' '
|
||||
uses: tj-actions/changed-files@v34
|
||||
|
||||
- name: Run qmk formatters
|
||||
shell: 'bash {0}'
|
||||
run: |
|
||||
cat ~/files_added.txt ~/files_modified.txt > ~/files_changed.txt
|
||||
echo '${{ steps.file_changes.outputs.added_files}}' '${{ steps.file_changes.outputs.modified_files}}' > ~/files_changed.txt
|
||||
qmk format-c --core-only $(< ~/files_changed.txt) || true
|
||||
qmk format-python $(< ~/files_changed.txt) || true
|
||||
qmk format-text $(< ~/files_changed.txt) || true
|
||||
|
20
.github/workflows/lint.yml
vendored
20
.github/workflows/lint.yml
vendored
@ -22,24 +22,24 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: pip3 install -r requirements-dev.txt
|
||||
|
||||
- uses: trilom/file-changes-action@v1.2.4
|
||||
- name: Get changed files
|
||||
id: file_changes
|
||||
with:
|
||||
output: '\n'
|
||||
uses: tj-actions/changed-files@v34
|
||||
|
||||
- name: Print info
|
||||
run: |
|
||||
git rev-parse --short HEAD
|
||||
echo ${{ github.event.pull_request.base.sha }}
|
||||
echo '${{ steps.file_changes.outputs.files}}'
|
||||
echo '${{ steps.file_changes.outputs.all_changed_files}}'
|
||||
|
||||
- name: Run qmk lint
|
||||
shell: 'bash {0}'
|
||||
run: |
|
||||
QMK_CHANGES=$(echo -e '${{ steps.file_changes.outputs.files}}')
|
||||
QMK_CHANGES=$(echo -e '${{ steps.file_changes.outputs.all_changed_files}}' | sed 's/ /\n/g')
|
||||
QMK_KEYBOARDS=$(qmk list-keyboards)
|
||||
|
||||
exit_code=0
|
||||
|
||||
for KB in $QMK_KEYBOARDS; do
|
||||
KEYBOARD_CHANGES=$(echo "$QMK_CHANGES" | grep -E '^(keyboards/'${KB}'/)')
|
||||
if [[ -z "$KEYBOARD_CHANGES" ]]; then
|
||||
@ -55,6 +55,16 @@ jobs:
|
||||
exit_code=$(($exit_code + $?))
|
||||
fi
|
||||
done
|
||||
|
||||
qmk format-text ${{ steps.file_changes.outputs.all_changed_files}} || true
|
||||
for file in ${{ steps.file_changes.outputs.all_changed_files}}; do
|
||||
if ! git diff --quiet $file; then
|
||||
echo "File '${file}' Requires Formatting"
|
||||
echo "::error file=${file}::Requires Formatting"
|
||||
exit_code=$(($exit_code + 1))
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ $exit_code -gt 255 ]]; then
|
||||
exit 255
|
||||
fi
|
||||
|
33
.github/workflows/regen.yml
vendored
Normal file
33
.github/workflows/regen.yml
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
name: PR Regenerate Files
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'data/constants/**'
|
||||
- 'lib/python/**'
|
||||
|
||||
jobs:
|
||||
regen:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
container: qmkfm/qmk_cli
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Run qmk generators
|
||||
run: |
|
||||
util/regen.sh
|
||||
git diff
|
||||
|
||||
- name: Fail when regeneration required
|
||||
run: |
|
||||
git diff
|
||||
for file in $(git diff --name-only); do
|
||||
echo "File '${file}' Requires Regeneration"
|
||||
echo "::error file=${file}::Requires Regeneration"
|
||||
done
|
||||
test -z "$(git diff --name-only)"
|
43
.github/workflows/regen_push.yml
vendored
Normal file
43
.github/workflows/regen_push.yml
vendored
Normal file
@ -0,0 +1,43 @@
|
||||
name: Regenerate Files
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- develop
|
||||
|
||||
jobs:
|
||||
regen:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
container: qmkfm/qmk_cli
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Run qmk generators
|
||||
run: |
|
||||
util/regen.sh
|
||||
git diff
|
||||
|
||||
- uses: rlespinasse/github-slug-action@v3.x
|
||||
|
||||
- name: Become QMK Bot
|
||||
run: |
|
||||
git config user.name 'QMK Bot'
|
||||
git config user.email 'hello@qmk.fm'
|
||||
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v4
|
||||
if: ${{ github.repository == 'qmk/qmk_firmware'}}
|
||||
with:
|
||||
token: ${{ secrets.QMK_BOT_TOKEN }}
|
||||
delete-branch: true
|
||||
branch: bugfix/regen_${{ env.GITHUB_REF_SLUG }}
|
||||
author: QMK Bot <hello@qmk.fm>
|
||||
committer: QMK Bot <hello@qmk.fm>
|
||||
commit-message: Regenerate Files
|
||||
title: '[CI] Regenerate Files'
|
2
.github/workflows/stale.yml
vendored
2
.github/workflows/stale.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/stale@v6
|
||||
- uses: actions/stale@v7
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -21,3 +21,7 @@
|
||||
[submodule "lib/pico-sdk"]
|
||||
path = lib/pico-sdk
|
||||
url = https://github.com/qmk/pico-sdk.git
|
||||
[submodule "lib/lvgl"]
|
||||
path = lib/lvgl
|
||||
url = https://github.com/qmk/lvgl.git
|
||||
branch = release/v8.2
|
||||
|
67
Makefile
67
Makefile
@ -19,8 +19,13 @@ endif
|
||||
# Otherwise the [OK], [ERROR] and [WARN] messages won't be displayed correctly
|
||||
override SILENT := false
|
||||
|
||||
ifeq ($(shell git rev-parse --is-inside-work-tree 2>/dev/null),)
|
||||
export SKIP_GIT := yes
|
||||
export NOT_REPO := yes
|
||||
endif
|
||||
|
||||
ifdef SKIP_VERSION
|
||||
SKIP_GIT := yes
|
||||
export SKIP_GIT := yes
|
||||
endif
|
||||
|
||||
ifndef SUB_IS_SILENT
|
||||
@ -43,17 +48,10 @@ ON_ERROR := error_occurred=1
|
||||
|
||||
BREAK_ON_ERRORS = no
|
||||
|
||||
STARTING_MAKEFILE := $(firstword $(MAKEFILE_LIST))
|
||||
ROOT_MAKEFILE := $(lastword $(MAKEFILE_LIST))
|
||||
ROOT_DIR := $(dir $(ROOT_MAKEFILE))
|
||||
ROOT_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
|
||||
ifeq ($(ROOT_DIR),)
|
||||
ROOT_DIR := .
|
||||
endif
|
||||
ABS_STARTING_MAKEFILE := $(abspath $(STARTING_MAKEFILE))
|
||||
ABS_ROOT_MAKEFILE := $(abspath $(ROOT_MAKEFILE))
|
||||
ABS_STARTING_DIR := $(dir $(ABS_STARTING_MAKEFILE))
|
||||
ABS_ROOT_DIR := $(dir $(ABS_ROOT_MAKEFILE))
|
||||
STARTING_DIR := $(subst $(ABS_ROOT_DIR),,$(ABS_STARTING_DIR))
|
||||
|
||||
include paths.mk
|
||||
|
||||
@ -126,29 +124,16 @@ endef
|
||||
define PARSE_RULE
|
||||
RULE := $1
|
||||
COMMANDS :=
|
||||
REQUIRE_PLATFORM_KEY :=
|
||||
# If the rule starts with all, then continue the parsing from
|
||||
# PARSE_ALL_KEYBOARDS
|
||||
ifeq ($$(call COMPARE_AND_REMOVE_FROM_RULE,all),true)
|
||||
KEYBOARD_RULE=all
|
||||
$$(eval $$(call PARSE_ALL_KEYBOARDS))
|
||||
else ifeq ($$(call COMPARE_AND_REMOVE_FROM_RULE,all-avr),true)
|
||||
KEYBOARD_RULE=all
|
||||
REQUIRE_PLATFORM_KEY := avr
|
||||
$$(eval $$(call PARSE_ALL_KEYBOARDS))
|
||||
else ifeq ($$(call COMPARE_AND_REMOVE_FROM_RULE,all-chibios),true)
|
||||
KEYBOARD_RULE=all
|
||||
REQUIRE_PLATFORM_KEY := chibios
|
||||
$$(eval $$(call PARSE_ALL_KEYBOARDS))
|
||||
else ifeq ($$(call COMPARE_AND_REMOVE_FROM_RULE,all-arm_atsam),true)
|
||||
KEYBOARD_RULE=all
|
||||
REQUIRE_PLATFORM_KEY := arm_atsam
|
||||
$$(eval $$(call PARSE_ALL_KEYBOARDS))
|
||||
else ifeq ($$(call COMPARE_AND_REMOVE_FROM_RULE,test),true)
|
||||
$$(eval $$(call PARSE_TEST))
|
||||
# If the rule starts with the name of a known keyboard, then continue
|
||||
# the parsing from PARSE_KEYBOARD
|
||||
else ifeq ($$(call TRY_TO_MATCH_RULE_FROM_LIST,$$(shell util/list_keyboards.sh | sort -u)),true)
|
||||
else ifeq ($$(call TRY_TO_MATCH_RULE_FROM_LIST,$$(shell $(QMK_BIN) list-keyboards --no-resolve-defaults)),true)
|
||||
KEYBOARD_RULE=$$(MATCHED_ITEM)
|
||||
$$(eval $$(call PARSE_KEYBOARD,$$(MATCHED_ITEM)))
|
||||
else
|
||||
@ -241,7 +226,7 @@ endef
|
||||
# if we are going to compile all keyboards, match the rest of the rule
|
||||
# for each of them
|
||||
define PARSE_ALL_KEYBOARDS
|
||||
$$(eval $$(call PARSE_ALL_IN_LIST,PARSE_KEYBOARD,$(shell util/list_keyboards.sh | sort -u)))
|
||||
$$(eval $$(call PARSE_ALL_IN_LIST,PARSE_KEYBOARD,$(shell $(QMK_BIN) list-keyboards --no-resolve-defaults)))
|
||||
endef
|
||||
|
||||
# Prints a list of all known keymaps for the given keyboard
|
||||
@ -273,7 +258,7 @@ define PARSE_KEYMAP
|
||||
# Format it in bold
|
||||
KB_SP := $(BOLD)$$(KB_SP)$(NO_COLOR)
|
||||
# Specify the variables that we are passing forward to submake
|
||||
MAKE_VARS := KEYBOARD=$$(CURRENT_KB) KEYMAP=$$(CURRENT_KM) REQUIRE_PLATFORM_KEY=$$(REQUIRE_PLATFORM_KEY) QMK_BIN=$$(QMK_BIN)
|
||||
MAKE_VARS := KEYBOARD=$$(CURRENT_KB) KEYMAP=$$(CURRENT_KM) QMK_BIN=$$(QMK_BIN)
|
||||
# And the first part of the make command
|
||||
MAKE_CMD := $$(MAKE) -r -R -C $(ROOT_DIR) -f $(BUILDDEFS_PATH)/build_keyboard.mk $$(MAKE_TARGET)
|
||||
# The message to display
|
||||
@ -390,25 +375,15 @@ endef
|
||||
# Catch everything and parse the command line ourselves.
|
||||
.PHONY: %
|
||||
%:
|
||||
# Check if we have the CMP tool installed
|
||||
cmp $(ROOT_DIR)/Makefile $(ROOT_DIR)/Makefile >/dev/null 2>&1; if [ $$? -gt 0 ]; then printf "$(MSG_NO_CMP)"; exit 1; fi;
|
||||
# Ensure that $(QMK_BIN) works.
|
||||
if ! $(QMK_BIN) hello 1> /dev/null 2>&1; then printf "$(MSG_PYTHON_MISSING)"; exit 1; fi
|
||||
# Check if the submodules are dirty, and display a warning if they are
|
||||
ifdef NOT_REPO
|
||||
printf "$(MSG_NOT_REPO)"
|
||||
endif
|
||||
ifndef SKIP_GIT
|
||||
if [ ! -e lib/chibios ]; then git submodule sync lib/chibios && git submodule update --depth 50 --init lib/chibios; fi
|
||||
if [ ! -e lib/chibios-contrib ]; then git submodule sync lib/chibios-contrib && git submodule update --depth 50 --init lib/chibios-contrib; fi
|
||||
if [ ! -e lib/lufa ]; then git submodule sync lib/lufa && git submodule update --depth 50 --init lib/lufa; fi
|
||||
if [ ! -e lib/vusb ]; then git submodule sync lib/vusb && git submodule update --depth 50 --init lib/vusb; fi
|
||||
if [ ! -e lib/printf ]; then git submodule sync lib/printf && git submodule update --depth 50 --init lib/printf; fi
|
||||
if [ ! -e lib/pico-sdk ]; then git submodule sync lib/pico-sdk && git submodule update --depth 50 --init lib/pico-sdk; fi
|
||||
git submodule status --recursive 2>/dev/null | \
|
||||
while IFS= read -r x; do \
|
||||
case "$$x" in \
|
||||
\ *) ;; \
|
||||
*) printf "$(MSG_SUBMODULE_DIRTY)";break;; \
|
||||
esac \
|
||||
done
|
||||
$(QMK_BIN) git-submodule --sync
|
||||
# Check if the submodules are dirty, and display a warning if they are
|
||||
if ! $(QMK_BIN) git-submodule --check 1> /dev/null 2>&1; then printf "$(MSG_SUBMODULE_DIRTY)"; fi
|
||||
endif
|
||||
rm -f $(ERROR_FILE) > /dev/null 2>&1
|
||||
$(eval $(call PARSE_RULE,$@))
|
||||
@ -429,22 +404,18 @@ lib/%:
|
||||
|
||||
.PHONY: git-submodule
|
||||
git-submodule:
|
||||
[ -e lib/ugfx ] && rm -rf lib/ugfx || true
|
||||
[ -e lib/pico-sdk ] && rm -rf lib/pico-sdk || true
|
||||
[ -e lib/chibios-contrib/ext/mcux-sdk ] && rm -rf lib/chibios-contrib/ext/mcux-sdk || true
|
||||
git submodule sync --recursive
|
||||
git submodule update --init --recursive --progress
|
||||
$(QMK_BIN) git-submodule
|
||||
|
||||
.PHONY: git-submodules
|
||||
git-submodules: git-submodule
|
||||
|
||||
.PHONY: list-keyboards
|
||||
list-keyboards:
|
||||
util/list_keyboards.sh | sort -u | tr '\n' ' '
|
||||
$(QMK_BIN) list-keyboards --no-resolve-defaults | tr '\n' ' '
|
||||
|
||||
.PHONY: generate-keyboards-file
|
||||
generate-keyboards-file:
|
||||
util/list_keyboards.sh | sort -u
|
||||
$(QMK_BIN) list-keyboards --no-resolve-defaults
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
@ -24,6 +24,8 @@ $(TEST)_SRC := \
|
||||
tests/test_common/matrix.c \
|
||||
tests/test_common/test_driver.cpp \
|
||||
tests/test_common/keyboard_report_util.cpp \
|
||||
tests/test_common/keycode_util.cpp \
|
||||
tests/test_common/keycode_table.cpp \
|
||||
tests/test_common/test_fixture.cpp \
|
||||
tests/test_common/test_keymap_key.cpp \
|
||||
tests/test_common/test_logger.cpp \
|
||||
|
@ -46,11 +46,12 @@ ifdef SKIP_VERSION
|
||||
endif
|
||||
|
||||
# Generate the version.h file
|
||||
VERSION_H_FLAGS :=
|
||||
ifdef SKIP_VERSION
|
||||
VERSION_H_FLAGS := --skip-all
|
||||
VERSION_H_FLAGS += --skip-all
|
||||
endif
|
||||
ifdef SKIP_GIT
|
||||
VERSION_H_FLAGS := --skip-git
|
||||
VERSION_H_FLAGS += --skip-git
|
||||
endif
|
||||
|
||||
# Generate the board's version.h file.
|
||||
@ -182,7 +183,14 @@ endif
|
||||
|
||||
include $(BUILDDEFS_PATH)/converters.mk
|
||||
|
||||
include $(BUILDDEFS_PATH)/mcu_selection.mk
|
||||
MCU_ORIG := $(MCU)
|
||||
include $(wildcard $(PLATFORM_PATH)/*/mcu_selection.mk)
|
||||
|
||||
# PLATFORM_KEY should be detected in info.json via key 'processor' (or rules.mk 'MCU')
|
||||
ifeq ($(PLATFORM_KEY),)
|
||||
$(call CATASTROPHIC_ERROR,Platform not defined)
|
||||
endif
|
||||
PLATFORM=$(shell echo $(PLATFORM_KEY) | tr '[:lower:]' '[:upper:]')
|
||||
|
||||
# Find all the C source files to be compiled in subfolders.
|
||||
KEYBOARD_SRC :=
|
||||
@ -257,24 +265,6 @@ ifneq ("$(wildcard $(KEYBOARD_PATH_5)/$(KEYBOARD_FOLDER_5).h)","")
|
||||
FOUND_KEYBOARD_H = $(KEYBOARD_FOLDER_5).h
|
||||
endif
|
||||
|
||||
# Determine and set parameters based on the keyboard's processor family.
|
||||
# We can assume a ChibiOS target When MCU_FAMILY is defined since it's
|
||||
# not used for LUFA
|
||||
ifdef MCU_FAMILY
|
||||
PLATFORM=CHIBIOS
|
||||
PLATFORM_KEY=chibios
|
||||
FIRMWARE_FORMAT?=bin
|
||||
OPT_DEFS += -DMCU_$(MCU_FAMILY)
|
||||
else ifdef ARM_ATSAM
|
||||
PLATFORM=ARM_ATSAM
|
||||
PLATFORM_KEY=arm_atsam
|
||||
FIRMWARE_FORMAT=bin
|
||||
else
|
||||
PLATFORM=AVR
|
||||
PLATFORM_KEY=avr
|
||||
FIRMWARE_FORMAT?=hex
|
||||
endif
|
||||
|
||||
# Find all of the config.h files and add them to our CONFIG_H define.
|
||||
CONFIG_H :=
|
||||
ifneq ("$(wildcard $(KEYBOARD_PATH_5)/config.h)","")
|
||||
@ -433,13 +423,6 @@ SRC += $(TMK_COMMON_SRC)
|
||||
OPT_DEFS += $(TMK_COMMON_DEFS)
|
||||
EXTRALDFLAGS += $(TMK_COMMON_LDFLAGS)
|
||||
|
||||
SKIP_COMPILE := no
|
||||
ifneq ($(REQUIRE_PLATFORM_KEY),)
|
||||
ifneq ($(REQUIRE_PLATFORM_KEY),$(PLATFORM_KEY))
|
||||
SKIP_COMPILE := yes
|
||||
endif
|
||||
endif
|
||||
|
||||
-include $(PLATFORM_PATH)/$(PLATFORM_KEY)/bootloader.mk
|
||||
include $(PLATFORM_PATH)/$(PLATFORM_KEY)/platform.mk
|
||||
-include $(PLATFORM_PATH)/$(PLATFORM_KEY)/flash.mk
|
||||
@ -479,28 +462,28 @@ $(KEYBOARD_OUTPUT)_INC := $(PROJECT_INC)
|
||||
$(KEYBOARD_OUTPUT)_CONFIG := $(PROJECT_CONFIG)
|
||||
|
||||
# Default target.
|
||||
ifeq ($(SKIP_COMPILE),no)
|
||||
all: build check-size
|
||||
else
|
||||
all:
|
||||
echo "skipped" >&2
|
||||
endif
|
||||
|
||||
build: elf cpfirmware
|
||||
check-size: build
|
||||
check-md5: build
|
||||
objs-size: build
|
||||
|
||||
ifneq ($(strip $(TOP_SYMBOLS)),)
|
||||
ifeq ($(strip $(TOP_SYMBOLS)),yes)
|
||||
NUM_TOP_SYMBOLS := 10
|
||||
else
|
||||
NUM_TOP_SYMBOLS := $(strip $(TOP_SYMBOLS))
|
||||
endif
|
||||
all: top-symbols
|
||||
check-size: top-symbols
|
||||
top-symbols: build
|
||||
echo "###########################################"
|
||||
echo "# Highest flash usage:"
|
||||
$(NM) -Crtd --size-sort $(BUILD_DIR)/$(TARGET).elf | grep -i ' [t] ' | head -n10 | sed -e 's#^0000000# #g' -e 's#^000000# #g' -e 's#^00000# #g' -e 's#^0000# #g' -e 's#^000# #g' -e 's#^00# #g' -e 's#^0# #g'
|
||||
$(NM) -Crtd --size-sort $(BUILD_DIR)/$(TARGET).elf | grep -i ' [t] ' | head -n$(NUM_TOP_SYMBOLS) | sed -e 's#^0000000# #g' -e 's#^000000# #g' -e 's#^00000# #g' -e 's#^0000# #g' -e 's#^000# #g' -e 's#^00# #g' -e 's#^0# #g'
|
||||
echo "###########################################"
|
||||
echo "# Highest RAM usage:"
|
||||
$(NM) -Crtd --size-sort $(BUILD_DIR)/$(TARGET).elf | grep -i ' [dbv] ' | head -n10 | sed -e 's#^0000000# #g' -e 's#^000000# #g' -e 's#^00000# #g' -e 's#^0000# #g' -e 's#^000# #g' -e 's#^00# #g' -e 's#^0# #g'
|
||||
$(NM) -Crtd --size-sort $(BUILD_DIR)/$(TARGET).elf | grep -i ' [dbv] ' | head -n$(NUM_TOP_SYMBOLS) | sed -e 's#^0000000# #g' -e 's#^000000# #g' -e 's#^00000# #g' -e 's#^0000# #g' -e 's#^000# #g' -e 's#^00# #g' -e 's#^0# #g'
|
||||
echo "###########################################"
|
||||
endif
|
||||
|
||||
|
@ -62,6 +62,7 @@ include $(PLATFORM_PATH)/common.mk
|
||||
include $(TMK_PATH)/protocol.mk
|
||||
include $(QUANTUM_PATH)/debounce/tests/rules.mk
|
||||
include $(QUANTUM_PATH)/encoder/tests/rules.mk
|
||||
include $(QUANTUM_PATH)/os_detection/tests/rules.mk
|
||||
include $(QUANTUM_PATH)/sequencer/tests/rules.mk
|
||||
include $(QUANTUM_PATH)/wear_leveling/tests/rules.mk
|
||||
include $(QUANTUM_PATH)/logging/print.mk
|
||||
|
@ -84,6 +84,13 @@ endif
|
||||
ifeq ($(strip $(MIDI_ENABLE)), yes)
|
||||
OPT_DEFS += -DMIDI_ENABLE
|
||||
MUSIC_ENABLE = yes
|
||||
COMMON_VPATH += $(QUANTUM_PATH)/midi
|
||||
SRC += $(QUANTUM_DIR)/midi/midi.c
|
||||
SRC += $(QUANTUM_DIR)/midi/midi_device.c
|
||||
SRC += $(QUANTUM_DIR)/midi/qmk_midi.c
|
||||
SRC += $(QUANTUM_DIR)/midi/sysex_tools.c
|
||||
SRC += $(QUANTUM_DIR)/midi/bytequeue/bytequeue.c
|
||||
SRC += $(QUANTUM_DIR)/midi/bytequeue/interrupt_setting.c
|
||||
SRC += $(QUANTUM_DIR)/process_keycode/process_midi.c
|
||||
endif
|
||||
|
||||
@ -613,6 +620,7 @@ ifeq ($(strip $(VIA_ENABLE)), yes)
|
||||
DYNAMIC_KEYMAP_ENABLE := yes
|
||||
RAW_ENABLE := yes
|
||||
BOOTMAGIC_ENABLE := yes
|
||||
TRI_LAYER_ENABLE := yes
|
||||
SRC += $(QUANTUM_DIR)/via.c
|
||||
OPT_DEFS += -DVIA_ENABLE
|
||||
endif
|
||||
@ -907,3 +915,11 @@ ifeq ($(strip $(ENCODER_ENABLE)), yes)
|
||||
OPT_DEFS += -DENCODER_MAP_ENABLE
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(OS_DETECTION_ENABLE)), yes)
|
||||
SRC += $(QUANTUM_DIR)/os_detection.c
|
||||
OPT_DEFS += -DOS_DETECTION_ENABLE
|
||||
ifeq ($(strip $(OS_DETECTION_DEBUG_ENABLE)), yes)
|
||||
OPT_DEFS += -DOS_DETECTION_DEBUG_ENABLE
|
||||
endif
|
||||
endif
|
||||
|
@ -218,8 +218,8 @@ gccversion :
|
||||
@$(SILENT) || printf "$(MSG_FLASH) $@" | $(AWK_CMD)
|
||||
@$(BUILD_CMD)
|
||||
|
||||
%.uf2: %.hex
|
||||
$(eval CMD=$(UF2CONV) $(BUILD_DIR)/$(TARGET).hex --output $(BUILD_DIR)/$(TARGET).uf2 --convert --family $(UF2_FAMILY) >/dev/null 2>&1)
|
||||
%.uf2: %.elf
|
||||
$(eval CMD=$(HEX) $< $(BUILD_DIR)/$(TARGET).tmp && $(UF2CONV) $(BUILD_DIR)/$(TARGET).tmp --output $@ --convert --family $(UF2_FAMILY) >/dev/null 2>&1)
|
||||
#@$(SILENT) || printf "$(MSG_EXECUTING) '$(CMD)':\n"
|
||||
@$(SILENT) || printf "$(MSG_UF2) $@" | $(AWK_CMD)
|
||||
@$(BUILD_CMD)
|
||||
|
@ -1,30 +1,25 @@
|
||||
# Note for new boards -- CTPC and CONVERT_TO_PROTON_C are deprecated terms
|
||||
# and should not be replicated for new boards. These will be removed from
|
||||
# documentation as well as existing keymaps in due course.
|
||||
ifeq ($(strip $(CTPC)), yes)
|
||||
CONVERT_TO_PROTON_C=yes
|
||||
endif
|
||||
ifeq ($(strip $(CONVERT_TO_PROTON_C)), yes)
|
||||
CONVERT_TO=proton_c
|
||||
|
||||
cpfirmware: ctpc_warning
|
||||
.INTERMEDIATE: ctpc_warning
|
||||
ctpc_warning: elf
|
||||
$(info @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@)
|
||||
$(info The `CONVERT_TO_PROTON_C` and `CTPC` options are soon to be deprecated.)
|
||||
$(info Boards should be changed to use `CONVERT_TO=proton_c` instead.)
|
||||
$(info @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@)
|
||||
ifneq ($(findstring yes, $(CTPC)$(CONVERT_TO_PROTON_C)),)
|
||||
$(call CATASTROPHIC_ERROR,The `CONVERT_TO_PROTON_C` and `CTPC` options are now deprecated. `CONVERT_TO=proton_c` should be used instead.)
|
||||
endif
|
||||
|
||||
# TODO: opt in rather than assume everything uses a pro micro
|
||||
PIN_COMPATIBLE ?= promicro
|
||||
ifneq ($(CONVERT_TO),)
|
||||
# stash so we can overwrite env provided vars if needed
|
||||
ACTIVE_CONVERTER=$(CONVERT_TO)
|
||||
|
||||
# glob to search each platfrorm and/or check for valid converter
|
||||
CONVERTER := $(wildcard $(PLATFORM_PATH)/*/converters/$(PIN_COMPATIBLE)_to_$(CONVERT_TO)/)
|
||||
ifeq ($(CONVERTER),)
|
||||
$(call CATASTROPHIC_ERROR,Converting from '$(PIN_COMPATIBLE)' to '$(CONVERT_TO)' not possible!)
|
||||
endif
|
||||
|
||||
-include $(CONVERTER)/pre_converter.mk
|
||||
|
||||
PLATFORM_KEY = $(shell echo $(CONVERTER) | cut -d "/" -f2)
|
||||
TARGET := $(TARGET)_$(CONVERT_TO)
|
||||
|
||||
# Configure any defaults
|
||||
@ -33,6 +28,9 @@ ifneq ($(CONVERT_TO),)
|
||||
OPT_DEFS += -DCONVERTER_ENABLED
|
||||
VPATH += $(CONVERTER)
|
||||
|
||||
# Configure for "alias" - worst case it produces an idential define
|
||||
OPT_DEFS += -DCONVERT_TO_$(strip $(shell echo $(ACTIVE_CONVERTER) | tr '[:lower:]' '[:upper:]'))
|
||||
|
||||
# Finally run any converter specific logic
|
||||
include $(CONVERTER)/converter.mk
|
||||
endif
|
||||
|
@ -39,6 +39,7 @@ GENERIC_FEATURES = \
|
||||
VELOCIKEY \
|
||||
WPM \
|
||||
DYNAMIC_TAPPING_TERM \
|
||||
TRI_LAYER
|
||||
|
||||
define HANDLE_GENERIC_FEATURE
|
||||
# $$(info "Processing: $1_ENABLE $2.c")
|
||||
|
@ -64,9 +64,10 @@ MSG_ASSEMBLING = Assembling:
|
||||
MSG_CLEANING = Cleaning project:
|
||||
MSG_CREATING_LIBRARY = Creating library:
|
||||
MSG_GENERATING = Generating:
|
||||
MSG_NOT_REPO = $(WARN_COLOR)WARNING:$(NO_COLOR) Target folder is not a git repo, you probably downloaded a zip file instead of cloning.\n\
|
||||
Please consider following $(BOLD)https://docs.qmk.fm/\#/newbs_getting_started$(NO_COLOR).\n\n
|
||||
MSG_SUBMODULE_DIRTY = $(WARN_COLOR)WARNING:$(NO_COLOR) Some git submodules are out of date or modified.\n\
|
||||
Please consider running $(BOLD)make git-submodule$(NO_COLOR).\n\n
|
||||
MSG_NO_CMP = $(ERROR_COLOR)Error:$(NO_COLOR)$(BOLD) cmp command not found, please install diffutils\n$(NO_COLOR)
|
||||
Please consider running $(BOLD)qmk git-submodule$(NO_COLOR).\n\n
|
||||
|
||||
define GENERATE_MSG_MAKE_KB
|
||||
MSG_MAKE_KB_ACTUAL := Making $$(KB_SP) with keymap $(BOLD)$$(CURRENT_KM)$(NO_COLOR)
|
||||
@ -106,4 +107,4 @@ MSG_BOOTLOADER_NOT_FOUND_QUICK_RETRY = $(MSG_BOOTLOADER_NOT_FOUND_BASE) Trying a
|
||||
define CATASTROPHIC_ERROR
|
||||
$(shell printf "\n * %-99s $(ERROR_STRING)\n" "$2" >&2)
|
||||
$(error $1)
|
||||
endef
|
||||
endef
|
||||
|
@ -84,7 +84,8 @@ OTHER_OPTION_NAMES = \
|
||||
PROGRAMMABLE_BUTTON_ENABLE \
|
||||
SECURE_ENABLE \
|
||||
CAPS_WORD_ENABLE \
|
||||
AUTOCORRECT_ENABLE
|
||||
AUTOCORRECT_ENABLE \
|
||||
TRI_LAYER_ENABLE
|
||||
|
||||
define NAME_ECHO
|
||||
@printf " %-30s = %-16s # %s\\n" "$1" "$($1)" "$(origin $1)"
|
||||
|
@ -3,6 +3,7 @@ FULL_TESTS := $(notdir $(TEST_LIST))
|
||||
|
||||
include $(QUANTUM_PATH)/debounce/tests/testlist.mk
|
||||
include $(QUANTUM_PATH)/encoder/tests/testlist.mk
|
||||
include $(QUANTUM_PATH)/os_detection/tests/testlist.mk
|
||||
include $(QUANTUM_PATH)/sequencer/tests/testlist.mk
|
||||
include $(QUANTUM_PATH)/wear_leveling/tests/testlist.mk
|
||||
include $(PLATFORM_PATH)/test/testlist.mk
|
||||
|
375
data/constants/keycodes/extras/keycodes_belgian_0.0.1.hjson
Normal file
375
data/constants/keycodes/extras/keycodes_belgian_0.0.1.hjson
Normal file
File diff suppressed because it is too large
Load Diff
632
data/constants/keycodes/extras/keycodes_bepo_0.0.1.hjson
Normal file
632
data/constants/keycodes/extras/keycodes_bepo_0.0.1.hjson
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
302
data/constants/keycodes/extras/keycodes_colemak_0.0.1.hjson
Normal file
302
data/constants/keycodes/extras/keycodes_colemak_0.0.1.hjson
Normal file
File diff suppressed because it is too large
Load Diff
403
data/constants/keycodes/extras/keycodes_croatian_0.0.1.hjson
Normal file
403
data/constants/keycodes/extras/keycodes_croatian_0.0.1.hjson
Normal file
File diff suppressed because it is too large
Load Diff
435
data/constants/keycodes/extras/keycodes_czech_0.0.1.hjson
Normal file
435
data/constants/keycodes/extras/keycodes_czech_0.0.1.hjson
Normal file
File diff suppressed because it is too large
Load Diff
359
data/constants/keycodes/extras/keycodes_danish_0.0.1.hjson
Normal file
359
data/constants/keycodes/extras/keycodes_danish_0.0.1.hjson
Normal file
File diff suppressed because it is too large
Load Diff
302
data/constants/keycodes/extras/keycodes_dvorak_0.0.1.hjson
Normal file
302
data/constants/keycodes/extras/keycodes_dvorak_0.0.1.hjson
Normal file
File diff suppressed because it is too large
Load Diff
317
data/constants/keycodes/extras/keycodes_dvorak_fr_0.0.1.hjson
Normal file
317
data/constants/keycodes/extras/keycodes_dvorak_fr_0.0.1.hjson
Normal file
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user