Skip to content

Commit

Permalink
doc/dev-best-practices: fix some links and add table of contents
Browse files Browse the repository at this point in the history
  • Loading branch information
miri64 committed Dec 6, 2024
1 parent 223136a commit bbbe4c0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions doc/doxygen/src/dev-best-practices.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Hints for quicker & better RIOT development
# Hints for quicker & better RIOT development {#dev-best-practices}

* Use the [methodology](https://github.com/RIOT-OS/RIOT/wiki/Best-Practice-for-RIOT-Programming/#methodology-emulator-first-target-iot-hardware-last) described below.
[TOC]

* Use the [methodology](#methodology) described below.
* Use [`ccache`](@ref ccache) to speedup compilation

## Coding "Dos" and "Don'ts":
## Coding "Dos" and "Don'ts": {#coding-dos-and-donts}

### Dos
* Use static memory. See also [Static vs. Dynamic Memory](#static-vs-dynamic).
Expand Down Expand Up @@ -74,7 +76,7 @@ int bar(foo_t v) {
* Don't duplicate code within your own code, unless there is a very good reason to do so. Use internal functions to this end.
* Don't mix up logical and bitwise operations (`!` vs `~`, or `&&` vs `&`)
## Methodology: emulator first, target IoT hardware last!
## Methodology: emulator first, target IoT hardware last! {#methodology}
The below methodology is recommended, using well-known de facto standard tools from the FLOSS community that are compatible with RIOT. Using the below workflow improves time-to-running-code compared to typical IoT software workflows (which can be as retro as "LED-driven" debugging).
Expand Down

0 comments on commit bbbe4c0

Please sign in to comment.