nRF Connect / VS Code broken for M1 Mac users

There are at least several show-stopper level issues with your nRF Connect SDK and VS Code for M1 Mac users

First not supporting the native VS Code app is annoying and forces us to use a much slower non-native Intel based build

Second - even after installing that, I'm stuck forever in nRF Connect for Desktop on « Checking if VS Code and dependencies are installed »



Third after going around that and installing directly in VS Code [ which incidentally seems to kind of work in the M1 based VS Code ] I get a lot of «

[west]: warning: templates not found in /usr/local/Cellar/git/2.32.0_1/share/git-core/ » warnings

Fourth - just with the basic hello_world sample app, compilation fails because zephyr.h and sys/printk.h are not found

Fifth - spaces and other perfectly valid characters in filenames/directory names are not allowed 
I definitely / strongly prefer this to the SEGGER studio requirement ( which is annoying because of the licensing hoop and just because I don't want to use or mandate our developers use a specific IDE ) but there are a lot of issues that desperately need to be addressed before this is viable in production for anyone who doesn't have a lot of time and resources to burn getting things to work
Parents Reply Children
  • We rant and rant ... but I don't think Nordic really cares about us ...

    90% of their end users are windows based.

    But Apple Silicon Macs are taking over, at some point I hope there will be a tipping point.

  • Apple Silicon is great but unfortunately I can't imagine that Apple will magically get massive market share especially among engineers who have weird longstanding biases against Macs and macOS - especially given that there is a bit of a bootstrap problem. Even Apple doesn't use Macs to design their hardware because all of the best CAD tools are PC / workstation based, and they have their own chips and internal tools and toolchains for software development so we're stuck with hoping that companies like Nordic will put in the effort to take care of niche customers and although you and I think we're using the best hardware, I get why they'd make a business decision to neglect us and leave us floundering

  • Hi Scott and Sahar

    I have queried our developer who will be able to give an good answer on our M1 Mac support status.

    However, he is out of office today. I will let you know what our status on the issue is as soon as I hear from him. Hopefully tomorrow or Monday.

    Regards,
    Sigurd Hellesvik

  • I somewhat disagree with the assesment that macOS is not gaining a massive market share.

    I see more and more of the "new blood" of embedded developers (embedded is a much broaded term this days than it used to be) actually prefering the Apple Silicon computers.

    It gives them mobility, at least 8 hours of work without the need to hookup a PS and super fast build times.
    And there's no real reason not to go this route this days when many of the big players gives fully workinng Apple Silicton or macOS solution which works like STM32, Segger, platformIO (early adopter!), MicroChip, NXP, etc. (Silicon Labs was also late to the party on this btw)

    just got to compare Zephyr on Windows x64 to Zephyr on macOS Apple Silicon (as Zephyr does supports the M1 stuff, its mostly the Nordic issue) - it's massive. Even Intel based macs are faster, the whole "tons of small files with lots of directories" has always been the achiles heel of NTFS. Look at git and how much work is done on microsoft end to improve the git for windows (like caching and stuff).

    So I do believe Apple Siicon and ARM based Windows is going to become a bigger and bigger market. ARM based Windows PC will break so much stuff ... which going to hurt Slight smile

  • Hi again

    Our official releases are unfortunately still not updated for complete M1 support.

    However, I think you should be able to install an universal version of JLink to make VS Code and nrfjprog work.
    See the discussion in Case 288737 for instructions on how to do this.

    Regards,
    Sigurd Hellesvik

Related