I am developing software for several years and for almost a year now I am working 20h/week as a C/C++ dev for embedded devices. I wouldn't consider my skill level as expert but I am not a complete beginner either.
This project I just talked about also involves a more conventional microcontroller from Microchip. I first developed software for that device. Even though I had some problems in the beginning eventually it worked fine. I started with the ESP8266 part of the project a few days ago.
Since almost a year now it was the first time I was taking a look at the ESP8266 NO-OS SDK on GitHub (which I was using in the past) - unfortunately there was this message in the Readme.md that NO-OS SDK is no longer in active development and only bugfixes will be released after december 2019.
So I decided to go for the RTOS SDK (I've never worked with freeRTOS). After a day of work I got the SDK running and compiling / flashing worked fine.
The first part was getting the HSPI-interface working. I was consulting the example project of the GitHub repository to get a better understanding of how things work.
I only have to transmit 3 very simple messages (each no longer than 5 bytes) to the Microchip controller. But for whatever reason it didn't work - the first message was transmitted correctly but the second one was missing three bytes (i.e. equal to zero). I wasn't able to figure stuff out so I asked in a forum - and the guys over there also didn't have a clue what was going on. Then after two more days (3 days for a simple SPI interface) things were working finally (and I still think the reason why it wasn't working is a bug in the SDK).
On the 4th day I decided to start with the Wifi-part. Repeating the procedure from before: looking at example projects and the very, very poorly described docs: https://docs.espressif.com/projects/esp ... index.html (really, it is missing SO MUCH information).
After two more days, wifi was also partly working (I was able to open an access point and drop an HTTP-GET request) but the SPI part wasn't fully complementary with the Wifi part.
So I decided to do a code cleanup (started yesterday) - after that, nothing worked.
And today I got no step further (that means the ESP8266 just keeps crashing).
Why am I not able to grasp the ESP8266 fundamentals? Everyone seems to be happy, so many projects are using the ESP8266. And I am sitting here and feeling like I am working with a piece of hardware with the worst software support ever and close to no documentation at hand
I decided a few times to work with the Arduino IDE but I just don't like it (I am sorry).
Am I the only one feeling that way?