Search found 299 matches
- Mon Apr 08, 2024 6:06 pm
- Forum: General Discussion
- Topic: adding a file to an ESP-IDF project under VScode?
- Replies: 4
- Views: 1956
Re: adding a file to an ESP-IDF project under VScode?
It depends upon how your current `CMakeLists.txt` specifies the files. For example, if it globs them like this: file(GLOB_RECURSE app_sources ${CMAKE_SOURCE_DIR}/main/*.*) idf_component_register(SRCS ${app_sources}) Then you just need to add the file to the `main` folder and you're good to go. Other...
- Mon Mar 25, 2024 4:20 pm
- Forum: ESP-IDF
- Topic: SPI signal @16MHz looks terrible
- Replies: 6
- Views: 588
Re: SPI signal @16MHz looks terrible
OK, I've shortened the length of wires by half and now it looks better. Still far from perfect, but I guess it will be fine when all components are on one PCB. For sure. Shortening distance, especially having the signals be on traces on a single PCB, and reducing frequency, if possible, will mitiga...
- Mon Mar 25, 2024 3:04 pm
- Forum: General Discussion
- Topic: Make the type of this parameter a pointer-to-const warning when declaring a FreeRTOS task
- Replies: 12
- Views: 1578
Re: Make the type of this parameter a pointer-to-const warning when declaring a FreeRTOS task
I do not think that the issue is related to vTaskDelay(pdMS_TO_TICKS(portTICK_PERIOD_MS)) I think it is related to task function declaration: static void HELLO_TASK(void *param) You're right! I'm so sorry and misread your original post and missed the detail you noted. My apologies. Make the type of...
- Fri Mar 22, 2024 1:55 pm
- Forum: General Discussion
- Topic: Make the type of this parameter a pointer-to-const warning when declaring a FreeRTOS task
- Replies: 12
- Views: 1578
Re: Make the type of this parameter a pointer-to-const warning when declaring a FreeRTOS task
FreeRTOS has a macro with casting built in, `pdMS_TO_TICKS`. I use this all the time instead of literally putting the conversion in as `1000/period_in_ms`. So I would write: vTaskDelay(pdMS_TO_TICKS(portTICK_PERIOD_MS)); Have you tried that and does it get rid of the warning? The only caveat is that...
- Tue Mar 19, 2024 3:23 pm
- Forum: Hardware
- Topic: ESP32 - IO33 - levels - 2V
- Replies: 2
- Views: 617
Re: ESP32 - IO33 - levels - 2V
I have seen this behavior as well. I think phatpaul's explanation and suggested method of handling the pin are correct. I've used the pull-up successfully.
- Sat Feb 10, 2024 2:39 pm
- Forum: ESP-IDF
- Topic: I2C Read returns incorrect data while Physical Bus has correct Data.
- Replies: 3
- Views: 580
Re: I2C Read returns incorrect data while Physical Bus has correct Data.
I think some details would help.
What ESP32 processor are you using?
What version of ESP-IDF are you using?
What are your I2C port assignments?
Can you show your code that configures the I2C?
Can you show your code that reads the I2C?
What ESP32 processor are you using?
What version of ESP-IDF are you using?
What are your I2C port assignments?
Can you show your code that configures the I2C?
Can you show your code that reads the I2C?
- Thu Feb 08, 2024 2:19 am
- Forum: General Discussion
- Topic: sdkconfig showing error
- Replies: 2
- Views: 458
Re: sdkconfig showing error
Is your development environment recently installed? It looks like there's something wrong with your installation. It isn't finding the tools. How did you install it? What IDE are you using?
- Wed Jan 10, 2024 4:53 pm
- Forum: ESP-IDF
- Topic: mDNS not found on ESP IDF 5.1.2
- Replies: 9
- Views: 60909
Re: mDNS not found on ESP IDF 5.1.2
The build process DOES NOT help download a component. This only happens after idf.py reconfigure command. Yes, I think that is described in the details of the link I provided. The reconfiguration is needed for the process to work. It would indeed be nice to have access to all these things from the ...
- Tue Jan 09, 2024 11:26 pm
- Forum: ESP-IDF
- Topic: Why is it not good practice to call esp_wifi_connect() after esp_wifi_disconnect()?
- Replies: 11
- Views: 97919
- Tue Jan 09, 2024 11:07 pm
- Forum: ESP-IDF
- Topic: mDNS not found on ESP IDF 5.1.2
- Replies: 9
- Views: 60909
Re: mDNS not found on ESP IDF 5.1.2
Thank you for the suggestion, but the only thing this command does is just update the content of idf_component.yml file. The requested component still doesn't appear in ESP-IDF directory. Does this require any additional steps? Did you try doing the build after creating the `idf_component.yml` file...