Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP-IDF version #1

Closed
JanJansen47 opened this issue Feb 4, 2017 · 9 comments
Closed

ESP-IDF version #1

JanJansen47 opened this issue Feb 4, 2017 · 9 comments

Comments

@JanJansen47
Copy link

Hi,

My main interest is the MQTT example you made and got compilation errors in eclipse as well as with the ESP-IDF(same errors) . Furthermore compiled most of your apps and found that not all of them compiled correctly. So I wonder whether you compiled them against the current ( Beta) ESP-IDF?

@pcbreflux
Copy link
Owner

Hi,

sorry for that, it is a problem for me as well because the esp-idf is updated nearly every day. I try to use git pull once a week to stay updated with my last code but don't have time to update everything. So if you just focus on mqtt you could use todays (b8e2edc9) git version with xtensa 5.2.0 compiler. If you have an specific issue with one example i can manage to update this code.

have a nice day
pcbreflux

@pcbreflux
Copy link
Owner

Hi,
have you checked your xtensa version? I would close this issue in some days, if its OK for you?
If not please open an issue for a specific example.

thanks and have a nice day
pcbreflux

@JanJansen47
Copy link
Author

JanJansen47 commented Feb 9, 2017 via email

@JanJansen47
Copy link
Author

JanJansen47 commented Feb 9, 2017 via email

@JanJansen47
Copy link
Author

JanJansen47 commented Feb 11, 2017 via email

@pcbreflux
Copy link
Owner

pcbreflux commented Feb 12, 2017

For the mqtt examples I have to guess: can you reduce the path, maybe it's to long for yor OS?
For the esp-hal I have to change the code since espressif have done some major changes on the code, update coming soon.

@pcbreflux
Copy link
Owner

pcbreflux commented Feb 12, 2017

Hi,

this is what I am doing to build fresh copy from git with your path:

mkdir ESP32_Prog
cd ESP32_Prog
git clone git@github.com:pcbreflux/espressif.git espressif-master
cd ~/ESP32_Prog/espressif-master/esp32/app/ESP32_mqtt_secure_subscribe
make

-> no error (only two warnings)

cd ~/ESP32_Prog/espressif-master/esp32/app/ESP32_mqtt_secure_publish
make menuconfig
make -j8 all

-> no error (only two warnings)

This is what I am using
uname -a
Linux 4.4.0-62-generic
make -v
GNU Make 4.1
xtensa-esp32-elf-cc --version
xtensa-esp32-elf-cc (crosstool-NG crosstool-ng-1.22.0-61-gab8375a) 5.2.0
python -V
Python 2.7.12

Hope this helps in a way?

Have a nice day
pcbreflux

@JanJansen47
Copy link
Author

JanJansen47 commented Feb 13, 2017 via email

@pcbreflux
Copy link
Owner

Hello,

now I've managed to update all my code to work with the latest esp-idf and xtensa 5.2.0 so I close this issue today.

have a great day
pcbreflux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants