First version

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@86 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-04-11 14:32:29 +00:00
parent 7e8e1005d1
commit fc357167c0
2 changed files with 40 additions and 0 deletions

18
firmware/CONTRIBUTING Normal file
View File

@ -0,0 +1,18 @@
$Id$
In order for the project to run as smoothly as possible, it's best if all
contributors adhere to a few simple conventions:
- Write all code in C. Sometimes assembly is faster, but C is always more
readable and maintainable.
- Write C code. Don't redefine the language. No new types, no C++isms or
Javaisms.
- Variables and function names should be all lower case.
Preprocessor symbols should be all uppercase.
- Use the brace placement style of your choice, but indent your code with
four spaces. Don't use TAB characters, as that will mess up code display in
CVS, printing, and a zillion other places.

22
firmware/rockbox-mode.el Normal file
View File

@ -0,0 +1,22 @@
;;;; Emacs Lisp help for writing rockbox code. ;;;;
;;;; $Id$
;;; In C files, put something like this to load this file automatically:
;;
;; /* -----------------------------------------------------------------
;; * local variables:
;; * eval: (load-file "../curl-mode.el")
;; * end:
;; */
;;
;; (note: make sure to get the path right in the argument to load-file).
;;; The rockbox hacker's C conventions
;;; we use intent-level 2
(setq c-basic-offset 4)
;;; never ever use tabs to indent!
(setq indent-tabs-mode nil)
;;; I like this, stolen from Subversion! ;-)
(setq angry-mob-with-torches-and-pitchforks t)