-
Notifications
You must be signed in to change notification settings - Fork 38
Contributing
Minkyu Lee edited this page Nov 17, 2021
·
7 revisions
Required packages:
- GNU ARM Toolchain : https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads
- CMake : https://cmake.org/
- Node.js : https://nodejs.org
Recommended tools:
- Visual Studo Code: https://code.visualstudio.com/
- VSCode Extensions: C/C++, Native Debug
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.