Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
q3k
firmware
Commits
4427d8ac
Verified
Commit
4427d8ac
authored
5 years ago
by
rahix
Browse files
Options
Downloads
Patches
Plain Diff
fix(epicardium): Fix sphinx-doc errors
Signed-off-by:
Rahix
<
rahix@rahix.de
>
parent
c2876eb8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Documentation/conf.py
+1
-0
1 addition, 0 deletions
Documentation/conf.py
epicardium/epicardium.h
+11
-1
11 additions, 1 deletion
epicardium/epicardium.h
epicardium/modules/stream.h
+7
-1
7 additions, 1 deletion
epicardium/modules/stream.h
with
19 additions
and
2 deletions
Documentation/conf.py
+
1
−
0
View file @
4427d8ac
...
...
@@ -103,6 +103,7 @@ try:
extensions
.
append
(
"
hawkmoth
"
)
cautodoc_root
=
os
.
path
.
abspath
(
"
..
"
)
cautodoc_clang
=
"
-D__SPHINX_DOC
"
has_hawkmoth
=
True
except
ImportError
as
e
:
if
e
.
name
==
"
clang
"
:
...
...
This diff is collapsed.
Click to expand it.
epicardium/epicardium.h
+
11
−
1
View file @
4427d8ac
#ifndef _EPICARDIUM_H
#define _EPICARDIUM_H
#include
<stdint.h>
#include
<stddef.h>
#include
<errno.h>
#ifndef __SPHINX_DOC
/* stddef.h is not recognized by hawkmoth for some odd reason */
#include
<stddef.h>
#else
typedef
unsigned
int
size_t
;
#endif
/* __SPHINX_DOC */
/* clang-format off */
#define API_INT_CTRL_C 1
#define API_INT_BHI160 2
#define API_INT_MAX API_INT_BHI160
/*
* These definitions are required for the code-generator. Please don't touch!
*/
#ifndef API
#define API(id, def) def
#endif
...
...
This diff is collapsed.
Click to expand it.
epicardium/modules/stream.h
+
7
−
1
View file @
4427d8ac
#ifndef STREAM_H
#define STREAM_H
#include
<stddef.h>
#include
<stdint.h>
#ifndef __SPHINX_DOC
/* stddef.h is not recognized by hawkmoth for some odd reason */
#include
<stddef.h>
#else
typedef
unsigned
int
size_t
;
#endif
/* __SPHINX_DOC */
#include
"FreeRTOS.h"
#include
"queue.h"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment