mbed-os Codestyle

Created on 18 Aug 2016  路  1Comment  路  Source: ARMmbed/mbed-os

Is there a description or uncrustify config of the codestyle used for mbedOS?

@MarceloSalazar

Most helpful comment

Hi @markus-becker-tridonic-com.

The style guide for C++/C code in mbed is documented here:
https://developer.mbed.org/teams/SDK-Development/wiki/mbed-sdk-coding-style

The style of the python tools follows PEP8 conventions:
https://www.python.org/dev/peps/pep-0008/

Unfortunately, the existing codebase is not completely consistent since multiple projects from different coding styles have been pulled in through mbed's development life. However, we will be working towards conforming to the above styles guides.

>All comments

Hi @markus-becker-tridonic-com.

The style guide for C++/C code in mbed is documented here:
https://developer.mbed.org/teams/SDK-Development/wiki/mbed-sdk-coding-style

The style of the python tools follows PEP8 conventions:
https://www.python.org/dev/peps/pep-0008/

Unfortunately, the existing codebase is not completely consistent since multiple projects from different coding styles have been pulled in through mbed's development life. However, we will be working towards conforming to the above styles guides.

Was this page helpful?
0 / 5 - 0 ratings