Search found 39 matches

by egionet
Fri Apr 04, 2025 8:42 pm
Forum: General Discussion
Topic: Step by step instructions for ESP-Prog?
Replies: 2
Views: 1757

Re: Step by step instructions for ESP-Prog?

I connected my ESP-Prog, and two ports are visible on a Windows machine without using Zadig.

Introduction to the ESP-Prog Board (USB Driver) https://docs.espressif.com/projects/esp-iot-solution/en/latest/hw-reference/ESP-Prog_guide.html

JTAG Debugging (OpenOCD instructions) https://docs.espressif ...
by egionet
Fri Apr 04, 2025 5:22 pm
Forum: General Discussion
Topic: Unable to Receive RS485 MAX data after switching to Receive mode of esp32s3
Replies: 3
Views: 527

Re: Unable to Receive RS485 MAX data after switching to Receive mode of esp32s3

No worries! I ran into the same problem integrating an Analog Devices LTC2873 with an ESP32-S3.

Here is a detailed RS-485 loopback example utilizing two UARTs with TTL to RS-485 converter boards: https://github.com/K0I05/ESP32-S3_UART2X.
by egionet
Fri Apr 04, 2025 8:58 am
Forum: General Discussion
Topic: Execute Command Post Build - CMake
Replies: 6
Views: 1246

Re: Execute Command Post Build - CMake

I posted the same question in the CMake forum, and someone clarified a condition that has to be met: the target has to be in the same directory as the caller (i.e. CMakeLists.txt). VS-Code with PlatformIO builds the project in a cached folder; therefore, it will not trigger as expected. However, a ...
by egionet
Fri Apr 04, 2025 8:48 am
Forum: General Discussion
Topic: Header files are not linking properly (some variables/functions are undefined) but the project builds (vscode)
Replies: 2
Views: 1420

Re: Header files are not linking properly (some variables/functions are undefined) but the project builds (vscode)

VS-Code exhibits the same behaviour for me with PlatformIO when a 'clean' is initiated or a new component is added. However, when I restart VS-Code after a build, it stops complaining. I've gotten so used to it that I haven't bothered to investigate what causes this problem. As long as it compiles ...
by egionet
Sun Mar 30, 2025 5:50 am
Forum: General Discussion
Topic: Execute Command Post Build - CMake
Replies: 6
Views: 1246

Re: Execute Command Post Build - CMake

I implemented an example in VS Code with the ESP-IDF extension and encountered the same behavior i.e. commands are not getting asserted at specified build milestones. Additional details are available here: https://github.com/K0I05/cmake_components_20250329 . Open any suggestions. In my case, I need ...
by egionet
Sat Mar 29, 2025 2:28 pm
Forum: General Discussion
Topic: Execute Command Post Build - CMake
Replies: 6
Views: 1246

Re: Execute Command Post Build - CMake

I am starting to suspect PlatformIO as the culprit. I disabled Make, CMake, and ESP-IDF extensions and I am no longer getting compile errors, but the custom triggers are not getting asserted as expected.


#
# Versioning Information for ESP-IDF Components with GitHub, GitVersion and CMake ...
by egionet
Sat Mar 29, 2025 11:32 am
Forum: ESP-IDF
Topic: Code Generation fails within PlatformIO
Replies: 1
Views: 26683

Re: Code Generation fails within PlatformIO

I am having a similar problem with add_custom_command and add_custom_target, they aren't triggering for me either in PlatformIO.

Did you figure out what was causing your problem with PlatformIO?
by egionet
Sat Mar 29, 2025 9:01 am
Forum: General Discussion
Topic: Execute Command Post Build - CMake
Replies: 6
Views: 1246

Re: Execute Command Post Build - CMake

Thanks for the suggestion. I just gave it a go and got the following results.

If I register the component before calling add_custom_command, I do not get any errors, but the command isn't triggering an action.


#
# Versioning Information for ESP-IDF Components with GitHub, GitVersion and CMake ...
by egionet
Sat Mar 29, 2025 7:02 am
Forum: General Discussion
Topic: Execute Command Post Build - CMake
Replies: 6
Views: 1246

Execute Command Post Build - CMake

I am trying to execute two commands after a component is built, and I can't figure out how to set the TARGET properly for the CMake add custom command. I am using PlatformIO and realize that I can execute scripts post-build by configuring the .ini file, but I am trying to leverage CMake instead of a ...

Go to advanced search