ESP32 bootloader, tusb_msc and adc example integration

shubhamm098
Posts: 6
Joined: Wed Mar 19, 2025 8:45 am

ESP32 bootloader, tusb_msc and adc example integration

Postby shubhamm098 » Wed Mar 19, 2025 8:59 am

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

Sprite
Espressif staff
Espressif staff
Posts: 10599
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 bootloader, tusb_msc and adc example integration

Postby Sprite » Wed Mar 19, 2025 9:31 am

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.

Who is online

Users browsing this forum: Barkrowler, Bing [Bot], Semrush [Bot] and 5 guests