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

sys/usb: Add configurations to Doxygen configuration group #12873

Merged
merged 4 commits into from
Dec 5, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
usbus: Add configs to compile time configuration Doxygen group
  • Loading branch information
leandrolanzieri committed Dec 4, 2019
commit f48bd7f9f3aef8fdc23f2e9b5b8fcc49d322864f
16 changes: 11 additions & 5 deletions sys/include/usb/usbus.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
extern "C" {
#endif

/**
* @defgroup usb_usbus_conf USBUS compile time configurations
* @ingroup usb_conf
* @{
*/
/**
* @brief USBUS thread stack size
*/
Expand All @@ -54,11 +59,6 @@ extern "C" {
#define USBUS_PRIO (THREAD_PRIORITY_MAIN - 6)
#endif

/**
* @brief USBUS thread name
*/
#define USBUS_TNAME "usbus"

/**
* @brief USBUS auto attach setting
*
Expand All @@ -80,6 +80,12 @@ extern "C" {
#ifndef USBUS_EP0_SIZE
#define USBUS_EP0_SIZE 64
#endif
/** @} */

/**
* @brief USBUS thread name
*/
#define USBUS_TNAME "usbus"

/**
* @name USBUS thread flags
Expand Down