-
Notifications
You must be signed in to change notification settings - Fork 40
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
nrf5_drv_uart build failed #60
Comments
Hi! I'm afraid that calling CMake with just
won't work. There are few problems with that:
Assuming you're running CMake from the
|
Thank you.
Specifying NRF5_SDK_PATH did the trick and using NRF5_BOARD=pca10040
allowed to build till the end.
One thing I couldn't overcome: set-ing NRF5_SDK_PATH in CMakeLists.txt
doesn't work.
|
Glad to help. Actually, you can specify # ...
set(NRF5_SDK_PATH "D:/tools/nRF5SDK160098a08e2" CACHE PATH "" FORCE)
list(APPEND CMAKE_MODULE_PATH "../cmake")
include("nrf5")
# ...
If it works for you - that's OK but I wouldn't recommend doing that in production. By setting configuration variables in the command line your CMakeLists.txt can be more universal so you can keep it unchanged for building for multiple targets, SDK versions etc. BTW. You can build examples more easily if you setup the CI locally and run some scripts. Go the
That will configure and build the example. |
info: ci/examples/ble_peripheral/ble_app_blinky, SDK 16.0.0
command:
The text was updated successfully, but these errors were encountered: