R4 Stepped Servo

The R4 integration has a stepped servo output, in 100us steps. After some looking around I tried @KurtE 's wip code, but got this error:

c:\Users\Micah Friesen\Documents\Arduino\libraries\Servo\src\renesas\Servo.cpp: In function 'int servo_timer_config(uint32_t)':
c:\Users\Micah Friesen\Documents\Arduino\libraries\Servo\src\renesas\Servo.cpp:84:25: error: 'class FspTimer' has no member named 'set_period_buffer'; did you mean 'set_period_us'?
             servo_timer.set_period_buffer(false);  // disable period buffering
                         ^~~~~~~~~~~~~~~~~
                         set_period_us

exit status 1

Compilation error: exit status 1

Is there a library that I'm missing somewhere?

Thanks.

As part of the review process, some of the functionality I had in the Servo library was migrated into the Core...

Add method to allow the GPT Timer period not to be buffered. by KurtE · Pull Request #131 · arduino/ArduinoCore-renesas (github.com)

It has been merged, but new version of the board has not yet been released.

Is it feasible to manually integrate that on my pc here? I tried just downloading it and replacing the original board package, but got this error:

In file included from C:\Users\Micah Friesen\Documents\Arduino\DestratifierController\DestratifierController.ino:3:0:
C:\Users\Micah Friesen\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.0.4\cores\arduino/Arduino.h:4:10: fatal error: api/ArduinoAPI.h: No such file or directory
 #include "api/ArduinoAPI.h"
          ^~~~~~~~~~~~~~~~~~
compilation terminated.

exit status 1

Compilation error: exit status 1

I didn't go any further, but I will if it is the only method at the moment.

I just copied the old api files into the new core driver, and it works now, and I don't have any stepping. Kind of hacky, but for now it will do. Thanks.

The directory: api

in the github sources is a Pain in the Arch. It is a symbolic link to another github project.
When the release the builds, they sort of compress that out, but the api file is a symbolic link with the contents: ../../../ArduinoCore-API/api/

I have another thread, where @ptillisch filled in a lot more details about it and on windows how to fix several other links...

Probably the best way to fix this now, would either be reinstall current build 1.0.4 and simply copy in the couple of files I changed. fstimer.h and fstimer.cpp.

Sorry

Yeah thats basically what I ended up with, is a version with your files copied in. Thanks