would somebody be so kind and post me here disassembly of the following code, specifically calls mentioned in the comments, please?
1. Direct calling IDF and FreeRTOS functions
main.c
Code: Select all
#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "driver/timer.h"
void app_main() {
vTaskDelay(1000); // 1.1. disassembly of direct FreeRTOS function call
timer_set_counter_value(0, 1, 100); // 1.2. disassembly of direct IDF function call
}myaliases.h
Code: Select all
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "driver/timer.h"
void MyTaskDelay(const TickType_t MyTicksToDelay) asm ("vTaskDelay");
esp_err_t MyTimerSetCounterValue(timer_group_t MyGroupNum, timer_idx_t MyTimerNum, uint64_t MyLoadVal) asm ("timer_set_counter_value");Code: Select all
#include <stdio.h>
#include "myaliases.h"
void app_main() {
MyTaskDelay(1000); // 2.1. disassembly of the asm labeled FreeRTOS function call
MyTimerSetCounterValue(0, 1, 100); // 2.2. disassembly of the asm labeled IDF function call
}This is related to my previous questions:
- Function alias for IDF
- How to show disassembly using VS Code without debugging HW?
Thank you
Have a nice day
