taks / esp32-nimble

A wrapper for the ESP32 NimBLE Bluetooth stack.
Apache License 2.0
118 stars 35 forks source link

Add feature for building with std support #35

Closed CliffHan closed 1 year ago

CliffHan commented 1 year ago

Added esp32-nimble into an esp32 std project and failed to build. That's because critical-section used a built-in critical section implementation when std enabled. So I think it's better to add a feature in this project to make it work with std.

CliffHan commented 1 year ago

I found ci won't pass. The std feature just added need to be compiled with std environment, which caused clippy test failure. So I updated ci config by clippy with no_std feature only.