This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## This is where you want the entire toolchain to live | |
| ## You should run this script from within the destination directory, or | |
| ## redefine the BASE variable to fit your lifestyle. | |
| BASE=$(pwd) | |
| echo | |
| echo [getESP32.sh]: Checking for system prerequisites | |
| [[ $(which pacman) ]] && sudo pacman -S --needed gcc git make ncurses flex bison gperf python2-pyserial wget 2>/dev/null | |
| [[ $(which apt-get) ]] && sudo apt-get install git make libncurses-dev flex bison gperf python python-serial wget 2>/dev/null |