-
Notifications
You must be signed in to change notification settings - Fork 441
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
Comments
It seems that this error may be due to an incompatible version of the esp32 toolchain or sdkconfig of the project.
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. |
Feel free to reopen |
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
The text was updated successfully, but these errors were encountered: