From f8a2f8fc066445869afbc7c7b8ba531237c90c17 Mon Sep 17 00:00:00 2001 From: Shubham Patil Date: Mon, 22 May 2023 17:51:27 +0530 Subject: [PATCH] [ESP32] Fix the installation guide around gdbgui for macOS --- docs/guides/esp32/setup_idf_chip.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/guides/esp32/setup_idf_chip.md b/docs/guides/esp32/setup_idf_chip.md index 13feaee221ca4e..5a421d9602c4f9 100644 --- a/docs/guides/esp32/setup_idf_chip.md +++ b/docs/guides/esp32/setup_idf_chip.md @@ -69,13 +69,18 @@ source scripts/bootstrap.sh Whenever Matter environment is out of date, it can be updated by running above command. +#### gdbgui + For MacOS, `gdbgui` python package will not be installed using `bootstrap.sh` script as it is restricted only for x64 Linux platforms. It is restricted because, building wheels for `gevent` (dependency of `gdbgui`) fails on MacOS. -Please run the below commands after every bootstrapping. +For ARM-based Mac, no installation steps are necessary if Python3 version is +greater than or equal to 3.11. -Workaround is to install `gdbgui` wheels as binary: +If Python3 version is less than 3.11 or you are using x86(Intel-based) Mac then +please run the below commands after every bootstrapping to install gdbgui wheels +as binary ``` python3 -m pip install -c scripts/setup/constraints.txt --no-cache --prefer-binary gdbgui==0.13.2.0