Hi Peter: This might be caused by the recent change to the RISC-V GCC
Toolchain in the Docker Image. I have reverted the change, I'll restart
your CI Builds in a while. Thanks!

https://github.com/apache/nuttx/pull/19035

Lup

On Thu, Jun 4, 2026 at 5:09 AM Peter Barada <[email protected]> wrote:

>
> My pull request (that extends hash crypto hash test utility) fails
> building risc-v-02 job (line 262 of log) with:
>
> Error:
> /github/workspace/sources/nuttx/build/arch/risc-v/src/common/espressif/esp-hal-3rdparty/components/esp_hw_support/esp_gpio_reserve.c:13:47:
>
> error: implicit declaration of function 'ATOMIC_VAR_INIT'; did you mean
> 'ATOMIC_FLAG_INIT'? [-Wimplicit-function-declaration]
>     13 | static _Atomic uint64_t s_reserved_pin_mask =
> ATOMIC_VAR_INIT(~(SOC_GPIO_VALID_GPIO_MASK));
>        |  ^~~~~~~~~~~~~~~
>        |  ATOMIC_FLAG_INIT
> Error:
> /github/workspace/sources/nuttx/build/arch/risc-v/src/common/espressif/esp-hal-3rdparty/components/esp_hw_support/esp_gpio_reserve.c:13:47:
>
> error: initializer element is not constant
>
>
> Any ideas?
>
> Thanks in advance!
>
> --
> Peter Barada
> [email protected]
>
>

Reply via email to