Skip to content

Contributing

Minkyu Lee edited this page Nov 17, 2021 · 7 revisions

Development Settings

Required packages:

Recommended tools:

C coding styles

Follows the conventions from the Google C/C++ style guide. Some keypoints and additional guidelines are enumerated below.

  • Two spaces and no tabs for indentation.
  • Directory and file names consists of lower cases [a-z], numbers [0-9] and underscore _. (e.g. events.h, repl_commands.c).
  • Function names consists of lower cases [a-z], numbers [0-9] and underscore _. (e.g. gpio_write, add_to_events).
  • Block bracing style follows K&R Style.
Clone this wiki locally