summaryrefslogtreecommitdiffstats
path: root/keyboards/converter/usb_usb/rules.mk
diff options
context:
space:
mode:
authorBalz Guenat <balz.guenat@gmail.com>2017-11-08 17:11:44 +0100
committerJack Humbert <jack.humb@gmail.com>2017-11-08 17:11:44 +0100
commit3b5381d6893b02b48b9abd4845220cd68d02979f (patch)
tree79ea380d96b82f3651b6d5bbfabdff296fd886da /keyboards/converter/usb_usb/rules.mk
parentaee67854769feee7e94edd90686178d89946a7ee (diff)
downloadqmk_firmware-3b5381d6893b02b48b9abd4845220cd68d02979f.tar.gz
qmk_firmware-3b5381d6893b02b48b9abd4845220cd68d02979f.tar.xz
restructure converters (#1825)
* restructure converters each converter is its own keyboard and different hardware variants are different subprojects. remove (seemingly) old method of loading layouts from main Makefile * call led_set_kb() from overridden led_set() * put converter back into one folder * revert some structure changes to bring in line with #1784. Also attempt to get the BLE thing more properly integrated. Also also fix led_set() to call led_set_kb().
Diffstat (limited to 'keyboards/converter/usb_usb/rules.mk')
-rw-r--r--keyboards/converter/usb_usb/rules.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/keyboards/converter/usb_usb/rules.mk b/keyboards/converter/usb_usb/rules.mk
index 81a393e8a..b0e07c764 100644
--- a/keyboards/converter/usb_usb/rules.mk
+++ b/keyboards/converter/usb_usb/rules.mk
@@ -13,7 +13,15 @@ MCU = atmega32u4
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
-F_CPU = 8000000
+
+# Since there are different hardware variations of these adapters and since these
+# have different CPU clocks, the clock speed should be set in the rules.mk file of the
+# respective hardware variantion (i.e. subproject). For example, in /pro_micro/rules.mk
+# this is set to 8000000.
+# The value here is only a fallback and is ignored if it is defined in the subproject.
+F_CPU ?= 16000000
+
+DEFAULT_FOLDER = converter/usb_usb/hasu
#