Skip to content

Commit

Permalink
doc: Specify C standard and library requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasWoodtli committed Jun 29, 2023
1 parent 5146594 commit f239129
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,16 @@ On Ubuntu 20.04, used in CI, the dependencies can be installed as such:
- `apt install build-essential clang-format clang-format-14 clang-tools-14 cmake gcovr git libcunit1-dev ninja-build python3-pip`
- `pip3 install -r tools/requirements-compliance.txt`

#### Compiler and Libraries

New code is written with the C11 standard.

A C standard library is required. If your system does not provide one
there are several open source variants available (musl, uClib-ng, newlib, ...).

Wakaama expects a POSIX (or Linux) OS to run on. Some effort has been
made to be able to run on other platforms but expect some issues when targeting a different platform.

### Code formatting
#### C
New C code must be formatted with [clang-format](https://clang.llvm.org/docs/ClangFormat.html).
Expand Down

0 comments on commit f239129

Please sign in to comment.