Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
micropython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
card10
micropython
Commits
2842945e
Commit
2842945e
authored
10 years ago
by
Damien George
Browse files
Options
Downloads
Patches
Plain Diff
stmhal: Fix bugs in documentation so it compiles.
parent
8bb44f69
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
stmhal/irq.c
+2
-0
2 additions, 0 deletions
stmhal/irq.c
stmhal/modselect.c
+1
-1
1 addition, 1 deletion
stmhal/modselect.c
stmhal/modwiznet5k.c
+2
-0
2 additions, 0 deletions
stmhal/modwiznet5k.c
tools/gendoc.py
+1
-1
1 addition, 1 deletion
tools/gendoc.py
with
6 additions
and
2 deletions
stmhal/irq.c
+
2
−
0
View file @
2842945e
...
...
@@ -33,6 +33,8 @@
#include MICROPY_HAL_H
/// \moduleref pyb
/// \function wfi()
/// Wait for an interrupt.
/// This executies a `wfi` instruction which reduces power consumption
...
...
This diff is collapsed.
Click to expand it.
stmhal/modselect.c
+
1
−
1
View file @
2842945e
...
...
@@ -174,7 +174,7 @@ STATIC mp_obj_t select_select(uint n_args, const mp_obj_t *args) {
}
MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN
(
mp_select_select_obj
,
3
,
4
,
select_select
);
/// \class Poll
/// \class Poll
- poll class
typedef
struct
_mp_obj_poll_t
{
mp_obj_base_t
base
;
...
...
This diff is collapsed.
Click to expand it.
stmhal/modwiznet5k.c
+
2
−
0
View file @
2842945e
...
...
@@ -168,6 +168,8 @@ STATIC mp_obj_t format_net_addr(uint8_t *ip, mp_uint_t port) {
/******************************************************************************/
// Micro Python bindings
/// \class WIZnet5k - driver for WIZnet5x00 Ethernet modules
STATIC
void
wiznet5k_print
(
void
(
*
print
)(
void
*
env
,
const
char
*
fmt
,
...),
void
*
env
,
mp_obj_t
self_in
,
mp_print_kind_t
kind
)
{
print
(
env
,
"WIZnet5k()"
);
}
...
...
This diff is collapsed.
Click to expand it.
tools/gendoc.py
+
1
−
1
View file @
2842945e
...
...
@@ -347,7 +347,7 @@ class Doc:
regex_descr
=
r
'
(?P<descr>.*)
'
doc_regexs
=
(
(
Doc
.
process_module
,
re
.
compile
(
r
'
\\module (?P<id>[a-z]
+
) -
'
+
regex_descr
+
r
'
$
'
)),
(
Doc
.
process_module
,
re
.
compile
(
r
'
\\module (?P<id>[a-z]
[a-z0-9]*
) -
'
+
regex_descr
+
r
'
$
'
)),
(
Doc
.
process_moduleref
,
re
.
compile
(
r
'
\\moduleref (?P<id>[a-z]+)$
'
)),
(
Doc
.
process_function
,
re
.
compile
(
r
'
\\function (?P<id>[a-z0-9_]+)(?P<args>\(.*\))$
'
)),
(
Doc
.
process_classmethod
,
re
.
compile
(
r
'
\\classmethod (?P<id>\\?[a-z0-9_]+)(?P<args>\(.*\))$
'
)),
...
...
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