Compilation error: ‘ledcSetup’ was not declared in this scope

I’m working through the ESP32 starter kit and it TUTs this is only the 2nd TUT
2.2 fading LED and i can not get past this.
I’ve followed all the steps repeatedly and this keeps happening.

C:\Users\tymed\OneDrive\Documents\ESP32\esp32-starter-kit-main\c\codes\2.2_fading_led\2.2_fading_led.ino: In function ‘void setup()’:
C:\Users\tymed\OneDrive\Documents\ESP32\esp32-starter-kit-main\c\codes\2.2_fading_led\2.2_fading_led.ino:6:3: error: ‘ledcSetup’ was not declared in this scope
6 | ledcSetup(0, 5000, 8); // Configure the PWM channel (0) with 5000Hz frequency and 8-bit resolution
| ^~~~~~~~~
C:\Users\tymed\OneDrive\Documents\ESP32\esp32-starter-kit-main\c\codes\2.2_fading_led\2.2_fading_led.ino:7:3: error: ‘ledcAttachPin’ was not declared in this scope; did you mean ‘ledcAttach’?
7 | ledcAttachPin(ledPin, 0); // Attach the LED pin to the PWM channel
| ^~~~~~~~~~~~~
| ledcAttach

exit status 1

Compilation error: ‘ledcSetup’ was not declared in this scope

I have no experience with ESP32 Starter Kit, but ledcAttach, ledcSetup and other similar functions are the part of Arduino-ESP32 LEDC API.
So make sure you’ve selected the correct board in the Boards Manager.