IDE 2.3.2 message installing Opta board

I’m somewhat new to Arduino and I’m running the 2.3.2 IDE on macOS 14.5 on an iMac Pro (Intel Xeon CPU). I have an Opta so I was installing “Arduino Mbed OS Opta Boards, version 4.1.6.

The IDE Output:

Tool arduino:arm-none-eabi-gcc@7-2017q4 already installed

Tool arduino:dfu-util@0.10.0-arduino1 already installed

Tool arduino:imgtool@1.8.0-arduino.2 already installed

Tool arduino:openocd@0.11.0-arduino2 already installed

Downloading packages

arduino:mbed_opta@4.1.6

Installing platform arduino:mbed_opta@4.1.6

Configuring platform.

You might need to configure permissions for uploading.

To do so, run the following command from the terminal:

sudo "/Users/stu/Library/Arduino15/packages/arduino/hardware/mbed_opta/4.1.6/post_install.sh"

Platform arduino:mbed_opta@4.1.6 installed

—end of output in IDE---

Per the message, I copied and pasted the sudo line into terminal, hit enter, typed in the password and got the following:

stu@Stuarts-iPro 32.0.0 % sudo "/Users/stu/Library/Arduino15/packages/arduino/hardware/mbed_opta/4.1.6/post_install.sh"

Password:

/Users/stu/Library/Arduino15/packages/arduino/hardware/mbed_opta/4.1.6/post_install.sh: line 31: /etc/udev/rules.d/60-arduino-mbed.rules: No such file or directory

Reload rules...

/Users/stu/Library/Arduino15/packages/arduino/hardware/mbed_opta/4.1.6/post_install.sh: line 35: udevadm: command not found

/Users/stu/Library/Arduino15/packages/arduino/hardware/mbed_opta/4.1.6/post_install.sh: line 36: udevadm: command not found

stu@Stuarts-iPro 32.0.0 %

I have no idea if this is an actual error and if it will result in any issues.

Thanks

I'm not an Opta user not am I a Mac user.

udevadm is used to change rules so you can access the board during uploads and use of serial monitor. If that works, there is no problem; if it does not work it is obviously a problem and I can't help you to solve it.

Hi @sbiggar. The instructions are specific to Linux. This is not necessary on a macOS machine. So please just ignore the instructions and don't worry about the fact they failed when you tried to run them. Everything should work fine on your macOS machine without that procedure.


The problem is that, even though this specific script that prints these instructions was written for Linux machines, Arduino IDE runs it also on macOS machines. I did not take that fact into consideration when I added the message to the script, but instead only thought of improving the experience for Linux users. I have now submitted a pull request to fix this problem so that it won't cause confusion to macOS users in the future:

Thanks for bringing the problem to my attention!