Other Problem with ESP32 and Servo library...

rbghongade

Active Member
Licensed User
Longtime User
Dear friends,
Tried EP32 LOLIN32 with servo but am getting the following compilation error:
B4X:
Parsing code.    (0.00s)
Compiling code.    (0.07s)
Building project    (0.04s)
Compiling & deploying Ino project (WEMOS LOLIN32 - COM32)    Error
Loading configuration...
Initializing packages...
Preparing boards...
Verifying...
WARNING: library Servo claims to run on (avr, sam, samd, nrf52, stm32f4) architecture(s) and may be incompatible with your current board which runs on (esp32) architecture(s).
In file included from D:\DEVELO~1\WEMOSP~1\SERVO\Objects\bin\sketch\B4RDefines.h:22:0,
                 from D:\DEVELO~1\WEMOSP~1\SERVO\Objects\src\src.ino:1:
C:\Program Files (x86)\Arduino\libraries\Servo\src/Servo.h:73:2: error: #error "This library only supports boards with an AVR, SAM, SAMD, NRF52 or STM32F4 processor."
#error "This library only supports boards with an AVR, SAM, SAMD, NRF52 or STM32F4 processor."
  ^
exit status 1

Clearly the ESP32 architecture is not supported!
 
Top