Private
Public Access
2
0

examples: cleanup examples directory

Following changes are done as a part of cleanup:

1. Moved the platform specific `C` examples from top level examples/
directory to platform/ subdirectory and renamed helloedison.c to
gpio_edison.c

2. C specific examples are moved to a new c/ subdirectory. As a part
of this process, examples are modified to follow same standards
and few new examples are also added.

3. Include the newly added C examples to relevant API documentation

4. Ran clang-format for all source files in c/, c++/, platform/
subdirectories

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Manivannan Sadhasivam
2017-11-17 17:22:34 +05:30
committed by Brendan Le Foll
parent 3fb65de4b8
commit e562c774cf
46 changed files with 1542 additions and 1025 deletions

View File

@@ -1,13 +1,3 @@
analogin_a0.c java/AioA0.java
cycle-pwm3.c java/CyclePwm3.java
gpio_read6.c java/GpioRead6.java
helloedison.c java/HelloEdison.java
hellomraa.c java/Example.java
i2c_HMC5883L.c java/I2cCompass.java
mmap-io2.c java/GpioMmapped.java
spi_max7219.c java/SpiMAX7219.java
spi_mcp4261.c java/SpiMCP4261.java
uart.c java/UartExample.java
AioA0.cpp java/AioA0.java
Blink-IO.cpp java/BlinkIO.java
I2c-compass.cpp java/I2cCompass.java