Platformio issue
Posted: Sun Feb 19, 2017 8:17 pm
Not being really happy with Eclipse programming the ESP32 I gave Platformio a shot (on a mac running Sierra).
I really like that autocomplete works on platformio making programming much easier (never got that working on eclipse even though I tried it on Windows, Ubuntu as well as on the mac.)
Anyway, the first app worked well (blinking the builtin LED on a DOIT board). However, when trying the esp-idf-template wifi example I ran out of luck.
Firstly, I get a couple of errors during the build:
- C99 designator 'ssid' outside aggregate initializer at line ...
- C99 designator 'password' outside aggregate initializer at line ...
It seemed to compile nicely in spite of that.
Second odd thing happened when trying to upload the app...it seemed to hang up for a moment at:
-Compressed 487056 bytes to 248151...
Eventually the upload would get successfully uploaded though.
Problem is that it seems to stop at the line:
- ESP_ERROR_CHECK( esp_wifi_init(&cfg) );
Not a lot of support on ESP32 programming with Platformio out there...any of you guys know how to fix the issue?
I really like that autocomplete works on platformio making programming much easier (never got that working on eclipse even though I tried it on Windows, Ubuntu as well as on the mac.)
Anyway, the first app worked well (blinking the builtin LED on a DOIT board). However, when trying the esp-idf-template wifi example I ran out of luck.
Firstly, I get a couple of errors during the build:
- C99 designator 'ssid' outside aggregate initializer at line ...
- C99 designator 'password' outside aggregate initializer at line ...
It seemed to compile nicely in spite of that.
Second odd thing happened when trying to upload the app...it seemed to hang up for a moment at:
-Compressed 487056 bytes to 248151...
Eventually the upload would get successfully uploaded though.
Problem is that it seems to stop at the line:
- ESP_ERROR_CHECK( esp_wifi_init(&cfg) );
Not a lot of support on ESP32 programming with Platformio out there...any of you guys know how to fix the issue?