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

[build] Compilation error: conflicting types for 'otPlatRadioEnableCsl' #69

Closed
zwx1995esp opened this issue Jun 4, 2021 · 2 comments
Closed
Labels
question Further information is requested

Comments

@zwx1995esp
Copy link

I pull the new code and make the project using:
./script/build nrf52840 USB_trans -DOT_CSL_RECEIVER=ON -DOT_LINK_METRICS=ON -DOT_DIAGNOSTIC=ON -DOT_THREAD_VERSION=1.2
and I get a compilation error: conflicting types for 'otPlatRadioEnableCsl'

The cause of the problem seems to be the change in the commit b0cb90b1, the definition of function otPlatRadioEnableCsl has been changed.

If I want to use the CSL feature, which parameters need to be added to the compile command?

@zwx1995esp zwx1995esp changed the title Compilation error: conflicting types for 'otPlatRadioEnableCsl' [build] Compilation error: conflicting types for 'otPlatRadioEnableCsl' Jun 4, 2021
@jwhui jwhui added the question Further information is requested label Jun 4, 2021
@jwhui
Copy link
Member

jwhui commented Jun 4, 2021

@zwx1995esp , did you update the git submodule?

$ git submodule update

@zwx1995esp
Copy link
Author

Thank you, I am sorry to forget that I did not update the submodule, Now, it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants