-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make: Add passing WATCHDOG as define #163
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
anglov
force-pushed
the
anglov/watchdog
branch
from
September 19, 2023 14:18
9bd4b44
to
33d474f
Compare
anglov
changed the title
make: Add passing TOOLCHAIN as define
make: Add passing WATCHDOG as define
Sep 19, 2023
anglov
force-pushed
the
anglov/watchdog
branch
from
September 19, 2023 14:31
33d474f
to
ef33a35
Compare
13 tasks
nalajcie
reviewed
Sep 20, 2023
nalajcie
reviewed
Sep 20, 2023
Current behavior is: WATCHDOG is enabled by default When DEBUG is enabled, WATCHDOG is disabled by default Both behavior can be overwritten by passing WATCHDOG=1 env/variable JIRA: DEND-32 DTR-408
anglov
force-pushed
the
anglov/watchdog
branch
from
September 21, 2023 15:06
ef33a35
to
d4497c5
Compare
This was referenced Sep 21, 2023
agkaminski
approved these changes
Sep 22, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
nalajcie
approved these changes
Sep 26, 2023
gerard5
approved these changes
Sep 26, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
JIRA: DEND-32 DTR-408
Description
This change enable possibility to pass WATCHDOG to kernel/plo build
Motivation and Context
While we want to deprecate BOARD_CONFIG env, we need to find a way to pass watchdog setting to kernel/plo. Decided to do so via env which is defaultly enabled. Need to be disabled directly when not wanted.
Also it enables WATCHDOG on armv7a7-imx6ull
Types of changes
Application to handle watchdog needed if watchdog wasn't enabled before. Alternatively - disable watchdog explicitly
How Has This Been Tested?
Checklist:
Special treatment
_projects: disable WATCHDOG in projects phoenix-rtos-project#847
stm32l4x6: Enable watchdog independently of NDEBUG plo#293
Watchdog changes phoenix-rtos-kernel#453
make: Add passing WATCHDOG as define #163