Search found 16 matches

by itavero
Wed Feb 07, 2024 8:36 am
Forum: ESP-IDF
Topic: Using idf.cmake in a custom CMake project with multiple executables
Replies: 7
Views: 5811

Re: Using idf.cmake in a custom CMake project with multiple executables

The annoying part we ran into, is that ESP-IDF also includes and preconfigures all its components (based on what's in the sdkconfig if I recall correctly). Effectively this would mean that we'd probably have to create an sdkconfig-specific target for each component that is added. To be honest, for o...
by itavero
Thu Nov 16, 2023 8:56 am
Forum: ESP-IDF
Topic: Using idf.cmake in a custom CMake project with multiple executables
Replies: 7
Views: 5811

Re: Using idf.cmake in a custom CMake project with multiple executables

Another update from my side. While trying to integrate the idf.cmake as we would expect, we ran in to some issues: The CMake script for esptool_py incorrectly assumed that the target name always matches the name of the binary it produces (see PR #12558 ) It seems to matter where idf.cmake is include...
by itavero
Wed Oct 25, 2023 12:55 pm
Forum: ESP-IDF
Topic: Using idf.cmake in a custom CMake project with multiple executables
Replies: 7
Views: 5811

Re: Using idf.cmake in a custom CMake project with multiple executables

This single repository contains our embedded code base for multiple products. Some products use Espressif MCUs, some products use other ARM Cortex-M33 MCUs or a combination of an ARM and ESP. Currently we are setting this up as one big CMake project, with individual executable targets for specific p...
by itavero
Fri Oct 20, 2023 9:33 am
Forum: ESP-IDF
Topic: Using idf.cmake in a custom CMake project with multiple executables
Replies: 7
Views: 5811

Re: Using idf.cmake in a custom CMake project with multiple executables

Diving a bit into the CMake scripts in ESP-IDF, it seems that the main problem is in tools/cmake/build.cmake . All options and such are added to a single __idf_build_target target. If we could extend this to optionally be able to pass a custom name (which could simply be used as a suffix to this), I...
by itavero
Thu Oct 19, 2023 7:41 pm
Forum: ESP-IDF
Topic: Using idf.cmake in a custom CMake project with multiple executables
Replies: 7
Views: 5811

Re: Using idf.cmake in a custom CMake project with multiple executables

Briefly scanned this GitHub issue: https://github.com/espressif/esp-idf/issues/3640 If I understand correctly this is currently not possible without duplicating and extending a lot of the scripting. That's a real pitty. We have other MCUs as well for which we create reusable software components. So ...
by itavero
Thu Oct 19, 2023 3:12 pm
Forum: ESP-IDF
Topic: Using idf.cmake in a custom CMake project with multiple executables
Replies: 7
Views: 5811

Using idf.cmake in a custom CMake project with multiple executables

In our company we are working on a mono-repo approach for our new platform products. For these products some of them include an ESP32-S3 or an ESP32-C3. The exact chip isn't that important, as for each architecture we'll need a different toolchain thus a different CMake configure step. Within a sing...
by itavero
Tue Jun 07, 2022 1:29 pm
Forum: ESP-IDF
Topic: ESP32-S3 RGB LCD peripheral: weird glitches
Replies: 2
Views: 2899

ESP32-S3 RGB LCD peripheral: weird glitches

Hi, I'm still working on a proof of concept with the ESP32-S3 to determine if the RGB LCD peripheral is suitable for our needs. For the proof of concept, I'm now using the master branch of the ESP-IDF on a dev kit I got from AliExpress (which also includes some sample code) . When animations occur o...
by itavero
Fri Mar 18, 2022 8:53 am
Forum: ESP-IDF
Topic: ESP32-S3 RGB Panel controller example for ESP-IDF v4.4
Replies: 10
Views: 9151

Re: ESP32-S3 RGB Panel controller example for ESP-IDF v4.4

ESP_Sprite wrote:
Thu Feb 17, 2022 3:45 am
Fwiw, the Taobao link is here.
Finally succeeded to get a Taobao account so I can view the link. Are you sure this is the panel used with the RGB LCD example?
The code of the example mentions a resolution of 480x272, whereas the panel you've linked to is 800x480.
by itavero
Wed Feb 23, 2022 12:02 pm
Forum: ESP-IDF
Topic: ESP32-S3 RGB Panel controller example for ESP-IDF v4.4
Replies: 10
Views: 9151

Re: ESP32-S3 RGB Panel controller example for ESP-IDF v4.4

Not sure how to get on Taobao from here, but I got myself a "simpler" panel as well. What I'm noticing now is that (even without the LCD connected), the PCLK and DE have 0V low and 3.3V high, but the HS and VS go between 0V and about 1.7V. I would expect the levels to be similar for all these pins. ...