Fixes to make autocalibrate work on linux 3.14.52 armv7l#5
Open
tom-van wants to merge 3 commits intoTI-OpenLink:masterfrom
Open
Fixes to make autocalibrate work on linux 3.14.52 armv7l#5tom-van wants to merge 3 commits intoTI-OpenLink:masterfrom
tom-van wants to merge 3 commits intoTI-OpenLink:masterfrom
Conversation
it address by nl_cb_set(). nsv_path value gets overwritten as calib_valid_handler() is called after stack frame is released. This patch fixes the problem sending the original parameter or a static string address. Reasonable default NEW_NVS_NAME is given in case of missing path. Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Without this fix following plt_do_power_on() fails on linux 3.14 armv7l Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
by symbol BUF_SIZE_4_NVS_FILE. This patch unifies all uses to BUF_SIZE_4_NVS_FILE. Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
This file contains hidden or 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
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.
TiWi-BLE module is used on Boundary Nitrogen-6X board. First two patches are required to get calibrator working with current Yocto Linux image. The third patch is just an improvement of coding style.