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

samples/subsys/mgmt/mcumgr/smp_svr: should enable BT and FS for nrf52 boards #24442

Closed
nvlsianpu opened this issue Apr 17, 2020 · 2 comments · Fixed by #24448
Closed

samples/subsys/mgmt/mcumgr/smp_svr: should enable BT and FS for nrf52 boards #24442

nvlsianpu opened this issue Apr 17, 2020 · 2 comments · Fixed by #24448
Assignees
Labels
area: mcumgr area: Samples Samples bug The issue is a bug, or the PR is fixing a bug Regression Something, which was working, does not anymore

Comments

@nvlsianpu
Copy link
Collaborator

Describe the bug
The sample used to build with BT transport and FS command set enabled for out-of the box build. After merge #20983 its stops.

To Reproduce
Steps to reproduce the behavior:
1. west build -d build/smp_svr -b nrf52840dk_nrf52840 ./zephyr/samples/subsys/mgmt/mcumgr/smp_svr/

Expected behavior
These feature should be enabled by default for nrf52 targets

Impact
bad user experience

Environment (please complete the following information):

@nvlsianpu nvlsianpu added bug The issue is a bug, or the PR is fixing a bug area: Samples Samples Regression Something, which was working, does not anymore area: mcumgr labels Apr 17, 2020
@nvlsianpu nvlsianpu self-assigned this Apr 17, 2020
@aunsbjerg
Copy link
Collaborator

The sample was intentionally split up so that prj.conf contained only the common configuration set and transport specific configuration is contained in overlay configurations. To enable bluetooth transport, you'll need to add one of the bt overlay configs in the build command, like so:
west build -d build/smp_svr -b nrf52840dk_nrf52840 ./zephyr/samples/subsys/mgmt/mcumgr/smp_svr/ -- -DOVERLAY_CONFIG=overlay-bt.conf

As for the missing FS command set, that's a bug and I will make a PR to fix that.

@nvlsianpu
Copy link
Collaborator Author

I supposed that this sample is building with required features enables out of the box for these boards.
From my experience can avoid most of "help-desk" question thanks to that.

nvlsianpu added a commit to nvlsianpu/zephyr that referenced this issue Apr 17, 2020
Added default configuration files for nrf5 boards so the sample
is building with expected features for these boards.

Would be greater to use OVERLAY_CONFIG instead of files addition,
but that doesn't work from CMakeLists.txt scope.

fixes zephyrproject-rtos#24442

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
carlescufi pushed a commit that referenced this issue Apr 20, 2020
Added default configuration files for nrf5 boards so the sample
is building with expected features for these boards.

Would be greater to use OVERLAY_CONFIG instead of files addition,
but that doesn't work from CMakeLists.txt scope.

fixes #24442

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
hakehuang pushed a commit to hakehuang/zephyr that referenced this issue Jun 20, 2020
Added default configuration files for nrf5 boards so the sample
is building with expected features for these boards.

Would be greater to use OVERLAY_CONFIG instead of files addition,
but that doesn't work from CMakeLists.txt scope.

fixes zephyrproject-rtos#24442

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: mcumgr area: Samples Samples bug The issue is a bug, or the PR is fixing a bug Regression Something, which was working, does not anymore
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants