LK Code Style - littlekernel/lk GitHub Wiki

Style

  • 4 space indents
  • Wrap lines at around 100 characters (can violate occasionally)
  • Use attach braces as defined by astyle's --style=java
  • #pragma once preferred for header files

Scripts to automate

./scripts/codestyle <files> will run astyle on any files passed and replace the file with the new copy. Astyle must be installed on the host machine.

⚠️ **GitHub.com Fallback** ⚠️