ADC in custom Bootloader
Posted: Wed Mar 01, 2023 8:02 am
Hello,
is it possible to use the ADC APIs in the 2nd-level-bootloader? (I use a ESP32-C3)
I can not integrate the "driver/adc.h" in the bootloader. In the official ESP-IDF description it is written:
"In the bootloader space, you cannot use the drivers and functions from other components. If necessary, then the required functionality should be placed in the project’s bootloader directory (note that this will increase its size)."
Does it mean I should copy the "esp-idf" folder in my custom bootloader folder?
Is there any example application on using ADC in bootloader? Or at least a hint of which layer to use, HAL, LL or Register( )?
is it possible to use the ADC APIs in the 2nd-level-bootloader? (I use a ESP32-C3)
I can not integrate the "driver/adc.h" in the bootloader. In the official ESP-IDF description it is written:
"In the bootloader space, you cannot use the drivers and functions from other components. If necessary, then the required functionality should be placed in the project’s bootloader directory (note that this will increase its size)."
Does it mean I should copy the "esp-idf" folder in my custom bootloader folder?
Is there any example application on using ADC in bootloader? Or at least a hint of which layer to use, HAL, LL or Register( )?