Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
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
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Alberto Ruiz Garcia
Firmware
Commits
e358486e
Commit
e358486e
authored
6 years ago
by
David Sidrane
Browse files
Options
Downloads
Patches
Plain Diff
aerofc-v1:Scope CRASHDUMP_RESET_ONLY to BOARD_CRASHDUMP_RESET_ONLY
parent
91d8c31f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
boards/intel/aerofc-v1/src/board_config.h
+1
-1
1 addition, 1 deletion
boards/intel/aerofc-v1/src/board_config.h
src/drivers/boards/common/board_crashdump.c
+2
-2
2 additions, 2 deletions
src/drivers/boards/common/board_crashdump.c
with
3 additions
and
3 deletions
boards/intel/aerofc-v1/src/board_config.h
+
1
−
1
View file @
e358486e
...
...
@@ -139,7 +139,7 @@
#define MEMORY_CONSTRAINED_SYSTEM
#define CRASHDUMP_RESET_ONLY
#define
BOARD_
CRASHDUMP_RESET_ONLY
__BEGIN_DECLS
...
...
This diff is collapsed.
Click to expand it.
src/drivers/boards/common/board_crashdump.c
+
2
−
2
View file @
e358486e
...
...
@@ -194,7 +194,7 @@ static uint32_t *__attribute__((noinline)) __sdata_addr(void)
__EXPORT
void
board_crashdump
(
uintptr_t
currentsp
,
FAR
void
*
tcb
,
FAR
const
uint8_t
*
filename
,
int
lineno
)
{
#ifndef CRASHDUMP_RESET_ONLY
#ifndef
BOARD_
CRASHDUMP_RESET_ONLY
/* We need a chunk of ram to save the complete context in.
* Since we are going to reboot we will use &_sdata
* which is the lowest memory and the amount we will save
...
...
@@ -334,7 +334,7 @@ __EXPORT void board_crashdump(uintptr_t currentsp, FAR void *tcb, FAR const uint
up_lowputc
(
'!'
);
}
#endif
/* CRASHDUMP_RESET_ONLY */
#endif
/*
BOARD_
CRASHDUMP_RESET_ONLY */
#if defined(CONFIG_BOARD_RESET_ON_CRASH)
board_reset
(
0
);
...
...
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