Search found 3 matches

by BivvyCoder
Tue Jun 11, 2024 2:49 pm
Forum: ESP-IDF
Topic: Help Need - PWM Servo Control with ESP32-S2
Replies: 1
Views: 215

Help Need - PWM Servo Control with ESP32-S2

I'm doing some development with an ESP32-S2 dev board and have been asked to add a servo motor. I've tried the mcpwm_servo_control example in the IDE but can't get it to compile, for instance I get an error MCPWM_TIMER_CLK_SRC_DEFAULT undeclared The code has the motor control PWM library included #i...
by BivvyCoder
Mon Jan 29, 2024 8:44 am
Forum: ESP-IDF
Topic: undefined reference when linking .obj files in Visual Studio Code and ESP32 IDE
Replies: 2
Views: 569

Re: undefined reference when linking .obj files in Visual Studio Code and ESP32 IDE

Thanks @boarchuz. That fixed it.
What's the correct emoji for embarrassed rookie? :oops:
by BivvyCoder
Sun Jan 28, 2024 5:38 pm
Forum: ESP-IDF
Topic: undefined reference when linking .obj files in Visual Studio Code and ESP32 IDE
Replies: 2
Views: 569

undefined reference when linking .obj files in Visual Studio Code and ESP32 IDE

I'm trying to break my project down into separate files to make it more manageable. Working in Visual Studio Code using the ESP32 IDE. The code works fine if I have everything in one file (app_main.c) but fails when I try to break it into more manageable components. I've split out the GPIO configura...