소스 검색

Add coding style and config.h options

tmk 12 년 전
부모
커밋
de7b46cd7d
2개의 변경된 파일21개의 추가작업 그리고 0개의 파일을 삭제
  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***