Hi
I have two PCA10121 and followed the instructions here to get the demo audio application to work.
The output of:
python3 buildprog.py -c app -b debug -d both
is:
+------------+----------+---------+--------------+---------------------+---------------------+
| snr | snr conn | device | only reboot | core app programmed | core net programmed |
+------------+----------+---------+--------------+---------------------+---------------------+
| 1050156534 | ←[32mTrue←[0m | headset | Not selected | Selected TBD | Not selected |
| 1050158213 | ←[32mTrue←[0m | gateway | Not selected | Selected TBD | Not selected |
+------------+----------+---------+--------------+---------------------+---------------------+
Invoking build step
Run: west build ../.. -b nrf5340_audio_dk_nrf5340_cpuapp -d ../../build/dev_headset/build_debug -DOVERLAY_CONFIG="overlay-headset.conf overlay-debug.conf"
usage: west [-h] [-z ZEPHYR_BASE] [-v] [-V] <command> ...
west: error: argument <command>: invalid choice: 'build' (choose from 'init', 'update', 'list', 'manifest', 'diff', 'status', 'forall', 'help', 'config', 'topdir', 'selfupdate')
Traceback (most recent call last):
File "C:\Users\se\Desktop\projects\BT_Klaud\LE_Audio\nrf5340_audio\tools\buildprog\buildprog.py", line 319, in <module>
__main()
File "C:\Users\se\Desktop\projects\BT_Klaud\LE_Audio\nrf5340_audio\tools\buildprog\buildprog.py", line 302, in __main
__build_module(build_cfg)
File "C:\Users\se\Desktop\projects\BT_Klaud\LE_Audio\nrf5340_audio\tools\buildprog\buildprog.py", line 130, in __build_module
raise Exception("cmake error: " + str(ret_val))
Exception: cmake error: 2
where cmake gives me the correct path to ..toolchains\v2.0.2\opt\bin\cmake.exe
Does someone know what could cause the error cmake error: 2?
Kind regards
Gerry