Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
8076f393
Commit
8076f393
authored
6 years ago
by
Gunar Schorcht
Committed by
Schorcht
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
cpu/esp8266: doc fixes for esp_task thread
parent
09da830a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cpu/esp8266/doc.txt
+6
-6
6 additions, 6 deletions
cpu/esp8266/doc.txt
cpu/esp8266/sdk/ets_task.c
+6
-6
6 additions, 6 deletions
cpu/esp8266/sdk/ets_task.c
with
12 additions
and
12 deletions
cpu/esp8266/doc.txt
+
6
−
6
View file @
8076f393
...
@@ -715,10 +715,10 @@ necessary, for example, if you want to use the built-in WLAN module. The
...
@@ -715,10 +715,10 @@ necessary, for example, if you want to use the built-in WLAN module. The
SDK is also used automatically when software timers are used by activating
SDK is also used automatically when software timers are used by activating
the `esp_sw_timer` module.
the `esp_sw_timer` module.
Internally, the SDK uses its own priority-based multitasking
, the **ETS**
,
Internally, the SDK uses its own priority-based multitasking
sytsem
,
to handle hardware components such as the WiFi interface, or to
implement
the **ETS**,
to handle hardware components such as the WiFi interface, or to
event-driven functions such as software timers. ETS periodically
executes
implement
event-driven functions such as software timers. ETS periodically
all ETS tasks with pending events in an infinite loop with the ROM
executes
all ETS tasks with pending events in an infinite loop with the ROM
function `ets_run`.
function `ets_run`.
ETS doesn't process interrupts directly in interrupt service routines.
ETS doesn't process interrupts directly in interrupt service routines.
...
@@ -726,8 +726,8 @@ Instead, they use the `ets_post` ROM function to send an event to one of the
...
@@ -726,8 +726,8 @@ Instead, they use the `ets_post` ROM function to send an event to one of the
ETS tasks, which then processes the interrupts asynchronously. Context
ETS tasks, which then processes the interrupts asynchronously. Context
switches are not possible in interrupt service routines.
switches are not possible in interrupt service routines.
To use SDK functions and keep the system alive, ETS tasks with pending
have to
To use SDK functions and keep the system alive, ETS tasks with pending
events
be handled. For that purpose
have to
be handled. For that purpose
- the `ets_task_func` RIOT thread with highest possible priority is used
- the `ets_task_func` RIOT thread with highest possible priority is used
- the ROM functions `ets_run` and `ets_post` are overwritten.
- the ROM functions `ets_run` and `ets_post` are overwritten.
...
...
This diff is collapsed.
Click to expand it.
cpu/esp8266/sdk/ets_task.c
+
6
−
6
View file @
8076f393
...
@@ -9,10 +9,10 @@
...
@@ -9,10 +9,10 @@
*/
*/
/*
/*
* Internally, the SDK uses its own priority-based multitasking
, the *ETS*
,
* Internally, the SDK uses its own priority-based multitasking
system
,
* to handle hardware components such as the WiFi interface, or to
implement
*
the *ETS*,
to handle hardware components such as the WiFi interface, or to
* event-driven functions such as software timers. ETS periodically
executes
*
implement
event-driven functions such as software timers. ETS periodically
* all ETS tasks with pending events in an infinite loop with the ROM
*
executes
all ETS tasks with pending events in an infinite loop with the ROM
* function *ets_run*.
* function *ets_run*.
*
*
* ETS doesn't process interrupts directly in interrupt service routines.
* ETS doesn't process interrupts directly in interrupt service routines.
...
@@ -20,8 +20,8 @@
...
@@ -20,8 +20,8 @@
* ETS tasks, which then processes the interrupts asynchronously. Context
* ETS tasks, which then processes the interrupts asynchronously. Context
* switches are not possible in interrupt service routines.
* switches are not possible in interrupt service routines.
*
*
* To use SDK functions and keep the system alive, ETS tasks with pending
have
* To use SDK functions and keep the system alive, ETS tasks with pending
* to be handled. For that purpose
*
events have
to be handled. For that purpose
*
*
* - the *ets_task_func* RIOT thread with highest possible priority is used
* - the *ets_task_func* RIOT thread with highest possible priority is used
* - the ROM functions *ets_run* and *ets_post* are overwritten.
* - the ROM functions *ets_run* and *ets_post* are overwritten.
...
...
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