File tree 2 files changed +27
-0
lines changed
2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ mini-arm-os is written by:
2
+ Jim Huang <jserv.tw@gmail.com>
3
+ Jeff Liaw <rampant1018@gmail.com>
Original file line number Diff line number Diff line change
1
+ The source code of mini-arm-os follows Linux style formatting/indenting.
2
+ You can use `astyle' to indent the source files:
3
+
4
+ astyle --style=linux --indent=tab -p -U -K -H --suffix=none
5
+
6
+ Brackets are broken from namespace, class, and function definitions.
7
+ Brackets are attached to statements within a function. Minimum conditional
8
+ indent is one-half indent. It frequently is used with an indent of 8 spaces.
9
+
10
+ Use tabs for indentation, and spaces for continuation line alignment. This
11
+ ensures that the code is displayed correctly regardless of the viewer’s tab
12
+ size.
13
+
14
+ Insert space padding around operators. Any end of line comments will remain in
15
+ the original column, if possible.
16
+
17
+ Remove extra space padding around parenthesis on the inside and outside. Any
18
+ end of line comments will remain in the original column, if possible.
19
+
20
+ Indent 'case X:' blocks from the 'case X:' headers. Case statements not
21
+ enclosed in blocks are NOT indented.
22
+
23
+ Insert space padding after paren headers only (e.g. 'if', 'for', 'while'...).
24
+ Any end of line comments will remain in the original column, if possible.
You can’t perform that action at this time.
0 commit comments