]> git.donarmstrong.com Git - tmk_firmware.git/commitdiff
Add coding style and config.h options
authortmk <nobody@nowhere>
Sun, 7 Apr 2013 07:47:01 +0000 (16:47 +0900)
committertmk <nobody@nowhere>
Sun, 7 Apr 2013 07:47:01 +0000 (16:47 +0900)
README.md
doc/build.md

index eccb1bd77e39ed42b3c5f7a7d91db8316a39364d..19bea53b3668fd2ef4d789cc5b91e66b71edc4b4 100644 (file)
--- a/README.md
+++ b/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).
index 5185e8032b4a6c3b7b8e2649ae1b88beb281a9e8..88504f0965bf3fb41e977b6b86dc946f48585821 100644 (file)
@@ -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***