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:
committed by
Brendan Le Foll
parent
3fb65de4b8
commit
e562c774cf
@@ -866,7 +866,9 @@ EXCLUDE_SYMBOLS =
|
||||
# command).
|
||||
|
||||
EXAMPLE_PATH = @CMAKE_CURRENT_SOURCE_DIR@/examples/ \
|
||||
@CMAKE_CURRENT_SOURCE_DIR@/examples/c \
|
||||
@CMAKE_CURRENT_SOURCE_DIR@/examples/c++/ \
|
||||
@CMAKE_CURRENT_SOURCE_DIR@/examples/platform/ \
|
||||
@CMAKE_CURRENT_SOURCE_DIR@/docs/
|
||||
|
||||
# If the value of the EXAMPLE_PATH tag contains directories, you can use the
|
||||
|
||||
Reference in New Issue
Block a user