Browse Source

Add coding style and config.h options

tmk 12 năm trước cách đây
mục cha
commit
de7b46cd7d
2 tập tin đã thay đổi với 21 bổ sung0 xóa
  1. 6 0
      README.md
  2. 15 0
      doc/build.md

+ 6 - 0
README.md

@@ -273,6 +273,12 @@ Files and Directories
 
 
 
+Conding Style
+-------------
+- Doesn't use Tab to indent, use 4-spaces instead.
+
+
+
 Other Keyboard Firmware Projects
 ------------------
 See [doc/other_projects.md](doc/other_projects.md).

+ 15 - 0
doc/build.md

@@ -160,5 +160,20 @@ Config.h Options
     /* Locking CapsLock resynchronize hack */
     #define CAPSLOCK_LOCKING_RESYNC_ENABLE
 
+### 3. Disable Debug and Print
 
+    /* disable debug print */
+    #define NO_DEBUG
 
+    /* disable print */
+    #define NO_PRINT
+
+### 4. Disable Action Features
+
+    #define NO_ACTION_LAYER
+    #define NO_ACTION_TAPPING
+    #define NO_ACTION_ONESHOT
+    #define NO_ACTION_MACRO
+    #define NO_ACTION_FUNCTION
+
+***TBD***