Need help with warning in PlatformIO ESP-IDF for ESP32-S3 timer ISR

Hi guys I facing this issue with my esp32-s3 timer isr i am using platformio esp-idf any clue to solve this warning?
attachment 0
Solution:
This represents memory regions inside the internal RAM (IRAM) of ESP32. I don't use PlatformIO but usually because of the deprecated timer.h build failed. In your case, it seems like IDE couldn't locate the relevant libraries. Please try this example code to test and also follow instructions from the readme file https://github.com/espressif/esp-idf/blob/master/examples/system/esp_timer/main/esp_timer_example_main.c
GitHub
esp-idf/examples/system/esp_timer/main/esp_timer_example_main.c at ...
Espressif IoT Development Framework. Official development framework for Espressif SoCs. - espressif/esp-idf
Jump to solution
5 Replies
v_ajay
v_ajay2mo ago
Declaration (src/Test_timer.c:32:23): This is where the function is first introduced before its actual definition. Make sure the section attribute here matches the one you intend to use. Definition (src/Test_timer.c:51:1): This is where the function's code is actually written. The section attribute here must match the one in the declaration. Choose which section you actually want to use (.iram1.0 or .iram1.1), and then make sure both the declaration and definition of timer_callback use that same section. Hope this will resolve the warning. @Umesh Lokhande @MCU, MPU & Firmware seniors Please give feedback about the answer
kingrom
kingrom2mo ago
what is (.iram1.0 or .iram1.1) ?
Solution
Umesh Lokhande
Umesh Lokhande2mo ago
This represents memory regions inside the internal RAM (IRAM) of ESP32. I don't use PlatformIO but usually because of the deprecated timer.h build failed. In your case, it seems like IDE couldn't locate the relevant libraries. Please try this example code to test and also follow instructions from the readme file https://github.com/espressif/esp-idf/blob/master/examples/system/esp_timer/main/esp_timer_example_main.c
GitHub
esp-idf/examples/system/esp_timer/main/esp_timer_example_main.c at ...
Espressif IoT Development Framework. Official development framework for Espressif SoCs. - espressif/esp-idf
kingrom
kingrom2mo ago
thank you :goodjob:
youcef_ali
youcef_ali2mo ago
You need to create a function using the same prototype, this function is called when an interrupt is triggered
Want results from more Discord servers?
Add your server
More Posts
How jenkins can be used for IoT data ?Just wanted to know how jenkins can be used for IoT data ? especially by interfacing it with RPI4.Standoff Results in Robot Dog Disabled by SuspectIn Massachusetts, during a standoff, a suspect disabled a police robot dog. Despite being shot, the Blind guideActually i am working on Blind guide with implication of IoT, but right now i making the diagram of How ultrasound became ultra small: ft. MEMShttps://spectrum.ieee.org/mems-ultrasound-historyHas anyone recorded I2S microphone data and sent it through MQTT or BLE using ESP32?hi team, Has anyone recorded I2S microphone data and sent it through MQTT or BLE using ESP32?Please does anyone have any idea on scheduling algorithms on RTOS for automotive control systems ?Good day guys ! Please does anyone have any idea on scheduling algorithms on RTOS for automotive cSwitching from L3G4200D to MPU6050 and Updating I2C Address in Arduino CodeHi everyone, can anyone help me with this, I'm building a quadcopter following this schematic, and IHas anyone already used the MQTT protocol with an ESP32 for external access to the local network?Hi! Has anyone already used the MQTT protocol with an ESP32 for external access to the local networkWhat is the maximum data size that can be sent using MQTT on an ESP32, and is this task blocking?Hi team, What is the maximum data size that can be sent using MQTT on an ESP32, and is this task bloI'm searching for a cnc cut design for my flight frame, does anyone have a ready design?Hi everyone, I'm searching for a cnc cut design for my flight frame, does anyone have a ready design