This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Mac OS X Big Sur nRF Connect SDK setup

I am attempting to install the nRF Connect SDK v1.5.0 on Mac OS X Big Sur, I have followed the Getting Started Assistant and Toolchain Manager with no success. 

Here is my debug from Segger Embedded Studio when attempting to create a project using the Toolchain Manager installed toolchain:

Creating solution peripheral_lbs.emProject
/opt/nordic/ncs/v1.5.0/toolchain/bin/cmake -GNinja -DBOARD=nrf52840dk_nrf52840 -DBOARD_DIR=/opt/nordic/ncs/v1.5.0/zephyr/boards/arm/nrf52840dk_nrf52840 -B/opt/nordic/ncs/v1.5.0/nrf/samples/bluetooth/peripheral_lbs/build_nrf52840dk_nrf52840 -S/opt/nordic/ncs/v1.5.0/nrf/samples/bluetooth/peripheral_lbs -DNCS_TOOLCHAIN_VERSION=1.5.0 -D WEST=/opt/nordic/ncs/v1.5.0/toolchain/bin/west -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=/Applications/arm_segger_embedded_studio_v534a_macos_x64_nordic/html/configure_nordic_project_menuconfig.py
-- Application: /opt/nordic/ncs/v1.5.0/nrf/samples/bluetooth/peripheral_lbs
-- Zephyr version: 2.4.99 (/opt/nordic/ncs/v1.5.0/zephyr)
-- Found Python3: /opt/nordic/ncs/v1.5.0/toolchain/bin/python3 (found suitable exact version "3.8.2") found components: Interpreter 
-- Found west (found suitable version "0.9.0", minimum required is "0.7.1")
-- Configuring incomplete, errors occurred!
Including boilerplate (Zephyr base): /opt/nordic/ncs/v1.5.0/zephyr/cmake/app/boilerplate.cmake
-- Using NCS Toolchain 1.5.0 for building. (/opt/nordic/ncs/v1.5.0/toolchain/cmake)
CMake Error at /opt/nordic/ncs/v1.5.0/zephyr/cmake/zephyr_module.cmake:61 (message):
  Traceback (most recent call last):

    File "/opt/nordic/ncs/v1.5.0/zephyr/scripts/zephyr_module.py", line 378, in <module>
      main()
    File "/opt/nordic/ncs/v1.5.0/zephyr/scripts/zephyr_module.py", line 283, in main
      manifest = Manifest.from_file()
    File "/opt/nordic/ncs/v1.5.0/toolchain/Cellar/[email protected]/3.8.2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/west/manifest.py", line 1084, in from_file
      return Manifest(**kwargs)
    File "/opt/nordic/ncs/v1.5.0/toolchain/Cellar/[email protected]/3.8.2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/west/manifest.py", line 1273, in __init__
      self._load(source_data['manifest'],
    File "/opt/nordic/ncs/v1.5.0/toolchain/Cellar/[email protected]/3.8.2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/west/manifest.py", line 1527, in _load
      self._load_projects(manifest, url_bases, defaults, ctx)
    File "/opt/nordic/ncs/v1.5.0/toolchain/Cellar/[email protected]/3.8.2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/west/manifest.py", line 1859, in _load_projects
      self._import_from_project(project, imp, ctx)
    File "/opt/nordic/ncs/v1.5.0/toolchain/Cellar/[email protected]/3.8.2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/west/manifest.py", line 2047, in _import_from_project
      self._import_path_from_project(project, imap.file,
    File "/opt/nordic/ncs/v1.5.0/toolchain/Cellar/[email protected]/3.8.2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/west/manifest.py", line 2059, in _import_path_from_project
      imported = self._import_content_from_project(project, path)
    File "/opt/nordic/ncs/v1.5.0/toolchain/Cellar/[email protected]/3.8.2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/west/manifest.py", line 2105, in _import_content_from_project
      project.is_cloned():
    File "/opt/nordic/ncs/v1.5.0/toolchain/Cellar/[email protected]/3.8.2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/west/manifest.py", line 850, in is_cloned
      res = self.git('rev-parse --show-cdup', check=False, cwd=cwd,
    File "/opt/nordic/ncs/v1.5.0/toolchain/Cellar/[email protected]/3.8.2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/west/manifest.py", line 747, in git
      popen = subprocess.Popen(
    File "/opt/nordic/ncs/v1.5.0/toolchain/Cellar/[email protected]/3.8.2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py", line 854, in __init__
      self._execute_child(args, executable, preexec_fn, close_fds,
    File "/opt/nordic/ncs/v1.5.0/toolchain/Cellar/[email protected]/3.8.2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py", line 1702, in _execute_child
      raise child_exception_type(errno_num, err_msg, err_filename)

  FileNotFoundError: [Errno 2] No such file or directory: 'git'

Call Stack (most recent call first):
  /opt/nordic/ncs/v1.5.0/zephyr/cmake/app/boilerplate.cmake:183 (include)
  /opt/nordic/ncs/v1.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
  /opt/nordic/ncs/v1.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
  CMakeLists.txt:8 (find_package)



error: cmake failed
create_nordic_project.py failed (1)
 

In another thread I have read that Toolchain Manager is only supported for Mac OS X Mojave (10.14) at present, when will support be coming for Big Sur? 

Parents Reply Children
No Data
Related