Skip to content

Compiling ESP32 LED : Missing hwrand.h? #436

@HSkul

Description

@HSkul

I'm at a loss as how to fix what appears to be a path issue when trying to compile esp32/led demo program. When I run make -C examples/esp32/led all (menuconfig runs fine) I end up getting the following error:

CC examples/esp32/led/build/wolfssl/wolfssl-4.1.0/src/bio.o In file included from ~/esp-homekit-demo/components/common/wolfssl/wolfssl-4.1.0/wolfssl/wolfcrypt/settings.h:199, from ~/esp-homekit-demo/components/common/wolfssl/wolfssl-4.1.0/src/bio.c:22: ~/esp-homekit-demo/components/common/wolfssl/user_settings.h:4:10: fatal error: esp/hwrand.h: No such file or directory

hwrand.h only comes with esp-open-rtos which I do have installed, but as far as I understand it is only for esp8266. So I'm at a loss on what I have missed in the installation.

BTW, I'm using version 4.2 of esp-idf as version 5.0 gave me errors that the esp-idf/make folder contents was missing (the make folder was completely missing in that version so I'm not sure if it installed correctly or just incompatible).

Thanks,

H

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions