Using gpio_ll_set_level in call_start_cpu0 in bootloader_start.c
Posted: Mon Jun 02, 2025 8:29 am
Hi,
I'm porting a project from IDF 4.x to 5.x and need to call
esp_rom_gpio_pad_select_gpio(PIN_LED);
gpio_ll_input_disable(&GPIO, PIN_LED);
gpio_ll_output_enable(&GPIO, PIN_LED);
gpio_ll_set_level(&GPIO, PIN_LED, 0);
in call_start_cpu0() in
bootloader_components/main/bootloader_start.c
My problem is that
#include "hal/gpio_ll.h" is throwing an error
"hal/gpio_ll.h: No such file or directory"
What do I need to do to include "hal/gpio_ll.h" in bootloader_start.c to use gpio_ll_set_level() ?
Thank you and best regards,
Mike
I'm porting a project from IDF 4.x to 5.x and need to call
esp_rom_gpio_pad_select_gpio(PIN_LED);
gpio_ll_input_disable(&GPIO, PIN_LED);
gpio_ll_output_enable(&GPIO, PIN_LED);
gpio_ll_set_level(&GPIO, PIN_LED, 0);
in call_start_cpu0() in
bootloader_components/main/bootloader_start.c
My problem is that
#include "hal/gpio_ll.h" is throwing an error
"hal/gpio_ll.h: No such file or directory"
What do I need to do to include "hal/gpio_ll.h" in bootloader_start.c to use gpio_ll_set_level() ?
Thank you and best regards,
Mike