Skip to content

Commit 51c7c08

Browse files
ysoldakdeadprogram
authored andcommitted
macos: guide to suppress unmount notification
1 parent 5d9f77d commit 51c7c08

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

content/getting-started/install/macos.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ If you are only interested in compiling TinyGo code for ARM microcontrollers the
4444

4545
Some boards require a special flashing tool for that particular chip, like `openocd` or `nrfjprog`. See the documentation page for your board as listed [here](../../../docs/reference/microcontrollers/) to see which flashing tool is required for your target board.
4646

47+
The boards with USB Mass Storage Device flashing method, like Raspberry Pi Pico (RP2040), reboot and detach "unsafely" during flashing procedure.
48+
This behaviour upsets OS and it shows a modal notification one shall unmount USB drive properly first.
49+
To suppress this notification, run the following command and restarting your Mac after that.
50+
```
51+
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.DiskArbitration.diskarbitrationd.plist DADisableEjectNotification -bool YES && sudo pkill diskarbitrationd
52+
```
53+
4754
#### AVR (e.g. Arduino Uno)
4855

4956
To flash TinyGo programs for AVR based processors such as the original Arduino Uno you must install `avrdude`:

0 commit comments

Comments
 (0)