-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
esp32: Compile error regarding assert statement in esp-hal-3rdparty code #12111
Comments
@dumitrache-adrian92 I think esp-hal-3rdparty are maintained directly by Espressif @tmedicci please take a look |
Hi @dumitrache-adrian92 , That's strange... We continuously test the boards with Could you please double-check the compiler being used? The easiest way to do that is by running the |
@tmedicci, sure:
|
I just tried to compile this on MAC with the latest master and it built successfully. |
Can you please run this defconfig directly:
or, at least, enable the following configs in your setup:
Particularly, I'm interest in such
|
Note the HAL version is different because I had to use my own repo to compile. |
Hi @dumitrache-adrian92 , I'm sorry, I thought I answered about this issue... Your problem is related to the compiler version you are using. We recommend you to use the same version NuttX uses for the CI. You can check it here : https://github.com/apache/nuttx/blob/master/tools/ci/docker/linux/Dockerfile#L212 Currently:
Can you please update it and let us know if your problem has gone? I'll update the documentation to highlight this. |
Hello, that was indeed the problem. Thank you for the help! Not sure how I ended up getting such an old version of the compiler. |
Tested on two devkits, one with an esp32-WROOM and one with an esp32-WROVER.
Setting up NuttX like this:
./tools/configure.sh -l esp32-{devkitc, sparrow-kit}:nsh make -j16 EXTRAFLAGS="-DESP32_IGNORE_CHIP_REVISION_CHECK"
will lead to the following error:
Basically that assert doesn't have the error argument.
I made a simple fix on a personal repo, and it seems to work (I simply added the necessary argument):
I'm not sure how to contribute to the esp-hal-3rdparty repo though (since it doesn't seem to be pull request based). I can take care of this if anyone explains the process to me since I couldn't find any info.
The text was updated successfully, but these errors were encountered: