]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
[Keyboard] niu_mini uses dfu bootloader rather than the afrdude bootloader (#6092)
authorChristopher Jenkins <cajenkins@protonmail.com>
Sun, 9 Jun 2019 03:39:23 +0000 (21:39 -0600)
committerDrashna Jaelre <drashna@live.com>
Sun, 9 Jun 2019 03:39:23 +0000 (20:39 -0700)
* 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

keyboards/niu_mini/readme.md
keyboards/niu_mini/rules.mk

index af05d34fa5178a1e597f69bb1095ab6b33f5a836..36e8c8458b691df448fd3265abd96ec8e63c5203 100644 (file)
@@ -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.
index 496928ed70c8a084c3ed0cd12ca93bad99912a67..01d96eccf2662d91d1fef7ed6823ca3df5b52731 100644 (file)
@@ -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