Page 1 of 1

ESP32 bootloader, tusb_msc and adc example integration

Posted: Wed Mar 19, 2025 8:59 am
by shubhamm098
I want to run the mass storage when bootloader starts without any app. Is it possible to integrate the tusb-msc example and bootloader of esp32 together? if yes how?
Along with this i want to integrate the nvs and adc component also to read the voltage level in bootloader. Please let me now how can i achieve this?
Here is the tusb_msc example

https://github.com/espressif/esp-idf/bl ... /README.md


Refrence discussion of bootloader

viewtopic.php?t=36096

Re: ESP32 bootloader, tusb_msc and adc example integration

Posted: Wed Mar 19, 2025 9:31 am
by Sprite
Not trivially, as most drivers in ESP-IDF depend on FreeRTOS running, and there's no FreeRTOS in the bootloader. Additionally, the bootloader needs to run from a limited amount of space in RAM; it's likely that all the software you have in mind exceeds that.