Folks,
System Info: MacBook Pro (10,1; 15" Retina, Early 2013), Running macOS 10.15.6 "Catalina", with 500GB SSD, formatted with APFS, into a RO system partition and a R/W data partition.
I have gone through multiple sessions of attempting to install Nordic Connect for Desktop on the above system using both the nRF Connect app, Getting stated Assistant (official, v1.0.8) and the manual procedure documented online. Here are some observations about that process:
- Using the Getting Started Assistant, Section 1 proceeds without problem and all "Verify" tests yield positive results.
- GSA. Section 2, is where troubles start:
pip3 install west runs fine (or appears to).
Actually a more detailed version of this command and checking afterwards reveals a potential problem. Because of the read-only setting of the system partition, the installer script for west doesn't install it for all users in /.local/bin/ or /bin/sh/ but rather in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages.
- Subsequently, west works just fine when invoked from the command line, but when run from inside other scripts, those scripts fail to find the executable. (Adding this directory to the PATH search path appeared to solve this in some cases of west calls inside other scripts, but I did not test this exhaustively)
- Now (with or without adding to the PATH variable), all of the "Verify" button presses in the other GSA Section 2 steps yield red /bin/sh: west: command not found responses, even though the command lines in each step appear to have functioned correctly.
- GSA Section 3 proceeded without problem to download and install Segger Embedded Studio.
- GSA Section 4, setting Tools > Options > nRF Connect tab settings were done without problem (with the appropriate change to the actual path for west).
- In the next step, Select File > Open nRF Connect SDK Project, these settings were tried repeatedly for multiple boards and the asset tracker sample app, but...
- ...in all cases, when the "Click OK to open the project" was done and the configure and build scripts were run, they would fail in multiple and curious ways
Questions:
- Has anyone succeeded in installing nRF Connect for Desktop on macOS Catalina (or a Big Sur beta) with an APFS-formatted system disk? If so, what do I need to do to get around the above listed issues?
- Out of curiosity, when I've successfully completed this installation, do I have a full "base" installation of Zephyr (i.e., without all the optional modules), or do I need to go back and complete the Zephyr installation?
TIA,
Mike