Search found 18 matches

by uC_Jon
Tue Jul 30, 2024 4:20 pm
Forum: General Discussion
Topic: Installing several different versions of ESP-IDF in VS Code - particularly the tools!
Replies: 5
Views: 1885

Re: Installing several different versions of ESP-IDF in VS Code - particularly the tools!

I'm fairly sure that you will get a different version of the python environment for each version of ESP-IDF in vscode. And as as far as the tools (compilers/debugger/etc.) are concerned it may re-use some of them and/or create versions in the subdirectories under each tool such as .espressif/toolnam...
by uC_Jon
Fri Jul 26, 2024 10:18 am
Forum: ESP-IDF
Topic: vscode how to select which project is being used in a multi-project workspace (not multi-config) set up?
Replies: 1
Views: 782

Re: vscode how to select which project is being used in a multi-project workspace (not multi-config) set up?

For the record in case others have a similar issue... It was staring me right in the face all along :shock: ! The "project" in a multi-folder/multi-project workspace can be selected by either pressing the little folder icon, in front of the setting/clean/build icons, in the task bar (ESP-IDF Current...
by uC_Jon
Tue Jul 23, 2024 11:12 am
Forum: General Discussion
Topic: new user problems & roll-in misunderstandings
Replies: 1
Views: 643

Re: new user problems & roll-in misunderstandings

Hi there, In simple terms if you are using Arduino then you must use the Arduino documentation, if you're using the esp-idf then the documentation for that. Arduino kinda/sorta does it own thing even if its functionality copies a lot of the stuff that the espressif idf provides. PlatfromIO is a deve...
by uC_Jon
Tue Jul 23, 2024 10:22 am
Forum: ESP-IDF
Topic: vscode how to select which project is being used in a multi-project workspace (not multi-config) set up?
Replies: 1
Views: 782

vscode how to select which project is being used in a multi-project workspace (not multi-config) set up?

I want/like to layout my projects/components in a way similar to the following (please note, the exact structure is immaterial and subject to change!): component_dir/ examples/ .vscode/ main/ example_source_code.c CMakeLists.txt CMakeLists.txt (project) component_source.c CMakeLists.txt idf_componen...
by uC_Jon
Thu May 02, 2024 7:00 pm
Forum: ESP-IDF
Topic: lvgl 9.1.0 with latest esp-idf (5.2)
Replies: 2
Views: 8678

Re: lvgl 9.1.0 with latest esp-idf (5.2)

I've found that the esp_lvgl_port component makes things much easier with regards "linking" the physical devices (in my case I2C touch and SPI lcd display) to the lvgl 9.1.0 graphics component. dependencies: idf: ">=5.3" lvgl/lvgl: "^9.1" espressif/esp_lvgl_port: "^2.0.0" If you've done work with th...
by uC_Jon
Wed Apr 24, 2024 9:35 am
Forum: ESP-IDF
Topic: Having idf_component.yml issues when trying to create my own components.
Replies: 2
Views: 1448

Re: Having idf_component.yml issues when trying to create my own components.

Oh fiddle sticks! I did some more digging into the IDF programming guide documentation and it seems that the name of the directory is very important to the name of the component: https://docs.espressif.com/projects/esp-idf/en/latest/esp32c6/api-guides/build-system.html#cmake-component-properties I g...
by uC_Jon
Tue Apr 23, 2024 10:35 am
Forum: ESP-IDF
Topic: Having idf_component.yml issues when trying to create my own components.
Replies: 2
Views: 1448

Re: Having idf_component.yml issues when trying to create my own components.

I have created an absolute minimum project that shows the issue. https://github.com/i400s/show-component-bug/tree/main The project does a dependency to espressif/esp_lcd_touch so that the managed_components directory is created as it is within my components. The project then works if the directory n...
by uC_Jon
Mon Apr 22, 2024 11:39 am
Forum: ESP-IDF
Topic: Having idf_component.yml issues when trying to create my own components.
Replies: 2
Views: 1448

Having idf_component.yml issues when trying to create my own components.

I have been hitting my head against the proverbial brick wall trying to create my own components... Having found they exist they seem an excellent way to sub-divide a project into multiple independent units. It seems that the idf_component.yml files are being ignored in some specific cases causing t...
by uC_Jon
Tue Apr 09, 2024 6:17 pm
Forum: Hardware
Topic: A hardware/software processing logic question.
Replies: 5
Views: 1702

Re: A hardware/software processing logic question.

I guess I could 1) make the task loop wait on a new task notification. 2) poll all the devices (or until a device says its interrupted). 3) test for the "int" pin still being low and if so loop through the devices again. 4) goto 1 when no devices are still pulling the "int" pin low. You're absolute...
by uC_Jon
Tue Apr 09, 2024 4:08 pm
Forum: Hardware
Topic: A hardware/software processing logic question.
Replies: 5
Views: 1702

Re: A hardware/software processing logic question.

Some quick thoughts: 1) The interrupt outputs of I2C chips are commonly active LOW (open drain), so That's true, I was just adapting the code from the example... I should have put GPIO_INTR_LOW_LEVEL and changed the code accordingly. 2) I would process FALLING edge interrupts in the following manne...