ESP32 elf loader example

User avatar
Vader_Mester
Posts: 300
Joined: Tue Dec 05, 2017 8:28 pm
Location: Hungary
Contact:

ESP32 elf loader example

Postby Vader_Mester » Sat Apr 02, 2022 7:38 am

Hi Guys,

I tried to search the forum, with little luck about elf-loader examples.
Google is also not helping either, maybe one of you can provide some information.

My goal is to be able to compile an application as an .elf file, that an elf-loader in the ESP32 can load.
I developed a system, which functions as a light-weight OS, and I wanna integrate this into it, so others can make applications for it without me exposing source code for them.
Basically I load the application as an elf file.

As far as I know, it is possible, there is an old version of it by joltwallet and niicoooo, but these are pretty old.

I was using the IDF master branch a while ago, and there was an option in menuconfig to compile for an elf-loader, but no info. I would appreciate if you could give me a hint on this issue :)

Thanks!

Code: Select all

task_t coffeeTask()
{
	while(atWork){
		if(!xStreamBufferIsEmpty(mug)){
			coffeeDrink(mug);
		} else {
			xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
			xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
		}
	}
	vTaskDelete(NULL);
}

rpiloverbd
Posts: 101
Joined: Tue Mar 22, 2022 5:23 am

Re: ESP32 elf loader example

Postby rpiloverbd » Sat Apr 02, 2022 2:18 pm


Who is online

Users browsing this forum: No registered users and 100 guests