ModusToolbox cannot create wiced_btsdk project in Linux

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
user_4767881
Level 1
Level 1

When trying to File -> ModusToolbox Application -> WICED  Bluetooth BSPs, then select CYW920706WCDEVAL and then selecting wiced_btsdk I get the following messages under Linux (see below).

Apparently, the option `recurse-submodules' is not working in Linux. Maybe it works ok in Windows, but in Linux - no.

==============================================================================

= Updating Makefile for 'wiced_btsdk' =

==============================================================================

==============================================================================

= Getting Dependencies for 'wiced_btsdk' =

==============================================================================

make getlibs CY_TOOLS_PATHS=/home/bernhard.goedel/ModusToolbox/tools_2.2

==============================================================================

= Importing libraries =

==============================================================================

Git is git version 2.7.4, found at /usr/bin/git

Searching application directory (.lib)...

Application directory search complete.

Searching "." directory (.lib)...

Found 44 .lib file(s)

  Processing file "./dev-kit/baselib/20706A2.lib"

usage: git ls-remote [--heads] [--tags] [--upload-pack=<exec>]

  [-q | --quiet] [--exit-code] [--get-url] [<repository> [<refs>...]]

error: unknown option `recurse-submodules'

usage: git checkout [<options>] <branch>

  or: git checkout [<options>] [<branch>] -- <file>...

  -q, --quiet suppress progress reporting

  -b <branch> create and checkout a new branch

  -B <branch> create/reset and checkout a branch

  -l create reflog for new branch

  --detach detach the HEAD at named commit

  -t, --track set upstream info for new branch

  --orphan <new-branch>

  new unparented branch

  -2, --ours checkout our version for unmerged files

  -3, --theirs checkout their version for unmerged files

  -f, --force force checkout (throw away local modifications)

  -m, --merge perform a 3-way merge with the new branch

  --overwrite-ignore update ignored files (default)

  --conflict <style> conflict style (merge or diff3)

  -p, --patch select hunks interactively

  --ignore-skip-worktree-bits

  do not limit pathspecs to sparse entries only

  --ignore-other-worktrees

  do not check if another worktree is holding the given ref

  --progress force progress reporting

make: *** [getlibs] Error 1

==============================================================================

ERROR: --ABORTING--

  : Script : /home/bernhard.goedel/ModusToolbox/tools_2.2/make/getlibs.bash

  : Bash path : /home/bernhard.goedel/ModusToolbox/tools_2.2/modus-shell/bin/bash

  : Bash version: 4.3.48(1)-release

  : Exit code : 129

  : Call stack : trap_exit perform_git process_lib extract_data find_libs main

/home/bernhard.goedel/ModusToolbox/tools_2.2/make/getlibs.mk:125: recipe for target 'getlibs' failed

"make getlibs" failed.

Failed to create "wiced_btsdk" application.

0 Likes
1 Solution

The BTSDK 2.8 is just released yesterday. Please try to install the BTSDK 2.8 with Modus Toolbox 2.2.

ModusToolbox Bluetooth SDK Installation Notes

View solution in original post

0 Likes
2 Replies
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

BTSDK 2.8 will be released later today. Could you try to install BTSDK 2.8 to see if the problem still happens.

0 Likes

The BTSDK 2.8 is just released yesterday. Please try to install the BTSDK 2.8 with Modus Toolbox 2.2.

ModusToolbox Bluetooth SDK Installation Notes

0 Likes