Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Doxygen Documentation Generator #102

Merged
merged 21 commits into from
Oct 15, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
7475c56
[scons] Only generate SConscripts for directories
salkinium Oct 12, 2018
8d5dc79
[platform] Remove redundant partname substitution
salkinium Oct 14, 2018
7aa9507
[avr] Move UartSpi master outbasepath
salkinium Oct 14, 2018
acad6c1
[examples] Build modm:docs module for all
salkinium Oct 12, 2018
961678f
[docs] Optimize Readme for Doxygen parser
salkinium Oct 14, 2018
a6c4272
[docs] Generate doxygen groups from lbuild
salkinium Oct 12, 2018
2f1726f
[docs] Refactor modm/architecture doxygen groups
salkinium Oct 12, 2018
2f86ffc
[docs] Refactor modm/board doxygen groups
salkinium Oct 12, 2018
f309b4a
[docs] Refactor modm/communication doxygen groups
salkinium Oct 12, 2018
d399a9d
[docs] Refactor modm/container doxygen groups
salkinium Oct 12, 2018
f5f24cb
[docs] Refactor modm/debug doxygen groups
salkinium Oct 12, 2018
26d27b9
[docs] Refactor modm/driver doxygen groups
salkinium Oct 13, 2018
cc069d0
[docs] Refactor modm/io doxygen groups
salkinium Oct 13, 2018
859a287
[docs] Refactor modm/math doxygen groups
salkinium Oct 13, 2018
827a801
[docs] Refactor modm/processing doxygen groups
salkinium Oct 13, 2018
0dbc260
[docs] Refactor modm/ui doxygen groups
salkinium Oct 13, 2018
098d900
[docs] Refactor modm/utils doxygen groups
salkinium Oct 13, 2018
dd63240
[docs] Refactor ext/ doxygen groups
salkinium Oct 13, 2018
9cdde3d
[docs] Refactor modm/unittest doxygen groups
salkinium Oct 13, 2018
5ae741f
[docs] Refactor test/ doxygen groups
salkinium Oct 13, 2018
47b4126
[docs] Refactor modm/platform doxygen groups
salkinium Oct 14, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
61 changes: 32 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,17 @@ process that you can fine-tune to your needs.
- [This project has a homepage](http://modm.io).<!--/webignore-->
- Check out our [install instructions][install] and our [getting started guide][guide].
- Feast your eyes on [lots of working examples][examples].
<!-- - [API reference is available here][reference]. -->
<!-- - [Check out our latest quarterly release][releases] with a [beautiful changelog][changelog]. -->
- Our CI checks every contribution for regressions: <a href="https://circleci.com/gh/modm-io/workflows/modm/tree/develop" style="border-bottom:none">![Build Status](https://circleci.com/gh/modm-io/modm/tree/develop.svg?style=shield)</a>
- We care [about testing modm][testing].

<!-- - [API reference is available here][reference]. -->
<!-- - [Check out our latest quarterly release][releases] with a [beautiful changelog][changelog]. -->

This project also has a [technical blog][blog] to document larger design concepts.

- You found a bug? [Open up an issue, we don't bite][issues].
- You want to contribute? [Read the contribution guidelines][contributing] and [open a pull request][prs].
- You want to contribute? [Read the contribution guidelines][contrib] and [open a pull request][prs].

<!-- - You want to port modm? [Read our porting guide][porting]. -->

modm is optimized for the harsh requirements of the [Eurobot competition][eurobot],
Expand Down Expand Up @@ -66,29 +68,30 @@ git clone --recurse-submodules https://github.com/modm-io/modm.git

## Targets

modm can generate code for <!--avrcount-->76<!--/avrcount--> AVR and <!--stmcount-->865<!--/stmcount--> STM32 devices, however, there are different levels of support and testing.
modm can generate code for <!--avrcount-->76<!--/avrcount--> AVR and <!--stmcount-->865<!--/stmcount-->
STM32 devices, however, there are different levels of support and testing.

<center>

| Device Family | Support | Device Family | Support |
|:--------------|:------------------------------------|:--------------|:------------------------------------|
| AVR | &#9733;&#9733;&#9733; | STM32F3 | &#9733;&#9733;&#9733;&#9733;&#9733; |
| STM32F0 | &#9733;&#9733;&#9733;&#9733; | STM32F4 | &#9733;&#9733;&#9733;&#9733;&#9733; |
| STM32F1 | &#9733;&#9733;&#9733;&#9733; | STM32F7 | &#9733;&#9733;&#9733;&#9733; |
| STM32F2 | &#9733;&#9733;&#9733; | STM32L4 | &#9733;&#9733;&#9733;&#9733; |
| Device Family | Support | Device Family | Support |
|:--------------|:--------|:--------------|:--------|
| AVR | ★★★ | STM32F3 | ★★★★★ |
| STM32F0 | ★★★★ | STM32F4 | ★★★★★ |
| STM32F1 | ★★★★ | STM32F7 | ★★★★ |
| STM32F2 | ★★★ | STM32L4 | ★★★★ |

</center>

All of these targets are compiling and booting correctly
(&#9733;)
()
and have GPIO and UART working
(&#9733;&#9733;).
(★★).
Most targets have support for basic peripherals, like I2C, SPI and ADC
(&#9733;&#9733;&#9733;)
(★★★)
as well as complicated peripherals, like Timers, CAN and external memory
(&#9733;&#9733;&#9733;&#9733;).
(★★★★).
We also use a few targets in everyday development, which are very well tested
(&#9733;&#9733;&#9733;&#9733;&#9733;).
(★★★★★).

We are only a small team of developers and are limited in the amount of targets
we can support and test in hardware. We have prepared, but currently not finished
Expand Down Expand Up @@ -144,9 +147,9 @@ documentation.

### Drivers

We also have a number of completely target-independent [drivers for external
We also have a number of completely target-independent [drivers for external
devices][drivers] connected via I<sup>2</sup>C, SPI, UART, BitBang, etc.
Most of these also give you access to the entire device so you
Most of these also give you access to the entire device so you
can easily configure them for you specific needs.

<center>
Expand Down Expand Up @@ -218,22 +221,22 @@ Please see [our examples for a complete list][examples] of tested targets and dr

## How can I contribute?

The easiest way for you and the best way for us to see if something is unclear
or missing, is if you use the library and give us some feedback by
The easiest way for you and the best way for us to see if something is unclear
or missing, is if you use the library and give us some feedback by
[filing a bug report][issues] or if you have a fix already, [opening a pull request][prs].

See [CONTRIBUTING.md][contributing] for our contribution guidelines.
See [CONTRIBUTING.md][contrib] for our contribution guidelines.

<!--authors-->
The modm project is maintained by
Niklas Hauser ([@salkinium](https://github.com/salkinium)) with significant contributions from
Sascha Schade ([@strongly-typed](https://github.com/strongly-typed)),
Fabian Greif ([@dergraaf](https://github.com/dergraaf)),
Kevin Läufer ([@ekiwi](https://github.com/ekiwi)),
Martin Rosekeit ([@thundernail](https://github.com/thundernail)),
Daniel Krebs ([@daniel-k](https://github.com/daniel-k)),
Georgi Grinshpun ([@georgi-g](https://github.com/georgi-g)) and
[<!--authorcount-->20<!--/authorcount--> more contributors](https://github.com/modm-io/modm/blob/develop/AUTHORS).
Niklas Hauser ([\@salkinium](https://github.com/salkinium)) with significant contributions from
Sascha Schade ([\@strongly-typed](https://github.com/strongly-typed)),
Fabian Greif ([\@dergraaf](https://github.com/dergraaf)),
Kevin Läufer ([\@ekiwi](https://github.com/ekiwi)),
Martin Rosekeit ([\@thundernail](https://github.com/thundernail)),
Daniel Krebs ([\@daniel-k](https://github.com/daniel-k)),
Georgi Grinshpun ([\@georgi-g](https://github.com/georgi-g)) and
[<!--authorcount-->20<!--/authorcount--> more contributors](https://github.com/modm-io/modm/blob/develop/AUTHORS).
<!--/authors-->

## Folder structure
Expand Down Expand Up @@ -275,7 +278,7 @@ Georgi Grinshpun ([@georgi-g](https://github.com/georgi-g)) and
[blog]: http://blog.salkinium.com
[changelog]: https://github.com/modm-io/modm/tree/develop/docs/CHANGELOG.md
[circle_ci]: https://circleci.com/gh/modm-io/workflows/modm/tree/develop
[contributing]: https://github.com/modm-io/modm/tree/develop/CONTRIBUTING.md
[contrib]: https://github.com/modm-io/modm/tree/develop/CONTRIBUTING.md
[devboards]: https://github.com/modm-io/modm/tree/develop/src/modm/board
[drivers]: https://github.com/modm-io/modm/tree/develop/src/modm/driver
[eurobot]: http://www.eurobot.org/
Expand Down
3 changes: 3 additions & 0 deletions examples/lbuild.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@
<repositories>
<repository><path>../repo.lb</path></repository>
</repositories>
<modules>
<module>modm:docs</module>
</modules>
</library>
9 changes: 9 additions & 0 deletions ext/fatfs/module.lb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@

def init(module):
module.name = "fatfs"
module.description = """\
# FatFS

Generic FAT Filesystem Module.
See http://elm-chan.org/fsw/ff/00index_e.html.

!!! warning
This version of FatFS is outdated and rarely used in modm.
"""

def prepare(module, options):
return True
Expand Down
8 changes: 8 additions & 0 deletions ext/freertos/module.lb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@

def init(module):
module.name = "freertos"
module.description = """\
# FreeRTOS

Imported v7.0.1 of FreeRTOS with custom modifications.

!!! warning
Please be aware this version is quite outdated and modified for modm.
"""

def prepare(module, options):
device = options[":target"]
Expand Down
6 changes: 6 additions & 0 deletions ext/gcc/module.lb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@

def init(module):
module.name = "stdc++"
module.description = """\
# C++ Standard Library

A partial port of GCC 8 libstdc++ for AVR.
See https://github.com/modm-io/avr-libstdcpp.
"""


def prepare(module, options):
Expand Down
6 changes: 6 additions & 0 deletions ext/ros/module.lb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@

def init(module):
module.name = "ros"
module.description = """\
# ROS Library

Repository of generated messages headers for rosserial.
See https://github.com/modm-io/ros-lib.
"""

def prepare(module, options):
return True
Expand Down
4 changes: 3 additions & 1 deletion ext/tlsf/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# [tlsf](https://github.com/mattconte/tlsf)
# TLSF Allocator

Two-Level Segregated Fit memory allocator implementation.
Written by Matthew Conte ([email protected]).
Released under the BSD license.
https://github.com/mattconte/tlsf

Features
--------
Expand Down
1 change: 1 addition & 0 deletions ext/tlsf/module.lb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import math

def init(module):
module.name = "tlsf"
module.description = FileReader("README.md")

def prepare(module, options):
device = options[":target"]
Expand Down
6 changes: 0 additions & 6 deletions src/modm/architecture/architecture.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@
*/
// ----------------------------------------------------------------------------

/**
* \defgroup architecture Architecture
*
* Supported platforms
*/

#ifndef MODM_ARCHITECTURE_HPP
#define MODM_ARCHITECTURE_HPP

Expand Down
65 changes: 26 additions & 39 deletions src/modm/architecture/detect.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,50 +16,41 @@

#ifdef __DOXYGEN__

/**
* \brief Compiler description
* \ingroup platform
*/

/// Compiler description
/// @ingroup modm_architecture
#define MODM_COMPILER_STRING

/**
* \brief Possible compilers
* \ingroup platform
*/
//@{
/// Possible compilers
/// @ingroup modm_architecture
/// @{
#define MODM_COMPILER_GCC
#define MODM_COMPILER_MSVC
//@}
/// @}

/**
* \brief Operating system description
* \ingroup platform
*/
/// Operating system description
/// @ingroup modm_architecture
#define MODM_OS_STRING

/**
* \brief Possible operating systems
* \ingroup platform
*/
//@{
/// Possible operating systems
/// @ingroup modm_architecture
/// @{
#define MODM_OS_UNIX
#define MODM_OS_LINUX
#define MODM_OS_OSX
#define MODM_OS_WIN32
#define MODM_OS_WIN64
//@}
#define MODM_OS_HOSTED
#define MODM_OS_HOSTED_64
/// @}

/**
* \brief CPU description
* \ingroup platform
*/
/// CPU description
/// @ingroup modm_architecture
#define MODM_CPU_STRING

//@{
/**
* \brief Possible CPU definitions
* \ingroup platform
*/
/// Possible CPU definitions
/// @ingroup modm_architecture
/// @{
#define MODM_CPU_AVR
#define MODM_CPU_ATXMEGA
#define MODM_CPU_ATMEGA
Expand All @@ -68,17 +59,13 @@
#define MODM_CPU_ARM
#define MODM_CPU_ARM7TDMI
#define MODM_CPU_CORTEX_M0
#define MODM_CPU_CORTEX_M3
#define MODM_CPU_CORTEX_M4
#define MODM_CPU_CORTEX_M4
/// @}

#define MODM_OS_HOSTED
#define MODM_OS_HOSTED_64

//@{
/**
* \brief Memory descriptions
* \ingroup platform
*/
/// Memory descriptions
/// @ingroup modm_architecture
/// @{
#define MODM_ALIGNMENT

#define MODM_ORDER_BIG_ENDIAN
Expand All @@ -91,7 +78,7 @@
#define MODM_IS_LITTLE_ENDIAN

#define MODM_SIZEOF_POINTER
//@}
/// @}

#else //!__DOXYGEN__

Expand Down
11 changes: 0 additions & 11 deletions src/modm/architecture/driver/atomic.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,6 @@
*/
// ----------------------------------------------------------------------------

namespace modm
{
/**
* \ingroup atomic
* \brief Atomic operations and container
*/
namespace atomic
{
}
}

#include "atomic/flag.hpp"
#include "atomic/container.hpp"
#include "atomic/queue.hpp"
2 changes: 1 addition & 1 deletion src/modm/architecture/driver/atomic/container.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ namespace modm
* as it is the case here!
*
* \author Fabian Greif
* \ingroup atomic
* \ingroup modm_architecture_atomic
*/
template<typename T>
class Container
Expand Down
2 changes: 1 addition & 1 deletion src/modm/architecture/driver/atomic/flag.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace modm
* }
* \endcode
*
* \ingroup atomic
* \ingroup modm_architecture_atomic
* \author Fabian Greif
*/
class Flag
Expand Down
2 changes: 1 addition & 1 deletion src/modm/architecture/driver/atomic/queue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace modm
namespace atomic
{
/**
* \ingroup atomic
* \ingroup modm_architecture_atomic
* \brief Interrupt save queue
*
* A maximum size of 254 is allowed for 8-bit mikrocontrollers.
Expand Down
Loading