summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorLe Zhang <lzhang10@users.noreply.github.com>2023-11-15 10:23:03 -0500
committerGitHub <noreply@github.com>2023-11-15 15:23:03 +0000
commitadcc4d376cbfb6519dae2b5aa9230474d1a1dd0e (patch)
tree413dbae8aa25cf6acffd7a824db2e4dec5ad01d4 /keyboards
parentd7b44239c262708c96c28ef64b2257e9bda89b33 (diff)
Add leonardo build target for leonardo + usb2.0 shield based projects (#22243)
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/converter/usb_usb/hasu/rules.mk3
-rw-r--r--keyboards/converter/usb_usb/leonardo/info.json3
-rw-r--r--keyboards/converter/usb_usb/leonardo/rules.mk1
-rw-r--r--keyboards/converter/usb_usb/readme.md6
4 files changed, 9 insertions, 4 deletions
diff --git a/keyboards/converter/usb_usb/hasu/rules.mk b/keyboards/converter/usb_usb/hasu/rules.mk
index c2ee0bc86f..6e7633bfe0 100644
--- a/keyboards/converter/usb_usb/hasu/rules.mk
+++ b/keyboards/converter/usb_usb/hasu/rules.mk
@@ -1,2 +1 @@
-# Processor frequency
-F_CPU = 16000000
+# This file intentionally left blank
diff --git a/keyboards/converter/usb_usb/leonardo/info.json b/keyboards/converter/usb_usb/leonardo/info.json
new file mode 100644
index 0000000000..56062f7ad3
--- /dev/null
+++ b/keyboards/converter/usb_usb/leonardo/info.json
@@ -0,0 +1,3 @@
+{
+ "bootloader": "caterina"
+}
diff --git a/keyboards/converter/usb_usb/leonardo/rules.mk b/keyboards/converter/usb_usb/leonardo/rules.mk
new file mode 100644
index 0000000000..6e7633bfe0
--- /dev/null
+++ b/keyboards/converter/usb_usb/leonardo/rules.mk
@@ -0,0 +1 @@
+# This file intentionally left blank
diff --git a/keyboards/converter/usb_usb/readme.md b/keyboards/converter/usb_usb/readme.md
index 594a9be877..50743b11fc 100644
--- a/keyboards/converter/usb_usb/readme.md
+++ b/keyboards/converter/usb_usb/readme.md
@@ -11,6 +11,10 @@ Make example for this keyboard (after setting up your build environment):
make converter/usb_usb:default
+If you use Arduino Leonardo with a USB Host Shield:
+
+ make converter/usb_usb/leonardo:default
+
See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information.
Note that you have to choose the right hardware variant as your subproject, otherwise you will probably have issues.
@@ -23,8 +27,6 @@ If you are sure you have this correct, try changeing the default in `usb_usb/rul
The Pro Micro variant uses a 3.3V Pro Micro and thus runs at 8MHz, hence the following line in `usb_usb/pro_micro/rules.mk`:
`F_CPU = 8000000`
-The converter sold by Hasu runs at 16MHz and so the corresponding line in `usb_usb/hasu/rules.mk` is:
-`F_CPU = 16000000`
Getting the Hardware
--------------------