This post was last edited by ddllxxrr on 2021-9-20 06:50
This development environment installation can be said to be a big disappointment to me. I remember a saying by Lu Xun: "wasting other people's time is equal to killing for money". This environment seems to have ruined me.
The following is my installation process. To save time, I will explain it in three parts.
1. Installation of integrated development environment.
Anxinke's website has an integrated installation environment. I downloaded it and it seemed to take a long time to install. After the installation, the environment variables were set, and it seemed that there was an ESP-IDF development environment.
I tried it, entered example, found the get-start subdirectory, and built it with idf.py build. It worked well.
With the joy of a winner, I turned off the computer and went to sleep happily.
The next day, I wanted to install the ADF environment because I saw that this development board must be supported by the ADF environment. After I installed it, there was a compilation error.
I searched for a long time but couldn't solve it.
After persisting for nearly two or three days, I decided to try installing the LINUX development environment again.
2. LINUX development environment
I followed the information I searched online and installed VMware first. I think I downloaded it twice and the first time it said my computer didn't support it.
Then install UBUNTU and Youbangtu, which are also installed.
Then, follow https://docs.ai-thinker.com/esp32-a1s/env
To install the ADF development environment.
It turned out that was not the case at all. First of all, ADF could not be downloaded. I added the URL information and it was downloaded.
But the compilation just won't work.
Especially MAKE menuconfig can't come out. What I want to complain about is that the instructions say to install the IDF environment first, but when I downloaded ADF, it came with IDF, but the IDF was empty.
I think this is a pitfall, because the environment variables are all messed up, as if pointing to this IDF, and the previously installed IDF does not work at all, which is equivalent to not being installed.
I am a person who never gives up, especially when it comes to microcontrollers, because they are my bread and butter. I did it over and over again, and finally the MAKE menuconfig interface appeared.
When I compile, it fails. I can't even get out of the MAKE menuconfig interface.
By this time, more than a week had passed (of course, in my spare time at night). I have been working in EE for more than ten years, and every time I evaluate a development board, the installation of the development environment is very smooth.
Unexpectedly, I encountered such a difficult development environment to install this time.
I think there are many pitfalls in setting up this kind of development environment. I also want to complain about the manufacturer and ask if they can come up with a new and easy-to-use installation package.
3. Abandon the first two development environments. Don’t be too desperate.
So I turned my attention to other development environments: VSCODE and Arduino.
That’s all for today. See you next time.