-
Notifications
You must be signed in to change notification settings - Fork 2k
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
nrf52840dk: build fails with softdevice support #8357
Comments
I think it is a new problem: not a buggy softdevice integration but a failure to compile. Beside the type of error already reported there are a number of errors like this:
headers file are repeated in two different places, cpu/nrf52/include/vendor and softdevice package. I'll investigate further ... are there some integration guideline or some good example to follow for external package integration in the build system? |
The NRF IoT SDK downloaded form nordic is https://developer.nordicsemi.com/nRF5_IoT_SDK/nRF5_IoT_SDK_v0.9.x This version does not support nrf52840 chip, headers file are out of date and cause include conflicts not easy to resolve (at least for me) The latest SDK IoT version readme: http://developer.nordicsemi.com/nRF5_IoT_SDK/nRF5_IoT_SDK_v1.0.x/ Shoud it be better to migrate to latest and stable SDK IoT release embedded into official nordic SDK? |
Hi @attdona, |
I guess #9473 will solve this issue. |
In #9473 I don't have currently direct support for nrf52840dk with the SoftDevice, but adding that should not be too hard. I can try to make sure it compiles, but I don't have the newer DK and therefore I will not be able to test. |
Now I've added initial NRF52840DK SoftDevice support to #9473 |
nice, good job @pekkanikander |
Great Job! The first feedback is about this build error from
Is it related to #9381? |
It works: I've patched I don't know if it is related with gcc version, by the way the problem arose with:
I've tested on another host with arm-none-eabi-gcc 7.2.1 and compilation succeeded without any patching. |
I updated the PR message and comments to put three "`" to get the multi line output. @attdona could you try with this PR ? #9515 There are also some debug procedure in the PR comments, it would help if you could provide the output with this diff #9515 (comment) with and without the PR and the output of #9515 (comment) I am trying to fix this globally and try to understand the different setups people have. Thank you in advance. |
Correct, #9394 is not included in #9473. The info you asked for (I'm using the standard arm-none-eabi-gcc package provided for ubuntu 18.04):
|
That you for the output. So your gcc looks like to output the supported things. Can you confirm that know that #9473 has been ebased it compiles correctly ? Sorry, I took some of your time for nothing as I was not clear enough. For the diff I meant to apply the diff I had in the comment #9515 (comment) that adds |
On my side I can confirm! |
So, finally this issue will be solved by which PR? |
This issue will be fixed by #9473 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions. |
As #9473 is closed by the stale bot, I'd like to know if this bug is still important to anyone involved with this issue? EDIT: I just realized that the discussion in #13334 already went so far that they opted to remove the softdevice. |
Leaving this for @bergzand as a reminder for next release, as the soft device is pending for removal then |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions. |
The softdevice was removed in #15326, so this issue is obsolete now. |
Description
I've tried to compile without success examples/hello-world demo for nrf52840dk board including nordic softdevice.
Steps to reproduce the issue
in examples/hello-world/Makefile I added:
Actual results
Versions
Operating system: Ubuntu
Build environment: arm-none-eabi-gcc (15:5.4.1+svn241155-1) 5.4.1 20160919
The text was updated successfully, but these errors were encountered: