Merge remote-tracking branch 'origin/develop' into xap

This commit is contained in:
QMK Bot
2023-09-28 20:49:29 +00:00
3 changed files with 198 additions and 127 deletions
+2
View File
@@ -1,6 +1,7 @@
"""Functions that help us work with keyboards.
"""
from array import array
from functools import lru_cache
from math import ceil
from pathlib import Path
import os
@@ -146,6 +147,7 @@ def list_keyboards(resolve_defaults=True):
return sorted(set(found))
@lru_cache(maxsize=None)
def resolve_keyboard(keyboard):
cur_dir = Path('keyboards')
rules = parse_rules_mk_file(cur_dir / keyboard / 'rules.mk')