Main Page Modules Alphabetical List Data Structures File List Data Fields Globals Related Pages Examples
Contributions to Nut/OS are most welcome. If you want to, please try to follow some rules to keep the code consistent and easy to read.
- Use K&R indentation style. Use "indent -kr".
- Tab size is 8. This is very important.
- Try to follow the Doxygen inline documentation style. Otherwise your changes will not appear in this manual.
- Try to make sure that your code is working with all supported compilers.
- Compiler specific variations should be defined in compiler.h.
- Use BSD types in types.h.
- If you want to replace existing library functions, place them in the mod directory. This avoids breaking existing code.
No one will reject your code, if you don't follow these rules. However, it may take more time until it appears in an official release.
© 2000-2003 by egnite Software GmbH -
visit http://www.ethernut.de/