How to modify pre-built (esp32 IDF)source files.
Posted: Sun Sep 08, 2019 10:51 pm
Hello,
I'm trying to modify the 'clk-160 prescaler' inside the 'mcpwm.c' source file (ESP32 IDF). I need more speed and resolution for the project I'm building. It's has been pre-scaled down to (~1Mhz) so the high frequency carrier can operate over top of the output. I'm not using the 'carrier' and need the 'mcpwm' running at full speed (160Mhz). I am able to do it in Visual Studio with Visual GDB as it complies all source code but the Arduino environment has all pre-complied binaries libs. I've tried manual 'Registar' manipulation which works, but it has to many consequences. I have to many Arduino libraries included inside my project for me to port it all inside visual studio.
Can someone point me in the right direction please.
I'm trying to modify the 'clk-160 prescaler' inside the 'mcpwm.c' source file (ESP32 IDF). I need more speed and resolution for the project I'm building. It's has been pre-scaled down to (~1Mhz) so the high frequency carrier can operate over top of the output. I'm not using the 'carrier' and need the 'mcpwm' running at full speed (160Mhz). I am able to do it in Visual Studio with Visual GDB as it complies all source code but the Arduino environment has all pre-complied binaries libs. I've tried manual 'Registar' manipulation which works, but it has to many consequences. I have to many Arduino libraries included inside my project for me to port it all inside visual studio.
Can someone point me in the right direction please.