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

HX711 ESP-IDF v4.0 incompatibility error #72

Closed
Squidyman opened this issue Apr 3, 2020 · 3 comments
Closed

HX711 ESP-IDF v4.0 incompatibility error #72

Squidyman opened this issue Apr 3, 2020 · 3 comments

Comments

@Squidyman
Copy link

Devcie type
ESP32

Framework version
ESP-IDF latest master 4.0

Describe the bug
The HX711 driver does not work with IDF 4.0

In file included from C:/Users/mattb/esp-idf/components/esp_eth/src/esp_eth.c:15:0:
../../../../components/newlib/include/stdatomic.h: In function 'atomic_flag_test_and_set_explicit':
../../../../components/newlib/include/stdatomic.h:271:31: error: request for member '__val' in something not a structure or union
__atomic_exchange_n(&(object)->__val, desired, #order)

This is based off of the same error and proposed solution from this issue OLIMEX/ESP32-POE#8

@Squidyman Squidyman changed the title HX711 ESP-IDF v4.0 version error HX711 ESP-IDF v4.0 incompatibility error Apr 3, 2020
@UncleRus
Copy link
Owner

UncleRus commented Apr 3, 2020

It seems that this error may be due to an incompatible version of the esp32 toolchain or sdkconfig of the project.
Try to:

Please report the results.

@Squidyman
Copy link
Author

It seems that this error may be due to an incompatible version of the esp32 toolchain or sdkconfig of the project.
Try to:

Please report the results.

Will do, it compiles on my laptop which I haven't updated in a while, however on my desktop with a new and latest install I'm getting errors (even according to espressif instructions). I'll report back with findings and report from your suggestion.

@UncleRus
Copy link
Owner

Feel free to reopen

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