From afd560ccdc18945279dfb0792acd3e2743cc2487 Mon Sep 17 00:00:00 2001 From: Mihai Tudor Panu Date: Mon, 2 Mar 2015 15:34:56 -0800 Subject: [PATCH] examples: moved examples to new c++ subfolder Signed-off-by: Mihai Tudor Panu --- CMakeLists.txt | 2 +- Doxyfile.in | 118 +++++++++++----------- examples/{ => c++}/4digitdisplay.cxx | 0 examples/{ => c++}/CMakeLists.txt | 2 + examples/{ => c++}/a110x.cxx | 0 examples/{ => c++}/adc121c021.cxx | 0 examples/{ => c++}/adxl335.cxx | 0 examples/{ => c++}/adxl345.cxx | 0 examples/{ => c++}/am2315.cxx | 0 examples/{ => c++}/biss0001.cxx | 0 examples/{ => c++}/ble_broadcast.cxx | 0 examples/{ => c++}/buzzer-sound.cxx | 0 examples/{ => c++}/cjq4435.cxx | 0 examples/{ => c++}/ds1307.cxx | 0 examples/{ => c++}/ecs1030.cxx | 0 examples/{ => c++}/enc03r.cxx | 0 examples/{ => c++}/es08a.cxx | 0 examples/{ => c++}/gp2y0a21yk.cxx | 0 examples/{ => c++}/grove_mcfled.cxx | 0 examples/{ => c++}/grovebutton.cxx | 0 examples/{ => c++}/groveehr.cxx | 0 examples/{ => c++}/groveled.cxx | 0 examples/{ => c++}/grovelight.cxx | 0 examples/{ => c++}/grovelinefinder.cxx | 0 examples/{ => c++}/groveloudness.cxx | 0 examples/{ => c++}/grovemoisture.cxx | 0 examples/{ => c++}/groverelay.cxx | 0 examples/{ => c++}/groverotary.cxx | 0 examples/{ => c++}/groveslide.cxx | 0 examples/{ => c++}/grovespeaker.cxx | 0 examples/{ => c++}/grovetemp.cxx | 0 examples/{ => c++}/grovevdiv.cxx | 0 examples/{ => c++}/grovewater.cxx | 0 examples/{ => c++}/guvas12d.cxx | 0 examples/{ => c++}/gy65.cxx | 0 examples/{ => c++}/hcsr04.cxx | 0 examples/{ => c++}/hmc5883l.cxx | 0 examples/{ => c++}/hmtrp.cxx | 0 examples/{ => c++}/htu21d.cxx | 0 examples/{ => c++}/itg3200.cxx | 0 examples/{ => c++}/joystick12-example.cxx | 0 examples/{ => c++}/lcm-lcd.cxx | 0 examples/{ => c++}/ldt0028.cxx | 0 examples/{ => c++}/led-bar.cxx | 0 examples/{ => c++}/lol-example.cxx | 0 examples/{ => c++}/lpd8806.cxx | 0 examples/{ => c++}/lsm303.cxx | 0 examples/{ => c++}/max31723.cxx | 0 examples/{ => c++}/max31855.cxx | 0 examples/{ => c++}/max44000.cxx | 0 examples/{ => c++}/max5487.cxx | 0 examples/{ => c++}/maxds3231m.cxx | 0 examples/{ => c++}/mic.cxx | 0 examples/{ => c++}/mlx90614.cxx | 0 examples/{ => c++}/mma7455.cxx | 0 examples/{ => c++}/mma7660.cxx | 0 examples/{ => c++}/mpl3115a2.cxx | 0 examples/{ => c++}/mpr121.cxx | 0 examples/{ => c++}/mpu9150.cxx | 0 examples/{ => c++}/mq2.cxx | 0 examples/{ => c++}/mq3.cxx | 0 examples/{ => c++}/mq303a.cxx | 0 examples/{ => c++}/mq5.cxx | 0 examples/{ => c++}/mq9.cxx | 0 examples/{ => c++}/my9221.cxx | 0 examples/{ => c++}/nrf8001_broadcast.cxx | 0 examples/{ => c++}/nrf8001_broadcast.h | 0 examples/{ => c++}/nrf8001_helloworld.cxx | 0 examples/{ => c++}/nrf8001_helloworld.h | 0 examples/{ => c++}/nrf_receiver.cxx | 0 examples/{ => c++}/nrf_transmitter.cxx | 0 examples/{ => c++}/nunchuck.cxx | 0 examples/{ => c++}/oled-1308.cxx | 0 examples/{ => c++}/oled-1327.cxx | 0 examples/{ => c++}/otp538u.cxx | 0 examples/{ => c++}/ppd42ns.cxx | 0 examples/{ => c++}/pulsensor.cxx | 0 examples/{ => c++}/rfr359f.cxx | 0 examples/{ => c++}/rgb-lcd.cxx | 0 examples/{ => c++}/rotaryencoder.cxx | 0 examples/{ => c++}/rpr220-intr.cxx | 0 examples/{ => c++}/rpr220.cxx | 0 examples/{ => c++}/st7735.cxx | 0 examples/{ => c++}/stepmotor.cxx | 0 examples/{ => c++}/ta12200.cxx | 0 examples/{ => c++}/tcs3414cs.cxx | 0 examples/{ => c++}/th02.cxx | 0 examples/{ => c++}/tp401.cxx | 0 examples/{ => c++}/tsl2561.cxx | 0 examples/{ => c++}/ttp223.cxx | 0 examples/{ => c++}/ublox6.cxx | 0 examples/{ => c++}/wt5001.cxx | 0 examples/{ => c++}/yg1006.cxx | 0 93 files changed, 62 insertions(+), 60 deletions(-) rename examples/{ => c++}/4digitdisplay.cxx (100%) rename examples/{ => c++}/CMakeLists.txt (99%) rename examples/{ => c++}/a110x.cxx (100%) rename examples/{ => c++}/adc121c021.cxx (100%) rename examples/{ => c++}/adxl335.cxx (100%) rename examples/{ => c++}/adxl345.cxx (100%) rename examples/{ => c++}/am2315.cxx (100%) mode change 100755 => 100644 rename examples/{ => c++}/biss0001.cxx (100%) rename examples/{ => c++}/ble_broadcast.cxx (100%) rename examples/{ => c++}/buzzer-sound.cxx (100%) rename examples/{ => c++}/cjq4435.cxx (100%) rename examples/{ => c++}/ds1307.cxx (100%) rename examples/{ => c++}/ecs1030.cxx (100%) rename examples/{ => c++}/enc03r.cxx (100%) rename examples/{ => c++}/es08a.cxx (100%) rename examples/{ => c++}/gp2y0a21yk.cxx (100%) rename examples/{ => c++}/grove_mcfled.cxx (100%) rename examples/{ => c++}/grovebutton.cxx (100%) rename examples/{ => c++}/groveehr.cxx (100%) rename examples/{ => c++}/groveled.cxx (100%) rename examples/{ => c++}/grovelight.cxx (100%) rename examples/{ => c++}/grovelinefinder.cxx (100%) rename examples/{ => c++}/groveloudness.cxx (100%) rename examples/{ => c++}/grovemoisture.cxx (100%) rename examples/{ => c++}/groverelay.cxx (100%) rename examples/{ => c++}/groverotary.cxx (100%) rename examples/{ => c++}/groveslide.cxx (100%) rename examples/{ => c++}/grovespeaker.cxx (100%) rename examples/{ => c++}/grovetemp.cxx (100%) rename examples/{ => c++}/grovevdiv.cxx (100%) rename examples/{ => c++}/grovewater.cxx (100%) rename examples/{ => c++}/guvas12d.cxx (100%) rename examples/{ => c++}/gy65.cxx (100%) rename examples/{ => c++}/hcsr04.cxx (100%) rename examples/{ => c++}/hmc5883l.cxx (100%) rename examples/{ => c++}/hmtrp.cxx (100%) rename examples/{ => c++}/htu21d.cxx (100%) rename examples/{ => c++}/itg3200.cxx (100%) rename examples/{ => c++}/joystick12-example.cxx (100%) rename examples/{ => c++}/lcm-lcd.cxx (100%) rename examples/{ => c++}/ldt0028.cxx (100%) rename examples/{ => c++}/led-bar.cxx (100%) rename examples/{ => c++}/lol-example.cxx (100%) rename examples/{ => c++}/lpd8806.cxx (100%) rename examples/{ => c++}/lsm303.cxx (100%) rename examples/{ => c++}/max31723.cxx (100%) rename examples/{ => c++}/max31855.cxx (100%) rename examples/{ => c++}/max44000.cxx (100%) rename examples/{ => c++}/max5487.cxx (100%) rename examples/{ => c++}/maxds3231m.cxx (100%) rename examples/{ => c++}/mic.cxx (100%) rename examples/{ => c++}/mlx90614.cxx (100%) rename examples/{ => c++}/mma7455.cxx (100%) rename examples/{ => c++}/mma7660.cxx (100%) rename examples/{ => c++}/mpl3115a2.cxx (100%) rename examples/{ => c++}/mpr121.cxx (100%) rename examples/{ => c++}/mpu9150.cxx (100%) rename examples/{ => c++}/mq2.cxx (100%) rename examples/{ => c++}/mq3.cxx (100%) rename examples/{ => c++}/mq303a.cxx (100%) rename examples/{ => c++}/mq5.cxx (100%) rename examples/{ => c++}/mq9.cxx (100%) rename examples/{ => c++}/my9221.cxx (100%) rename examples/{ => c++}/nrf8001_broadcast.cxx (100%) rename examples/{ => c++}/nrf8001_broadcast.h (100%) rename examples/{ => c++}/nrf8001_helloworld.cxx (100%) rename examples/{ => c++}/nrf8001_helloworld.h (100%) rename examples/{ => c++}/nrf_receiver.cxx (100%) rename examples/{ => c++}/nrf_transmitter.cxx (100%) rename examples/{ => c++}/nunchuck.cxx (100%) rename examples/{ => c++}/oled-1308.cxx (100%) rename examples/{ => c++}/oled-1327.cxx (100%) rename examples/{ => c++}/otp538u.cxx (100%) rename examples/{ => c++}/ppd42ns.cxx (100%) rename examples/{ => c++}/pulsensor.cxx (100%) rename examples/{ => c++}/rfr359f.cxx (100%) rename examples/{ => c++}/rgb-lcd.cxx (100%) rename examples/{ => c++}/rotaryencoder.cxx (100%) rename examples/{ => c++}/rpr220-intr.cxx (100%) rename examples/{ => c++}/rpr220.cxx (100%) rename examples/{ => c++}/st7735.cxx (100%) rename examples/{ => c++}/stepmotor.cxx (100%) rename examples/{ => c++}/ta12200.cxx (100%) rename examples/{ => c++}/tcs3414cs.cxx (100%) rename examples/{ => c++}/th02.cxx (100%) rename examples/{ => c++}/tp401.cxx (100%) rename examples/{ => c++}/tsl2561.cxx (100%) rename examples/{ => c++}/ttp223.cxx (100%) rename examples/{ => c++}/ublox6.cxx (100%) rename examples/{ => c++}/wt5001.cxx (100%) rename examples/{ => c++}/yg1006.cxx (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9e927a04..2893f66b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,4 +98,4 @@ if (IPK) endif() add_subdirectory (src) -add_subdirectory (examples) +add_subdirectory (examples/c++) diff --git a/Doxyfile.in b/Doxyfile.in index 3b476cb0..8f372010 100644 --- a/Doxyfile.in +++ b/Doxyfile.in @@ -51,14 +51,14 @@ PROJECT_BRIEF = "Sensor/Actuator repository for libmraa (v@MRAA_VERSION # and the maximum width should not exceed 200 pixels. Doxygen will copy the logo # to the output directory. -PROJECT_LOGO = +PROJECT_LOGO = # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path # into which the generated documentation will be written. If a relative path is # entered, it will be relative to the location where doxygen was started. If # left blank the current directory will be used. -OUTPUT_DIRECTORY = +OUTPUT_DIRECTORY = # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub- # directories (in 2 levels) under the output directory of each output format and @@ -156,7 +156,7 @@ FULL_PATH_NAMES = YES # will be relative from the directory where doxygen is started. # This tag requires that the tag FULL_PATH_NAMES is set to YES. -STRIP_FROM_PATH = +STRIP_FROM_PATH = # The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the # path mentioned in the documentation of a class, which tells the reader which @@ -165,7 +165,7 @@ STRIP_FROM_PATH = # specify the list of include paths that are normally passed to the compiler # using the -I flag. -STRIP_FROM_INC_PATH = +STRIP_FROM_INC_PATH = # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but # less readable) file names. This can be useful is your file systems doesn't @@ -232,13 +232,13 @@ TAB_SIZE = 4 # "Side Effects:". You can put \n's in the value part of an alias to insert # newlines. -ALIASES = +ALIASES = # This tag can be used to specify a number of word-keyword mappings (TCL only). # A mapping has the form "name=value". For example adding "class=itcl::class" # will allow you to use the command class in the itcl::class meaning. -TCL_SUBST = +TCL_SUBST = # Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources # only. Doxygen will then generate output that is more tailored for C. For @@ -282,7 +282,7 @@ OPTIMIZE_OUTPUT_VHDL = NO # Note that for custom extensions you also need to set FILE_PATTERNS otherwise # the files are not read by doxygen. -EXTENSION_MAPPING = +EXTENSION_MAPPING = # If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments # according to the Markdown format, which allows for more readable @@ -618,7 +618,7 @@ GENERATE_DEPRECATEDLIST= YES # sections, marked by \if ... \endif and \cond # ... \endcond blocks. -ENABLED_SECTIONS = +ENABLED_SECTIONS = # The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the # initial value of a variable or macro / define can have for it to appear in the @@ -660,7 +660,7 @@ SHOW_NAMESPACES = YES # by doxygen. Whatever the program writes to standard output is used as the file # version. For an example see the documentation. -FILE_VERSION_FILTER = +FILE_VERSION_FILTER = # The LAYOUT_FILE tag can be used to specify a layout file which will be parsed # by doxygen. The layout file controls the global structure of the generated @@ -684,7 +684,7 @@ LAYOUT_FILE = @CMAKE_CURRENT_SOURCE_DIR@/DoxygenLayout.xml # search path. Do not use file names with spaces, bibtex cannot handle them. See # also \cite for info how to create references. -CITE_BIB_FILES = +CITE_BIB_FILES = #--------------------------------------------------------------------------- # Configuration options related to warning and progress messages @@ -743,7 +743,7 @@ WARN_FORMAT = "$file:$line: $text" # messages should be written. If left blank the output is written to standard # error (stderr). -WARN_LOGFILE = +WARN_LOGFILE = #--------------------------------------------------------------------------- # Configuration options related to the input files @@ -852,7 +852,7 @@ EXCLUDE_SYMLINKS = NO EXCLUDE_PATTERNS = @PROJECT_SOURCE_DIR@/src/nrf8001/aci* \ @PROJECT_SOURCE_DIR@/src/nrf8001/lib* \ - @PROJECT_SOURCE_DIR@/src/nrf8001/hal* + @PROJECT_SOURCE_DIR@/src/nrf8001/hal* # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names # (namespaces, classes, functions, etc.) that should be excluded from the @@ -863,15 +863,15 @@ EXCLUDE_PATTERNS = @PROJECT_SOURCE_DIR@/src/nrf8001/aci* \ # Note that the wildcards are matched against the file with absolute path, so to # exclude all test directories use the pattern */test/* -EXCLUDE_SYMBOLS = +EXCLUDE_SYMBOLS = # The EXAMPLE_PATH tag can be used to specify one or more files or directories # that contain example code fragments that are included (see the \include # command). -EXAMPLE_PATH = @CMAKE_CURRENT_SOURCE_DIR@/examples/ \ +EXAMPLE_PATH = @CMAKE_CURRENT_SOURCE_DIR@/examples/c++ \ @CMAKE_CURRENT_SOURCE_DIR@/docs/ \ - @CMAKE_CURRENT_SOURCE_DIR@/src/max31855/ + @CMAKE_CURRENT_SOURCE_DIR@/src/max31855/ # If the value of the EXAMPLE_PATH tag contains directories, you can use the # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and @@ -908,7 +908,7 @@ IMAGE_PATH = @CMAKE_CURRENT_SOURCE_DIR@/docs/images/ # code is scanned, but not when the output code is generated. If lines are added # or removed, the anchors will not be placed correctly. -INPUT_FILTER = +INPUT_FILTER = # The FILTER_PATTERNS tag can be used to specify filters on a per file pattern # basis. Doxygen will compare the file name with each pattern and apply the @@ -917,7 +917,7 @@ INPUT_FILTER = # filters are used. If the FILTER_PATTERNS tag is empty or if none of the # patterns match the file name, INPUT_FILTER is applied. -FILTER_PATTERNS = +FILTER_PATTERNS = # If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using # INPUT_FILTER ) will also be used to filter the input files that are used for @@ -932,7 +932,7 @@ FILTER_SOURCE_FILES = NO # *.ext= (so without naming a filter). # This tag requires that the tag FILTER_SOURCE_FILES is set to YES. -FILTER_SOURCE_PATTERNS = +FILTER_SOURCE_PATTERNS = # If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that # is part of the input, its contents will be placed on the main page @@ -1051,7 +1051,7 @@ COLS_IN_ALPHA_INDEX = 5 # while generating the index headers. # This tag requires that the tag ALPHABETICAL_INDEX is set to YES. -IGNORE_PREFIX = +IGNORE_PREFIX = #--------------------------------------------------------------------------- # Configuration options related to the HTML output @@ -1095,7 +1095,7 @@ HTML_FILE_EXTENSION = .html # of the possible markers and block names see the documentation. # This tag requires that the tag GENERATE_HTML is set to YES. -HTML_HEADER = +HTML_HEADER = # The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each # generated HTML page. If the tag is left blank doxygen will generate a standard @@ -1105,7 +1105,7 @@ HTML_HEADER = # that doxygen normally uses. # This tag requires that the tag GENERATE_HTML is set to YES. -HTML_FOOTER = +HTML_FOOTER = # The HTML_STYLESHEET tag can be used to specify a user-defined cascading style # sheet that is used by each HTML page. It can be used to fine-tune the look of @@ -1117,7 +1117,7 @@ HTML_FOOTER = # obsolete. # This tag requires that the tag GENERATE_HTML is set to YES. -HTML_STYLESHEET = +HTML_STYLESHEET = # The HTML_EXTRA_STYLESHEET tag can be used to specify an additional user- # defined cascading style sheet that is included after the standard style sheets @@ -1128,7 +1128,7 @@ HTML_STYLESHEET = # see the documentation. # This tag requires that the tag GENERATE_HTML is set to YES. -HTML_EXTRA_STYLESHEET = +HTML_EXTRA_STYLESHEET = # The HTML_EXTRA_FILES tag can be used to specify one or more extra images or # other source files which should be copied to the HTML output directory. Note @@ -1138,7 +1138,7 @@ HTML_EXTRA_STYLESHEET = # files will be copied as-is; there are no commands or markers available. # This tag requires that the tag GENERATE_HTML is set to YES. -HTML_EXTRA_FILES = +HTML_EXTRA_FILES = # The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen # will adjust the colors in the stylesheet and background images according to @@ -1266,7 +1266,7 @@ GENERATE_HTMLHELP = NO # written to the html output directory. # This tag requires that the tag GENERATE_HTMLHELP is set to YES. -CHM_FILE = +CHM_FILE = # The HHC_LOCATION tag can be used to specify the location (absolute path # including file name) of the HTML help compiler ( hhc.exe). If non-empty @@ -1274,7 +1274,7 @@ CHM_FILE = # The file has to be specified with full path. # This tag requires that the tag GENERATE_HTMLHELP is set to YES. -HHC_LOCATION = +HHC_LOCATION = # The GENERATE_CHI flag controls if a separate .chi index file is generated ( # YES) or that it should be included in the master .chm file ( NO). @@ -1287,7 +1287,7 @@ GENERATE_CHI = NO # and project file content. # This tag requires that the tag GENERATE_HTMLHELP is set to YES. -CHM_INDEX_ENCODING = +CHM_INDEX_ENCODING = # The BINARY_TOC flag controls whether a binary table of contents is generated ( # YES) or a normal table of contents ( NO) in the .chm file. @@ -1317,7 +1317,7 @@ GENERATE_QHP = NO # the HTML output folder. # This tag requires that the tag GENERATE_QHP is set to YES. -QCH_FILE = +QCH_FILE = # The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help # Project output. For more information please see Qt Help Project / Namespace @@ -1342,7 +1342,7 @@ QHP_VIRTUAL_FOLDER = doc # filters). # This tag requires that the tag GENERATE_QHP is set to YES. -QHP_CUST_FILTER_NAME = +QHP_CUST_FILTER_NAME = # The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the # custom filter to add. For more information please see Qt Help Project / Custom @@ -1350,21 +1350,21 @@ QHP_CUST_FILTER_NAME = # filters). # This tag requires that the tag GENERATE_QHP is set to YES. -QHP_CUST_FILTER_ATTRS = +QHP_CUST_FILTER_ATTRS = # The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this # project's filter section matches. Qt Help Project / Filter Attributes (see: # http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes). # This tag requires that the tag GENERATE_QHP is set to YES. -QHP_SECT_FILTER_ATTRS = +QHP_SECT_FILTER_ATTRS = # The QHG_LOCATION tag can be used to specify the location of Qt's # qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the # generated .qhp file. # This tag requires that the tag GENERATE_QHP is set to YES. -QHG_LOCATION = +QHG_LOCATION = # If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be # generated, together with the HTML files, they form an Eclipse help plugin. To @@ -1497,7 +1497,7 @@ MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest # MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols # This tag requires that the tag USE_MATHJAX is set to YES. -MATHJAX_EXTENSIONS = +MATHJAX_EXTENSIONS = # The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces # of code that will be used on startup of the MathJax code. See the MathJax site @@ -1505,7 +1505,7 @@ MATHJAX_EXTENSIONS = # example see the documentation. # This tag requires that the tag USE_MATHJAX is set to YES. -MATHJAX_CODEFILE = +MATHJAX_CODEFILE = # When the SEARCHENGINE tag is enabled doxygen will generate a search box for # the HTML output. The underlying search engine uses javascript and DHTML and @@ -1565,7 +1565,7 @@ EXTERNAL_SEARCH = NO # Searching" for details. # This tag requires that the tag SEARCHENGINE is set to YES. -SEARCHENGINE_URL = +SEARCHENGINE_URL = # When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed # search data is written to a file for indexing by an external tool. With the @@ -1581,7 +1581,7 @@ SEARCHDATA_FILE = searchdata.xml # projects and redirect the results back to the right project. # This tag requires that the tag SEARCHENGINE is set to YES. -EXTERNAL_SEARCH_ID = +EXTERNAL_SEARCH_ID = # The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen # projects other than the one defined by this configuration file, but that are @@ -1591,7 +1591,7 @@ EXTERNAL_SEARCH_ID = # EXTRA_SEARCH_MAPPINGS = tagname1=loc1 tagname2=loc2 ... # This tag requires that the tag SEARCHENGINE is set to YES. -EXTRA_SEARCH_MAPPINGS = +EXTRA_SEARCH_MAPPINGS = #--------------------------------------------------------------------------- # Configuration options related to the LaTeX output @@ -1652,7 +1652,7 @@ PAPER_TYPE = a4 # If left blank no extra packages will be included. # This tag requires that the tag GENERATE_LATEX is set to YES. -EXTRA_PACKAGES = +EXTRA_PACKAGES = # The LATEX_HEADER tag can be used to specify a personal LaTeX header for the # generated LaTeX document. The header should contain everything until the first @@ -1668,7 +1668,7 @@ EXTRA_PACKAGES = # PROJECT_NAME), or the project number (see PROJECT_NUMBER). # This tag requires that the tag GENERATE_LATEX is set to YES. -LATEX_HEADER = +LATEX_HEADER = # The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for the # generated LaTeX document. The footer should contain everything after the last @@ -1677,7 +1677,7 @@ LATEX_HEADER = # Note: Only use a user-defined footer if you know what you are doing! # This tag requires that the tag GENERATE_LATEX is set to YES. -LATEX_FOOTER = +LATEX_FOOTER = # The LATEX_EXTRA_FILES tag can be used to specify one or more extra images or # other source files which should be copied to the LATEX_OUTPUT output @@ -1685,7 +1685,7 @@ LATEX_FOOTER = # markers available. # This tag requires that the tag GENERATE_LATEX is set to YES. -LATEX_EXTRA_FILES = +LATEX_EXTRA_FILES = # If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated is # prepared for conversion to PDF (using ps2pdf or pdflatex). The PDF file will @@ -1785,14 +1785,14 @@ RTF_HYPERLINKS = NO # default style sheet that doxygen normally uses. # This tag requires that the tag GENERATE_RTF is set to YES. -RTF_STYLESHEET_FILE = +RTF_STYLESHEET_FILE = # Set optional variables used in the generation of an RTF document. Syntax is # similar to doxygen's config file. A template extensions file can be generated # using doxygen -e rtf extensionFile. # This tag requires that the tag GENERATE_RTF is set to YES. -RTF_EXTENSIONS_FILE = +RTF_EXTENSIONS_FILE = #--------------------------------------------------------------------------- # Configuration options related to the man page output @@ -1853,13 +1853,13 @@ XML_OUTPUT = xml # validating XML parser to check the syntax of the XML files. # This tag requires that the tag GENERATE_XML is set to YES. -XML_SCHEMA = +XML_SCHEMA = # The XML_DTD tag can be used to specify a XML DTD, which can be used by a # validating XML parser to check the syntax of the XML files. # This tag requires that the tag GENERATE_XML is set to YES. -XML_DTD = +XML_DTD = # If the XML_PROGRAMLISTING tag is set to YES doxygen will dump the program # listings (including syntax highlighting and cross-referencing information) to @@ -1936,7 +1936,7 @@ PERLMOD_PRETTY = YES # overwrite each other's variables. # This tag requires that the tag GENERATE_PERLMOD is set to YES. -PERLMOD_MAKEVAR_PREFIX = +PERLMOD_MAKEVAR_PREFIX = #--------------------------------------------------------------------------- # Configuration options related to the preprocessor @@ -1977,7 +1977,7 @@ SEARCH_INCLUDES = YES # preprocessor. # This tag requires that the tag SEARCH_INCLUDES is set to YES. -INCLUDE_PATH = +INCLUDE_PATH = # You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard # patterns (like *.h and *.hpp) to filter out the header-files in the @@ -1985,7 +1985,7 @@ INCLUDE_PATH = # used. # This tag requires that the tag ENABLE_PREPROCESSING is set to YES. -INCLUDE_FILE_PATTERNS = +INCLUDE_FILE_PATTERNS = # The PREDEFINED tag can be used to specify one or more macro names that are # defined before the preprocessor is started (similar to the -D option of e.g. @@ -1995,7 +1995,7 @@ INCLUDE_FILE_PATTERNS = # recursively expanded use the := operator instead of the = operator. # This tag requires that the tag ENABLE_PREPROCESSING is set to YES. -PREDEFINED = +PREDEFINED = # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this # tag can be used to specify a list of macro names that should be expanded. The @@ -2004,7 +2004,7 @@ PREDEFINED = # definition found in the source code. # This tag requires that the tag ENABLE_PREPROCESSING is set to YES. -EXPAND_AS_DEFINED = +EXPAND_AS_DEFINED = # If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will # remove all refrences to function-like macros that are alone on a line, have an @@ -2033,13 +2033,13 @@ SKIP_FUNCTION_MACROS = YES # the path). If a tag file is not located in the directory in which doxygen is # run, you must also specify the path to the tagfile here. -TAGFILES = +TAGFILES = # When a file name is specified after GENERATE_TAGFILE, doxygen will create a # tag file that is based on the input files it reads. See section "Linking to # external documentation" for more information about the usage of tag files. -GENERATE_TAGFILE = +GENERATE_TAGFILE = # If the ALLEXTERNALS tag is set to YES all external class will be listed in the # class index. If set to NO only the inherited external classes will be listed. @@ -2087,14 +2087,14 @@ CLASS_DIAGRAMS = NO # the mscgen tool resides. If left empty the tool is assumed to be found in the # default search path. -MSCGEN_PATH = +MSCGEN_PATH = # You can include diagrams made with dia in doxygen documentation. Doxygen will # then run dia to produce the diagram and insert it in the documentation. The # DIA_PATH tag allows you to specify the directory where the dia binary resides. # If left empty dia is assumed to be found in the default search path. -DIA_PATH = +DIA_PATH = # If set to YES, the inheritance and collaboration graphs will hide inheritance # and usage relations if the target is undocumented or is not a class. @@ -2143,7 +2143,7 @@ DOT_FONTSIZE = 10 # the path where dot can find it using this tag. # This tag requires that the tag HAVE_DOT is set to YES. -DOT_FONTPATH = +DOT_FONTPATH = # If the CLASS_GRAPH tag is set to YES then doxygen will generate a graph for # each documented class showing the direct and indirect inheritance relations. @@ -2281,26 +2281,26 @@ INTERACTIVE_SVG = NO # found. If left blank, it is assumed the dot tool can be found in the path. # This tag requires that the tag HAVE_DOT is set to YES. -DOT_PATH = +DOT_PATH = # The DOTFILE_DIRS tag can be used to specify one or more directories that # contain dot files that are included in the documentation (see the \dotfile # command). # This tag requires that the tag HAVE_DOT is set to YES. -DOTFILE_DIRS = +DOTFILE_DIRS = # The MSCFILE_DIRS tag can be used to specify one or more directories that # contain msc files that are included in the documentation (see the \mscfile # command). -MSCFILE_DIRS = +MSCFILE_DIRS = # The DIAFILE_DIRS tag can be used to specify one or more directories that # contain dia files that are included in the documentation (see the \diafile # command). -DIAFILE_DIRS = +DIAFILE_DIRS = # The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of nodes # that will be shown in the graph. If the number of nodes in a graph becomes diff --git a/examples/4digitdisplay.cxx b/examples/c++/4digitdisplay.cxx similarity index 100% rename from examples/4digitdisplay.cxx rename to examples/c++/4digitdisplay.cxx diff --git a/examples/CMakeLists.txt b/examples/c++/CMakeLists.txt similarity index 99% rename from examples/CMakeLists.txt rename to examples/c++/CMakeLists.txt index 49025c8d..d430fc8f 100644 --- a/examples/CMakeLists.txt +++ b/examples/c++/CMakeLists.txt @@ -1,3 +1,5 @@ +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/examples) + add_executable (hmc5883l-example hmc5883l.cxx) add_executable (groveled-example groveled.cxx) add_executable (groverelay-example groverelay.cxx) diff --git a/examples/a110x.cxx b/examples/c++/a110x.cxx similarity index 100% rename from examples/a110x.cxx rename to examples/c++/a110x.cxx diff --git a/examples/adc121c021.cxx b/examples/c++/adc121c021.cxx similarity index 100% rename from examples/adc121c021.cxx rename to examples/c++/adc121c021.cxx diff --git a/examples/adxl335.cxx b/examples/c++/adxl335.cxx similarity index 100% rename from examples/adxl335.cxx rename to examples/c++/adxl335.cxx diff --git a/examples/adxl345.cxx b/examples/c++/adxl345.cxx similarity index 100% rename from examples/adxl345.cxx rename to examples/c++/adxl345.cxx diff --git a/examples/am2315.cxx b/examples/c++/am2315.cxx old mode 100755 new mode 100644 similarity index 100% rename from examples/am2315.cxx rename to examples/c++/am2315.cxx diff --git a/examples/biss0001.cxx b/examples/c++/biss0001.cxx similarity index 100% rename from examples/biss0001.cxx rename to examples/c++/biss0001.cxx diff --git a/examples/ble_broadcast.cxx b/examples/c++/ble_broadcast.cxx similarity index 100% rename from examples/ble_broadcast.cxx rename to examples/c++/ble_broadcast.cxx diff --git a/examples/buzzer-sound.cxx b/examples/c++/buzzer-sound.cxx similarity index 100% rename from examples/buzzer-sound.cxx rename to examples/c++/buzzer-sound.cxx diff --git a/examples/cjq4435.cxx b/examples/c++/cjq4435.cxx similarity index 100% rename from examples/cjq4435.cxx rename to examples/c++/cjq4435.cxx diff --git a/examples/ds1307.cxx b/examples/c++/ds1307.cxx similarity index 100% rename from examples/ds1307.cxx rename to examples/c++/ds1307.cxx diff --git a/examples/ecs1030.cxx b/examples/c++/ecs1030.cxx similarity index 100% rename from examples/ecs1030.cxx rename to examples/c++/ecs1030.cxx diff --git a/examples/enc03r.cxx b/examples/c++/enc03r.cxx similarity index 100% rename from examples/enc03r.cxx rename to examples/c++/enc03r.cxx diff --git a/examples/es08a.cxx b/examples/c++/es08a.cxx similarity index 100% rename from examples/es08a.cxx rename to examples/c++/es08a.cxx diff --git a/examples/gp2y0a21yk.cxx b/examples/c++/gp2y0a21yk.cxx similarity index 100% rename from examples/gp2y0a21yk.cxx rename to examples/c++/gp2y0a21yk.cxx diff --git a/examples/grove_mcfled.cxx b/examples/c++/grove_mcfled.cxx similarity index 100% rename from examples/grove_mcfled.cxx rename to examples/c++/grove_mcfled.cxx diff --git a/examples/grovebutton.cxx b/examples/c++/grovebutton.cxx similarity index 100% rename from examples/grovebutton.cxx rename to examples/c++/grovebutton.cxx diff --git a/examples/groveehr.cxx b/examples/c++/groveehr.cxx similarity index 100% rename from examples/groveehr.cxx rename to examples/c++/groveehr.cxx diff --git a/examples/groveled.cxx b/examples/c++/groveled.cxx similarity index 100% rename from examples/groveled.cxx rename to examples/c++/groveled.cxx diff --git a/examples/grovelight.cxx b/examples/c++/grovelight.cxx similarity index 100% rename from examples/grovelight.cxx rename to examples/c++/grovelight.cxx diff --git a/examples/grovelinefinder.cxx b/examples/c++/grovelinefinder.cxx similarity index 100% rename from examples/grovelinefinder.cxx rename to examples/c++/grovelinefinder.cxx diff --git a/examples/groveloudness.cxx b/examples/c++/groveloudness.cxx similarity index 100% rename from examples/groveloudness.cxx rename to examples/c++/groveloudness.cxx diff --git a/examples/grovemoisture.cxx b/examples/c++/grovemoisture.cxx similarity index 100% rename from examples/grovemoisture.cxx rename to examples/c++/grovemoisture.cxx diff --git a/examples/groverelay.cxx b/examples/c++/groverelay.cxx similarity index 100% rename from examples/groverelay.cxx rename to examples/c++/groverelay.cxx diff --git a/examples/groverotary.cxx b/examples/c++/groverotary.cxx similarity index 100% rename from examples/groverotary.cxx rename to examples/c++/groverotary.cxx diff --git a/examples/groveslide.cxx b/examples/c++/groveslide.cxx similarity index 100% rename from examples/groveslide.cxx rename to examples/c++/groveslide.cxx diff --git a/examples/grovespeaker.cxx b/examples/c++/grovespeaker.cxx similarity index 100% rename from examples/grovespeaker.cxx rename to examples/c++/grovespeaker.cxx diff --git a/examples/grovetemp.cxx b/examples/c++/grovetemp.cxx similarity index 100% rename from examples/grovetemp.cxx rename to examples/c++/grovetemp.cxx diff --git a/examples/grovevdiv.cxx b/examples/c++/grovevdiv.cxx similarity index 100% rename from examples/grovevdiv.cxx rename to examples/c++/grovevdiv.cxx diff --git a/examples/grovewater.cxx b/examples/c++/grovewater.cxx similarity index 100% rename from examples/grovewater.cxx rename to examples/c++/grovewater.cxx diff --git a/examples/guvas12d.cxx b/examples/c++/guvas12d.cxx similarity index 100% rename from examples/guvas12d.cxx rename to examples/c++/guvas12d.cxx diff --git a/examples/gy65.cxx b/examples/c++/gy65.cxx similarity index 100% rename from examples/gy65.cxx rename to examples/c++/gy65.cxx diff --git a/examples/hcsr04.cxx b/examples/c++/hcsr04.cxx similarity index 100% rename from examples/hcsr04.cxx rename to examples/c++/hcsr04.cxx diff --git a/examples/hmc5883l.cxx b/examples/c++/hmc5883l.cxx similarity index 100% rename from examples/hmc5883l.cxx rename to examples/c++/hmc5883l.cxx diff --git a/examples/hmtrp.cxx b/examples/c++/hmtrp.cxx similarity index 100% rename from examples/hmtrp.cxx rename to examples/c++/hmtrp.cxx diff --git a/examples/htu21d.cxx b/examples/c++/htu21d.cxx similarity index 100% rename from examples/htu21d.cxx rename to examples/c++/htu21d.cxx diff --git a/examples/itg3200.cxx b/examples/c++/itg3200.cxx similarity index 100% rename from examples/itg3200.cxx rename to examples/c++/itg3200.cxx diff --git a/examples/joystick12-example.cxx b/examples/c++/joystick12-example.cxx similarity index 100% rename from examples/joystick12-example.cxx rename to examples/c++/joystick12-example.cxx diff --git a/examples/lcm-lcd.cxx b/examples/c++/lcm-lcd.cxx similarity index 100% rename from examples/lcm-lcd.cxx rename to examples/c++/lcm-lcd.cxx diff --git a/examples/ldt0028.cxx b/examples/c++/ldt0028.cxx similarity index 100% rename from examples/ldt0028.cxx rename to examples/c++/ldt0028.cxx diff --git a/examples/led-bar.cxx b/examples/c++/led-bar.cxx similarity index 100% rename from examples/led-bar.cxx rename to examples/c++/led-bar.cxx diff --git a/examples/lol-example.cxx b/examples/c++/lol-example.cxx similarity index 100% rename from examples/lol-example.cxx rename to examples/c++/lol-example.cxx diff --git a/examples/lpd8806.cxx b/examples/c++/lpd8806.cxx similarity index 100% rename from examples/lpd8806.cxx rename to examples/c++/lpd8806.cxx diff --git a/examples/lsm303.cxx b/examples/c++/lsm303.cxx similarity index 100% rename from examples/lsm303.cxx rename to examples/c++/lsm303.cxx diff --git a/examples/max31723.cxx b/examples/c++/max31723.cxx similarity index 100% rename from examples/max31723.cxx rename to examples/c++/max31723.cxx diff --git a/examples/max31855.cxx b/examples/c++/max31855.cxx similarity index 100% rename from examples/max31855.cxx rename to examples/c++/max31855.cxx diff --git a/examples/max44000.cxx b/examples/c++/max44000.cxx similarity index 100% rename from examples/max44000.cxx rename to examples/c++/max44000.cxx diff --git a/examples/max5487.cxx b/examples/c++/max5487.cxx similarity index 100% rename from examples/max5487.cxx rename to examples/c++/max5487.cxx diff --git a/examples/maxds3231m.cxx b/examples/c++/maxds3231m.cxx similarity index 100% rename from examples/maxds3231m.cxx rename to examples/c++/maxds3231m.cxx diff --git a/examples/mic.cxx b/examples/c++/mic.cxx similarity index 100% rename from examples/mic.cxx rename to examples/c++/mic.cxx diff --git a/examples/mlx90614.cxx b/examples/c++/mlx90614.cxx similarity index 100% rename from examples/mlx90614.cxx rename to examples/c++/mlx90614.cxx diff --git a/examples/mma7455.cxx b/examples/c++/mma7455.cxx similarity index 100% rename from examples/mma7455.cxx rename to examples/c++/mma7455.cxx diff --git a/examples/mma7660.cxx b/examples/c++/mma7660.cxx similarity index 100% rename from examples/mma7660.cxx rename to examples/c++/mma7660.cxx diff --git a/examples/mpl3115a2.cxx b/examples/c++/mpl3115a2.cxx similarity index 100% rename from examples/mpl3115a2.cxx rename to examples/c++/mpl3115a2.cxx diff --git a/examples/mpr121.cxx b/examples/c++/mpr121.cxx similarity index 100% rename from examples/mpr121.cxx rename to examples/c++/mpr121.cxx diff --git a/examples/mpu9150.cxx b/examples/c++/mpu9150.cxx similarity index 100% rename from examples/mpu9150.cxx rename to examples/c++/mpu9150.cxx diff --git a/examples/mq2.cxx b/examples/c++/mq2.cxx similarity index 100% rename from examples/mq2.cxx rename to examples/c++/mq2.cxx diff --git a/examples/mq3.cxx b/examples/c++/mq3.cxx similarity index 100% rename from examples/mq3.cxx rename to examples/c++/mq3.cxx diff --git a/examples/mq303a.cxx b/examples/c++/mq303a.cxx similarity index 100% rename from examples/mq303a.cxx rename to examples/c++/mq303a.cxx diff --git a/examples/mq5.cxx b/examples/c++/mq5.cxx similarity index 100% rename from examples/mq5.cxx rename to examples/c++/mq5.cxx diff --git a/examples/mq9.cxx b/examples/c++/mq9.cxx similarity index 100% rename from examples/mq9.cxx rename to examples/c++/mq9.cxx diff --git a/examples/my9221.cxx b/examples/c++/my9221.cxx similarity index 100% rename from examples/my9221.cxx rename to examples/c++/my9221.cxx diff --git a/examples/nrf8001_broadcast.cxx b/examples/c++/nrf8001_broadcast.cxx similarity index 100% rename from examples/nrf8001_broadcast.cxx rename to examples/c++/nrf8001_broadcast.cxx diff --git a/examples/nrf8001_broadcast.h b/examples/c++/nrf8001_broadcast.h similarity index 100% rename from examples/nrf8001_broadcast.h rename to examples/c++/nrf8001_broadcast.h diff --git a/examples/nrf8001_helloworld.cxx b/examples/c++/nrf8001_helloworld.cxx similarity index 100% rename from examples/nrf8001_helloworld.cxx rename to examples/c++/nrf8001_helloworld.cxx diff --git a/examples/nrf8001_helloworld.h b/examples/c++/nrf8001_helloworld.h similarity index 100% rename from examples/nrf8001_helloworld.h rename to examples/c++/nrf8001_helloworld.h diff --git a/examples/nrf_receiver.cxx b/examples/c++/nrf_receiver.cxx similarity index 100% rename from examples/nrf_receiver.cxx rename to examples/c++/nrf_receiver.cxx diff --git a/examples/nrf_transmitter.cxx b/examples/c++/nrf_transmitter.cxx similarity index 100% rename from examples/nrf_transmitter.cxx rename to examples/c++/nrf_transmitter.cxx diff --git a/examples/nunchuck.cxx b/examples/c++/nunchuck.cxx similarity index 100% rename from examples/nunchuck.cxx rename to examples/c++/nunchuck.cxx diff --git a/examples/oled-1308.cxx b/examples/c++/oled-1308.cxx similarity index 100% rename from examples/oled-1308.cxx rename to examples/c++/oled-1308.cxx diff --git a/examples/oled-1327.cxx b/examples/c++/oled-1327.cxx similarity index 100% rename from examples/oled-1327.cxx rename to examples/c++/oled-1327.cxx diff --git a/examples/otp538u.cxx b/examples/c++/otp538u.cxx similarity index 100% rename from examples/otp538u.cxx rename to examples/c++/otp538u.cxx diff --git a/examples/ppd42ns.cxx b/examples/c++/ppd42ns.cxx similarity index 100% rename from examples/ppd42ns.cxx rename to examples/c++/ppd42ns.cxx diff --git a/examples/pulsensor.cxx b/examples/c++/pulsensor.cxx similarity index 100% rename from examples/pulsensor.cxx rename to examples/c++/pulsensor.cxx diff --git a/examples/rfr359f.cxx b/examples/c++/rfr359f.cxx similarity index 100% rename from examples/rfr359f.cxx rename to examples/c++/rfr359f.cxx diff --git a/examples/rgb-lcd.cxx b/examples/c++/rgb-lcd.cxx similarity index 100% rename from examples/rgb-lcd.cxx rename to examples/c++/rgb-lcd.cxx diff --git a/examples/rotaryencoder.cxx b/examples/c++/rotaryencoder.cxx similarity index 100% rename from examples/rotaryencoder.cxx rename to examples/c++/rotaryencoder.cxx diff --git a/examples/rpr220-intr.cxx b/examples/c++/rpr220-intr.cxx similarity index 100% rename from examples/rpr220-intr.cxx rename to examples/c++/rpr220-intr.cxx diff --git a/examples/rpr220.cxx b/examples/c++/rpr220.cxx similarity index 100% rename from examples/rpr220.cxx rename to examples/c++/rpr220.cxx diff --git a/examples/st7735.cxx b/examples/c++/st7735.cxx similarity index 100% rename from examples/st7735.cxx rename to examples/c++/st7735.cxx diff --git a/examples/stepmotor.cxx b/examples/c++/stepmotor.cxx similarity index 100% rename from examples/stepmotor.cxx rename to examples/c++/stepmotor.cxx diff --git a/examples/ta12200.cxx b/examples/c++/ta12200.cxx similarity index 100% rename from examples/ta12200.cxx rename to examples/c++/ta12200.cxx diff --git a/examples/tcs3414cs.cxx b/examples/c++/tcs3414cs.cxx similarity index 100% rename from examples/tcs3414cs.cxx rename to examples/c++/tcs3414cs.cxx diff --git a/examples/th02.cxx b/examples/c++/th02.cxx similarity index 100% rename from examples/th02.cxx rename to examples/c++/th02.cxx diff --git a/examples/tp401.cxx b/examples/c++/tp401.cxx similarity index 100% rename from examples/tp401.cxx rename to examples/c++/tp401.cxx diff --git a/examples/tsl2561.cxx b/examples/c++/tsl2561.cxx similarity index 100% rename from examples/tsl2561.cxx rename to examples/c++/tsl2561.cxx diff --git a/examples/ttp223.cxx b/examples/c++/ttp223.cxx similarity index 100% rename from examples/ttp223.cxx rename to examples/c++/ttp223.cxx diff --git a/examples/ublox6.cxx b/examples/c++/ublox6.cxx similarity index 100% rename from examples/ublox6.cxx rename to examples/c++/ublox6.cxx diff --git a/examples/wt5001.cxx b/examples/c++/wt5001.cxx similarity index 100% rename from examples/wt5001.cxx rename to examples/c++/wt5001.cxx diff --git a/examples/yg1006.cxx b/examples/c++/yg1006.cxx similarity index 100% rename from examples/yg1006.cxx rename to examples/c++/yg1006.cxx