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

Related issues

chrissnow picture chrissnow  路  4Comments

neilt6 picture neilt6  路  4Comments

drahnr picture drahnr  路  4Comments

davidantaki picture davidantaki  路  3Comments

ccchang12 picture ccchang12  路  4Comments