Skip to content
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

lib: updatehub: Add missing include for FLASH_AREA #25333

Merged

Conversation

nandojve
Copy link
Member

The conversion from DT_FLASH_AREA to FLASH_AREA macros don't add the
storage flash_map.h include file.

Fixes: #25332

Signed-off-by: Gerson Fernando Budke gerson.budke@ossystems.com.br

The conversion from DT_FLASH_AREA to FLASH_AREA macros don't add the
storage flash_map.h include file.

Fixes: zephyrproject-rtos#25332

Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
@nandojve nandojve requested review from jukkar, carlescufi and galak May 15, 2020 01:19
@nandojve nandojve added this to the v2.3.0 milestone May 15, 2020
@nandojve nandojve added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label May 15, 2020
@erwango erwango added bug The issue is a bug, or the PR is fixing a bug priority: high High impact/importance bug labels May 15, 2020
@otavio
Copy link
Contributor

otavio commented May 15, 2020

I'd like to understand how this breakage has not been spotted by the CI system? This is something we should verify so we avoid these build failures in the future.

@otavio
Copy link
Contributor

otavio commented May 15, 2020

It seems it was caused by #25056, which @galak merged, however it seems it was not tested on CI.

@otavio
Copy link
Contributor

otavio commented May 15, 2020

Looking on the CI result, it runned all CI checks so our sample is not enabled for it.

@nandojve can we enable it to be tested on CI?

@nandojve nandojve added the DNM This PR should not be merged (Do Not Merge) label May 15, 2020
nandojve added 2 commits May 15, 2020 23:35
Based on the current platform a warning can raise becase of missing
string.h include file.

Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
Add missing sample.yaml file to enable CI build tests. Local tests can
be executed executing sanitycheck:

./scripts/sanitycheck -l --testcase-root samples/net/updatehub

Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
@nandojve nandojve requested a review from galak May 16, 2020 02:44
@nandojve
Copy link
Member Author

Two new commits:
1- Fix compile warning
2- Add missing sample.yaml to enable CI build sample/net/updatehub

@nandojve nandojve removed the DNM This PR should not be merged (Do Not Merge) label May 16, 2020
@carlescufi carlescufi merged commit ac117c8 into zephyrproject-rtos:master May 18, 2020
@nandojve nandojve deleted the topic/fix_dt_flash_area_conv branch May 20, 2020 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Networking area: Samples Samples bug The issue is a bug, or the PR is fixing a bug priority: high High impact/importance bug Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lib: updatehub: Don't build after convertion from DT_FLASH_AREA to FLASH_AREA macros
6 participants