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
fc5c4325
Commit
fc5c4325
authored
7 years ago
by
Sebastian Meiling
Browse files
Options
Downloads
Patches
Plain Diff
cpu, cc2538: fix pm, don't go into cortexm_sleep(0)
fixes #7746
parent
1fec7e69
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/cc2538/include/periph_cpu.h
+7
-0
7 additions, 0 deletions
cpu/cc2538/include/periph_cpu.h
cpu/cc2538/periph/pm.c
+32
-0
32 additions, 0 deletions
cpu/cc2538/periph/pm.c
with
39 additions
and
0 deletions
cpu/cc2538/include/periph_cpu.h
+
7
−
0
View file @
fc5c4325
...
@@ -47,6 +47,13 @@ extern "C" {
...
@@ -47,6 +47,13 @@ extern "C" {
typedef
uint32_t
gpio_t
;
typedef
uint32_t
gpio_t
;
/** @} */
/** @} */
/**
* @name Power management configuration
* @{
*/
#define PROVIDES_PM_SET_LOWEST_CORTEXM
/** @} */
/**
/**
* @name Internal GPIO shift and masking
* @name Internal GPIO shift and masking
* @{
* @{
...
...
This diff is collapsed.
Click to expand it.
cpu/cc2538/periph/pm.c
0 → 100644
+
32
−
0
View file @
fc5c4325
/*
* Copyright (C) 2017 Kaspar Schleiser <kaspar@schleiser.de
* 2017 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_cortexm_common
* @ingroup drivers_periph_pm
* @{
*
* @file
* @brief common periph/pm functions
*
* @author Kaspar Schleiser <kaspar@schleiser.de>
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*
* @}
*/
#include
"cpu.h"
#include
"periph/pm.h"
#ifdef PROVIDES_PM_SET_LOWEST_CORTEXM
void
pm_set_lowest
(
void
)
{
/* don't do anything here */
}
#endif
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