aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Jenkins <cajenkins@protonmail.com>2019-06-08 21:39:23 -0600
committerDrashna Jaelre <drashna@live.com>2019-06-08 20:39:23 -0700
commit8ac90488031330bb184dafe40dfb5ec5790665e1 (patch)
tree61c899df56d9d39e846932fb5a3f9e65536ca96e
parent09968ba035f3bfa4df5b1d142dddfa669aefb2d7 (diff)
downloadfirmware-8ac90488031330bb184dafe40dfb5ec5790665e1.tar.gz
firmware-8ac90488031330bb184dafe40dfb5ec5790665e1.tar.bz2
firmware-8ac90488031330bb184dafe40dfb5ec5790665e1.zip
[Keyboard] niu_mini uses dfu bootloader rather than the afrdude bootloader (#6092)
* niu_mini uses dfu bootloader rather than the afrdude bootloader modified: readme.md * Change rules in rules.mk to reflect the bootloader change modified: keyboards/niu_mini/rules.mk
-rw-r--r--keyboards/niu_mini/readme.md2
-rw-r--r--keyboards/niu_mini/rules.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/niu_mini/readme.md b/keyboards/niu_mini/readme.md
index af05d34fa..36e8c8458 100644
--- a/keyboards/niu_mini/readme.md
+++ b/keyboards/niu_mini/readme.md
@@ -11,6 +11,6 @@ Hardware Availability: [KBDFans](https://kbdfans.myshopify.com/products/niu-mini
Make example for this keyboard (after setting up your build environment):
- make niu_mini:default:avrdude
+ make niu_mini:default:dfu
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.
diff --git a/keyboards/niu_mini/rules.mk b/keyboards/niu_mini/rules.mk
index 496928ed7..01d96eccf 100644
--- a/keyboards/niu_mini/rules.mk
+++ b/keyboards/niu_mini/rules.mk
@@ -44,7 +44,7 @@ OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
-OPT_DEFS += -DBOOTLOADER_SIZE=4096
+BOOTLOADER = atmel-dfu
# Build Options
# change to "no" to disable the options, or define them in the Makefile in