-
Notifications
You must be signed in to change notification settings - Fork 2
1.2 Build the software
elektrofuzzis edited this page Feb 22, 2021
·
3 revisions
If you don't want, you don't need to build the software by your own. In every release, you could download the needed prebuild files.
The following text describes how to build your own release.
To flash the ftcSoundBar firmware the first time, you need to install some tools on your PC.
git clone -b v4.1 https://github.com/espressif/esp-idf.git
cd esp-idf
- run
install.bat
on windows systems orinstall.sh
on linux distributions git clone https://github.com/espressif/esp-adf.git
- set in esp-idf/export.bat on windows Systems or export.sh on linux systems the variable ADF_PATH. Use the path, where you installed espadf.
git clone https://github.com/elektrofuzzis/ftcSoundBar.git
- run
esp-idf/export.bat
oresp-idf/export.sh
dependend on your OS. cd ftcSoundBar/firmware
idf.py build
- Download and install gcc compiler arm-linux-gnueabihf from linareo
arm-linux-gnueabihf-gcc.exe -Ilib\gcc\arm-linux-gnueabihf\4.9.1\include -c -fpic -Wall libftcSoundBar.cpp
arm-linux-gnueabihf-gcc.exe -Ilib\gcc\arm-linux-gnueabihf\4.9.1\include -shared libftcSoundBar.o