MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / esp_elf_request

Function esp_elf_request

Libraries/elf_loader/src/esp_elf.c:505–514  ·  view source on GitHub ↗

* @brief Request running relocated ELF function. * * @param elf - ELF object pointer * @param opt - Request options * @param argc - Arguments number * @param argv - Arguments value array * * @return ESP_OK if success or other if failed. */

Source from the content-addressed store, hash-verified

503 * @return ESP_OK if success or other if failed.
504 */
505int esp_elf_request(esp_elf_t *elf, int opt, int argc, char *argv[])
506{
507 if (!elf || !(elf->entry)) {
508 return -EINVAL;
509 }
510
511 elf->entry(argc, argv);
512
513 return 0;
514}
515
516/**
517 * @brief Deinitialize ELF object.

Callers 1

startElfMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected