Search found 5 matches

by MyControllab
Sun Apr 21, 2024 2:22 pm
Forum: ESP-IDF
Topic: component.mk vs CMakeLists.txt
Replies: 1
Views: 647

component.mk vs CMakeLists.txt

Hello

I am new to ESP-IDF and i was curious about the difference between component.mk and CMakeLists.txt.
What can component.mk do what CMakelists.txt cannot do ?

thanks in advance
by MyControllab
Sun Mar 03, 2024 2:51 pm
Forum: ESP-IDF
Topic: file not found issue
Replies: 1
Views: 935

file not found issue

Hello I am new to ESP-IDF and i have a question about adding a component. I have added a component running the command "git clone https://github.com/jvpernis/esp32-ps3.git components/ps3" When i build the project i get an error in my ps3testPrj.c file "PS3.h" file not found (see attachment) I have s...
by MyControllab
Sat Aug 20, 2022 2:32 pm
Forum: ESP-IDF
Topic: Error when using IRAM_ATTR
Replies: 2
Views: 2438

Re: Error when using IRAM_ATTR

Hello

Thank for the respons.
I added esp_system.h but that doesn't make any difference

with kind regards
Tonnie
by MyControllab
Tue Aug 16, 2022 1:08 pm
Forum: ESP-IDF
Topic: Error when using IRAM_ATTR
Replies: 2
Views: 2438

Error when using IRAM_ATTR

Hello I am new to ESP-IDF and I have create my first application with an interrupt handler and the application is working fine (Switching a led on/off based on a button interrupt). But Visual Studio Code sees 3 problems in my code at line "void IRAM_ATTR button_isr_handler(void *args)". When i remov...
by MyControllab
Sat Jul 16, 2022 11:02 am
Forum: ESP-IDF
Topic: xTaskDelayUntil
Replies: 0
Views: 953

xTaskDelayUntil

Hello I use VScode and ESP-IDF. I am new to freeRTOS and ESP32 and i have question about this line of code xTaskDelayUntil(&xLastWakeTime, pdMS_TO_TICKS(800)); I get an error on the macro pdMS_TO_TICKS saying "identifier "CONFIG_FREERTOS_HZ" is undefined". But when i look into sdkconfig my CONFIG_FR...