forked from LedgerHQ/app-tezos-legacy
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Implement HWM on/off behaviour #99
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
- rename nvram_data to baking_hwm_data - Move out updating hwm_data out of UPDATE_NVRAM macro - update single variable at a time in nvram - enable/disable nvram update in macro based on hwm setting.
ajinkyaraj-23
force-pushed
the
90-add-hwm-onoff-in-settings
branch
2 times, most recently
from
April 9, 2024 13:00
ca689d5
to
5998000
Compare
spalmer25
reviewed
Apr 9, 2024
- Remove HWM struct from apdu. - Create a global define g_hwm for RAM hwm_data - Move NVRAM hwm_data to RAM during app init
ajinkyaraj-23
force-pushed
the
90-add-hwm-onoff-in-settings
branch
from
April 9, 2024 14:48
5998000
to
7b7740f
Compare
ajinkyaraj-23
force-pushed
the
90-add-hwm-onoff-in-settings
branch
3 times, most recently
from
April 9, 2024 16:05
9e5169f
to
cb4b232
Compare
ajinkyaraj-23
force-pushed
the
90-add-hwm-onoff-in-settings
branch
from
April 9, 2024 16:10
cb4b232
to
64a532f
Compare
spalmer25
reviewed
Apr 10, 2024
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.
Can you add a manual test to show that disabling the HWM
parameter stops the HWM
recording and enabling it allows the HWM
to be recorded?
ajinkyaraj-23
force-pushed
the
90-add-hwm-onoff-in-settings
branch
2 times, most recently
from
April 10, 2024 10:58
ffe5579
to
04c542e
Compare
spalmer25
reviewed
Apr 10, 2024
ajinkyaraj-23
force-pushed
the
90-add-hwm-onoff-in-settings
branch
from
April 10, 2024 13:44
04c542e
to
a0d6524
Compare
spalmer25
reviewed
Apr 10, 2024
ajinkyaraj-23
force-pushed
the
90-add-hwm-onoff-in-settings
branch
from
April 11, 2024 06:58
a0d6524
to
764c94d
Compare
spalmer25
reviewed
Apr 11, 2024
ajinkyaraj-23
force-pushed
the
90-add-hwm-onoff-in-settings
branch
from
April 11, 2024 09:58
764c94d
to
846f39c
Compare
spalmer25
approved these changes
Apr 11, 2024
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
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.
In order to make HWM setting in NVRAM optional and still keep the HWM tracking , following changes are implemented in this MR.