浏览代码

Fix up ps2avrgb templates (#5606)

* fix up ps2avrgb templates

* set backlight enable to no as per review comments

* add back no_uart
MechMerlin 6 年之前
父节点
当前提交
4c14b5832a
共有 3 个文件被更改,包括 5 次插入6 次删除
  1. 2 0
      quantum/template/ps2avrgb/readme.md
  2. 2 2
      quantum/template/ps2avrgb/rules.mk
  3. 1 4
      quantum/template/ps2avrgb/usbconfig.h

+ 2 - 0
quantum/template/ps2avrgb/readme.md

@@ -16,6 +16,8 @@ Flashing
 
 ps2avr(GB) boards use an atmega32a microcontroller and a different bootloader. It is not flashable using the regular QMK methods. 
 
+**Reset Key:** Hold down the key located at `K00`, commonly programmed as `Esc` while plugging in the keyboard.
+
 Windows: 
 1. Download [HIDBootFlash](http://vusb.wikidot.com/project:hidbootflash).
 2. Place your keyboard into reset. 

+ 2 - 2
quantum/template/ps2avrgb/rules.mk

@@ -31,13 +31,13 @@ F_CPU = 12000000
 BOOTLOADER = bootloadHID
 
 # build options
-BOOTMAGIC_ENABLE = full
+BOOTMAGIC_ENABLE = no
 MOUSEKEY_ENABLE = no
 EXTRAKEY_ENABLE = yes
 CONSOLE_ENABLE = yes
 COMMAND_ENABLE = yes
 BACKLIGHT_ENABLE = no
-RGBLIGHT_ENABLE = no
+RGBLIGHT_ENABLE = yes
 RGBLIGHT_CUSTOM_DRIVER = yes
 
 OPT_DEFS = -DDEBUG_LEVEL=0

+ 1 - 4
quantum/template/ps2avrgb/usbconfig.h

@@ -8,8 +8,7 @@
  * This Revision: $Id: usbconfig-prototype.h 785 2010-05-30 17:57:07Z cs $
  */
 
-#ifndef __usbconfig_h_included__
-#define __usbconfig_h_included__
+#pragma once
 
 #include "config.h"
 
@@ -392,5 +391,3 @@ section at the end of this file).
 /* #define USB_INTR_PENDING        EIFR */
 #define USB_INTR_PENDING_BIT    INTF1
 #define USB_INTR_VECTOR         INT1_vect
-
-#endif /* __usbconfig_h_included__ */