Hm, I couldn’t reproduce your problem. With my ESP201 (it’s similar to ESP01) your code works perfectly:
platformio serialports monitor -b 115200
--- Miniterm on COM5 115200,8,N,1 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
Hola
Hola
Hola
Are you using latest framework version?
FPablo
July 29, 2016, 5:14pm
5
Yes, I get it (1.203?). I’m working with platformIO version 3.0.0.dev3, is it ok?
That might be the problem because PlatformIO 3.0 is still in development.
Could you try your project with 2.11.1?
FPablo
July 29, 2016, 5:23pm
7
Hm, ok. I will try it. But I want to know if this change will remove all the changes I do to other platforms?
I just tried your project with 3.0.0.dev12
and it works well.
Please update your PlatformIO to the latest development version.
FPablo
July 29, 2016, 5:38pm
9
How can I upgrade to that version? I only be able to upgrade to 2.11.2.dev3
Do you use PlatformIO IDE? Run next command in the built-in terminal:
pip install https://github.com/platformio/platformio/archive/feature/platformio-30.zip
PlatformIO 3.0 has not been released for beta testing. Please don’t use it and revert back to stable 2.0
pip uninstall platformio
pip install platformio
pio --version
FPablo
July 29, 2016, 8:10pm
12
In the version 2.0, could I edit the platforms and frameworks like in version 3.0?
With the upgrade the issue was solved. Thanks.
Do you mean to edit this GitHub - platformio/platform-espressif8266: Espressif 8266: development platform for PlatformIO ?
No, PlatformIO 2.0 doesn’t allow it.
Ok, if you want to play with PlatformIO 3.0, see installation section here PlatformIO 3.0 Roadmap · Issue #423 · platformio/platformio-core · GitHub
Also, please backup ~/.platformio/platforms
(if you have made changes here) and totally remove this folder. PlatformIO will install the latest version of the required development platform.
Does it work now?
FPablo
July 29, 2016, 9:35pm
14
Yes, it works. But, now I can’t compile the some libs added in the lib folder.
That is very interesting. The Library Dependency Finder has been rewritten from the scratch. Need to test it.
Could you share somewhere your project or make test project to reproduce this issue?
Thanks!
FPablo
July 30, 2016, 3:56am
16
I solved the problem (this problem appeared with the ststm32 platform and some libraries that I wrote for arduino compatibility) and it was because of the libraries compatibility and the reserved word Arduino (?) that seems to appear in this new version.
Thanks for your help.
FPablo
July 30, 2016, 4:31am
17
Ok, now I have a problem compiling this project:
https://github.com/FPablo10/test_firebase
On Arduino IDE, it compiles without problems.
@valeros , could you test this project with the latest PlatformIO 3.0?
Hi @FPablo ! I could not compile your project in Arduino IDE as well. It fails with the same errors.
Do I need any special preparations?
FPablo
July 31, 2016, 6:19pm
21
Hmm, I added the library on Arduino IDE (1.6.9) with the option “Add .ZIP Library”, this full zip file:
But for PlatformIO, I only added the “src” folder, is it ok?
Hi @FPablo !
You should use same library structure as in library repository:
|
|-- lib
| |-- FireBaseLib
| | |-- examples
| | |-- src
| | |-- etc
FPablo
August 1, 2016, 3:16pm
23
Hi, thanks that solved the problem.