-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
applications: nrf5340_audio: Buildprog transport mandatory #20817
applications: nrf5340_audio: Buildprog transport mandatory #20817
Conversation
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 73a7568b6fa6920725b6eceb8e651084a2d7b341 more detailssdk-nrf:
Github labels
List of changed files detected by CI (9)
Outputs:ToolchainVersion: 4ffa2202d5 Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
* - Transport type (``-t``) | ||
- Specifies the transpoert type. | ||
- ``broadcast``, ``unicast`` | ||
- :ref:`nrf53_audio_app_overview_broadcast_unicast` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This ref needs to be updated: this one does not exist, and I'm not sure where you want to link to.
@@ -98,6 +98,10 @@ The building command for running the script requires providing the following par | |||
- ``release``, ``debug`` | |||
- | :ref:`nrf53_audio_app_configuration_files` | |||
| **Note:** For FOTA DFU, you must use :ref:`nrf53_audio_app_building_standard`. | |||
* - Transport type (``-t``) | |||
- Specifies the transpoert type. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Specifies the transpoert type. | |
- Specifies the transport type. |
90af422
to
953db45
Compare
953db45
to
e671e98
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous edits not yet applied. Found one more potential issue.
@@ -93,7 +80,7 @@ You can use one of the following options, depending on how you decide to build t | |||
|
|||
.. code-block:: console | |||
|
|||
west build -b nrf5340_audio_dk/nrf5340/cpuapp --pristine -- -DCONFIG_AUDIO_DEV=1 -Dnrf5340_audio_SHIELD=nrf21540ek -Dipc_radio_SHIELD=nrf21540ek | |||
west build -b nrf5340_audio_dk/nrf5340/cpuapp --pristine -- -CONFIG_AUDIO_DEV=1 -Dnrf5340_audio_SHIELD=nrf21540ek -Dipc_radio_SHIELD=nrf21540ek |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-D
missing?
west build -b nrf5340_audio_dk/nrf5340/cpuapp --pristine -- -CONFIG_AUDIO_DEV=1 -Dnrf5340_audio_SHIELD=nrf21540ek -Dipc_radio_SHIELD=nrf21540ek | |
west build -b nrf5340_audio_dk/nrf5340/cpuapp --pristine -- -DCONFIG_AUDIO_DEV=1 -Dnrf5340_audio_SHIELD=nrf21540ek -Dipc_radio_SHIELD=nrf21540ek |
e671e98
to
18f06a7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved. Just one question in the review.
@@ -12,6 +12,11 @@ add_compile_definitions(GATEWAY=2) | |||
|
|||
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) | |||
|
|||
# Test a configuration file option has been given | |||
if(NOT DEFINED EXTRA_CONF_FILE) | |||
message(FATAL_ERROR "No configuration file specified, set -DEXTRA_CONF_FILE=<configuration file>") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be:
message(FATAL_ERROR "No configuration file specified, set -DEXTRA_CONF_FILE=<configuration file>") | |
message(FATAL_ERROR "No configuration file specified, set -- -DEXTRA_CONF_FILE=<configuration file>") | |
``` ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more round of review, hopefully final.
|
||
.. toggle:: | ||
|
||
* The :ref:`nrf53_audio_app` :ref:`nrf53_audio_app_building_script` now requires the transport (-t/--transport) type to be included. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* The :ref:`nrf53_audio_app` :ref:`nrf53_audio_app_building_script` now requires the transport (-t/--transport) type to be included. | |
* The :ref:`nrf53_audio_app` :ref:`nrf53_audio_app_building_script` now requires the transport (``-t/--transport``) type to be included. |
@@ -256,8 +260,10 @@ Complete the following steps to build the application: | |||
|
|||
a. Choose the device type by using one of the following options: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a. Choose the device type by using one of the following options: | |
a. Choose the device type by using one of the following :ref:`CMake options for extra Kconfig fragments <cmake_options>`: |
.. toggle:: | ||
|
||
* The :ref:`nrf53_audio_app` :ref:`nrf53_audio_app_building_script` now requires the transport (-t/--transport) type to be included. | ||
* The :ref:`nrf53_audio_app` :ref:`nrf53_audio_app_building_standard` now requires a configuration overlay compile option to be included. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* The :ref:`nrf53_audio_app` :ref:`nrf53_audio_app_building_standard` now requires a configuration overlay compile option to be included. | |
* The :ref:`nrf53_audio_app` :ref:`nrf53_audio_app_building_standard` now requires an extra :ref:`CMake option to provide extra Kconfig fragments <cmake_options>` to select the device type. |
|
||
* The :ref:`nrf53_audio_app` :ref:`nrf53_audio_app_building_script` now requires the transport (-t/--transport) type to be included. | ||
* The :ref:`nrf53_audio_app` :ref:`nrf53_audio_app_building_standard` now requires a configuration overlay compile option to be included. | ||
|
||
|no_changes_yet_note| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|no_changes_yet_note| |
Remove
18f06a7
to
e6d8636
Compare
eb2d1cd
to
87f020d
Compare
You can find the documentation preview for this PR here. Preview links for modified nRF Connect SDK documents: https://ncsdoc.z6.web.core.windows.net/PR-20817/nrf/releases_and_maturity/migration/migration_guide_3.0.html |
5272b5a
to
938ef6e
Compare
938ef6e
to
60f6a24
Compare
de64432
to
371bd5d
Compare
OCT-3328 Now forces the -t/--transport option in buildprog as mandatory Signed-off-by: Graham Wacey <graham.wacey@nordicsemi.no>
371bd5d
to
73a7568
Compare
|
OCT-3328
Now forces the -t/--transport option in
buildprog
as mandatory and documents the change.