From d1d37ecb7e47c78e7dc79e11587eef7462918b28 Mon Sep 17 00:00:00 2001 From: Shubham Patil Date: Tue, 23 May 2023 16:51:36 +0530 Subject: [PATCH] [ESP32] Fix the installation guide around gdbgui for macOS (#26723) adding gdbgui to wordlist --- .github/.wordlist.txt | 1 + docs/guides/esp32/setup_idf_chip.md | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/.wordlist.txt b/.github/.wordlist.txt index 25c4b7b67c9c2a..82e88caf568625 100644 --- a/.github/.wordlist.txt +++ b/.github/.wordlist.txt @@ -564,6 +564,7 @@ FW gbl gcloud GDB +gdbgui gdbserver GeneralCommissioning GeneralDiagnostics diff --git a/docs/guides/esp32/setup_idf_chip.md b/docs/guides/esp32/setup_idf_chip.md index 13feaee221ca4e..2196109bea077e 100644 --- a/docs/guides/esp32/setup_idf_chip.md +++ b/docs/guides/esp32/setup_idf_chip.md @@ -73,9 +73,12 @@ 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 further 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