11 Commits

Author SHA1 Message Date
Karl Palsson
c72f3d588a Surround all macro parameters with ()
All the macro arguments that are user supplied, or potentially, wrap properly
in () as good practice.

Probably missed one or two, and a lot of them are possibly unnecessary, but
it's straightforward to just do it always.

Fixes github issue #321
2015-10-14 22:15:15 +00:00
Piotr Esden-Tempski
34de1e776e Changed to use stdint types. 2013-06-12 19:11:22 -07:00
Piotr Esden-Tempski
7df63fcae0 First coarse run to fix coding style in locm3.
Added --terse and --mailback options to the make stylecheck target. It
also does continue even if it enounters a possible error.

We decided on two exceptions from the linux kernel coding standard:
- Empty wait while loops may end with ; on the same line.
- All blocks after while, if, for have to be in brackets even if they
  only contain one statement. Otherwise it is easy to introduce an
  error.

Checkpatch needs to be adapted to reflect those changes.
2013-06-12 18:22:56 -07:00
Ken Sarkies
1627cd60c3 Documentation structures added to place the non-STM32 families into the documentation tree.
Actual documentation has not been added. Volunteers?
2013-04-14 15:30:02 +02:00
Roger Light
b9180a81d8 Fix trivial typo INTERRPUT -> INTERRUPT. 2012-12-16 10:07:04 +00:00
Nicolas Schodet
3aab6220d8 Add C linkage declaration for C++ usage 2012-09-02 17:12:58 +02:00
Taylor Vesely
66c5f91a87 Implemented gpio_clear() for LPC17xx. 2012-03-27 16:42:36 -06:00
Taylor Vesely
bf2b8aad2f Added a bunch of register definitions and gpio_set() to LPC17xx gpio. 2012-03-26 16:43:43 -06:00
Taylor Vesely
9eb77c9fd7 Wrote miniblink.c for Blueboard-LPC1768-H, cleaned up gpio.h. 2012-03-22 16:22:22 -07:00
Taylor Vesely
82f89c414a Started to set up GPIO registers. 2012-03-22 16:22:21 -07:00
Taylor Vesely
60788fd9d2 Started porting to LPC17xx. Created file stubs and started conversion. 2012-03-22 16:22:21 -07:00