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

tests/bluetooth/init/bluetooth.init.test_ctlr_dbg fails to build on nrf51dk_nrf51422 #29056

Closed
galak opened this issue Oct 8, 2020 · 0 comments · Fixed by #29045
Closed

tests/bluetooth/init/bluetooth.init.test_ctlr_dbg fails to build on nrf51dk_nrf51422 #29056

galak opened this issue Oct 8, 2020 · 0 comments · Fixed by #29045
Assignees
Labels
area: Bluetooth bug The issue is a bug, or the PR is fixing a bug priority: high High impact/importance bug

Comments

@galak
Copy link
Collaborator

galak commented Oct 8, 2020

When running:

./scripts/sanitycheck -p nrf51dk_nrf51422 -s tests/bluetooth/init/bluetooth.init.test_ctlr_dbg

Fails:

[ 73%] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull.c.obj
/home/galak/git/zephyr/subsys/bluetooth/controller/ll_sw/ull.c:143:8: error: 'BT_SCAN_SYNC_TICKER_NODES' undeclared here (not in a function); did you mean 'BT_ADV_SYNC_TICKER_NODES'?
  143 |        BT_SCAN_SYNC_TICKER_NODES + \
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/galak/git/zephyr/subsys/bluetooth/controller/ll_sw/ull.c:156:39: note: in expansion of macro 'TICKER_NODES'
  156 | static uint8_t MALIGN(4) ticker_nodes[TICKER_NODES][TICKER_NODE_T_SIZE];
      |                                       ^~~~~~~~~~~~
/home/galak/git/zephyr/subsys/bluetooth/controller/ll_sw/ull.c:156:26: error: 'ticker_nodes' defined but not used [-Werror=unused-variable]
  156 | static uint8_t MALIGN(4) ticker_nodes[TICKER_NODES][TICKER_NODE_T_SIZE];
      |                          ^~~~~~~~~~~~
cc1: all warnings being treated as errors
@galak galak added the bug The issue is a bug, or the PR is fixing a bug label Oct 8, 2020
@galak galak added area: Bluetooth priority: high High impact/importance bug labels Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth bug The issue is a bug, or the PR is fixing a bug priority: high High impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants