Backwards compatibility libraries are available in AUR for native and lib32
configurations:
https://aur.archlinux.org/packages/ncurses5-compat-libs/
https://aur.archlinux.org/packages/lib32-ncurses5-compat-libs/
Before installing these packages you might need to add the author’s public key to your
keyring as described in the “Comments” section at the links above.
Alternatively, use crosstool-NG to compile a gdb that links against ncurses 6.
3.2.3. Standard Setup of Toolchain for Mac OS
Install pip:
sudo easy_install pip
Install Toolchain:
https://github.com/espressif/esp-idf/blob/master/docs/en/get-started/macos-
setup.rst#id1
Unzip the file into
~/esp
directory.
The toolchain will be unzipped into
~/esp/xtensa-esp32-elf/
path.
Add the following to
~/.profile
:
export PATH=$HOME/esp/xtensa-esp32-elf/bin:$PATH
Optionally, add the following to
〜
/ .profile
:
alias get_esp32="export PATH=$HOME/esp/xtensa-esp32-elf/bin:$PATH"
Input
get_esp322
to add the toolchain to PATH.
3.3. Get ESP-IDF
Once you have the toolchain (that contains programs to compile and build the
application) installed, you also need ESP32 specific API / libraries. They are provided
by Espressif in
. To get it, open terminal, navigate to the directory
you want to put ESP-IDF, and clone it using
git clone
command:
ESP-IDF will be downloaded into
~/esp/esp-idf
.
3.4. Add IDF_PATH to User Profile
To preserve setting of IDF_PATH environment variable between system restarts, add it
to the user profile, following instructions below.
git clone --recursive
https://github.com/espressif/esp-idf.git
📖
Note:
Do not miss the
--recursive
option. If you have already cloned ESP-IDF without this option, run
another command to get all the submodules:
cd ~/esp/esp-idf
git submodule update --init
Содержание ESP32-WATG-32D
Страница 1: ...ESP32 WATG 32D User Manual Preliminary version 0 1 Espressif Systems Copyright 2019...
Страница 7: ......
Страница 9: ......
Страница 22: ...9 Examples For ESP IDF examples please go to ESP IDF GitHub...