Hello from an new User,
my Name is Bernd and i have used some Microchips over the Years - mostly in the Past ( ASM ).
Now i restart a Bit with Arduino but mostly espressif chips ( ESP32 ).
Some small Projektes are working after initial Infos from People of the Arduinoforum.
( ESP32-Dev Kit´s 3 & 4 )
Now i want to use an USB-Keyboard as Input Device for an Esp32 - an found an Library from EspressIF witch uses an software Interface
( ESP32-USB-Soft-Host ) for the Interfacing of the USB-Device.
First Try´s failed because of many compiling Errors from ArduinoIDF - witch i assume are not related in the Sketch itself.
( Demosketches included after installing the EspressIF Lib ).
Exampleerrorcode:
-----------begin-------------
/home/bernd/Arduino/libraries/ESP32-USB-Soft-Host/src/ESP32-USBSoftHost.cpp:274:79: note: in expansion of macro 'TIMER_SCALE'
274 | timer_set_alarm_value(TIMER_GROUP_0, TIMER_0, (double)TIMER_INTERVAL0_SEC * TIMER_SCALE);
| ^~~~~~~~~~~
exit status 1
Compilation error: exit status 1
------------end---------------
Error looks like to be in the Lib - not the Mainsketch
I read about Problems with non Arduinolib´s in ArduinoIDF - shell i switch to an other IDF ?
Not all ESP32 seems to work for USB-Host - but my Arduino Nano ESP32-S3 should be ok.
Any Tipps for me ?
Greetings from Germany
Bernd
USB-Keyboard as Inputdevice with ESP32
-
- Posts: 9708
- Joined: Thu Nov 26, 2015 4:08 am
Re: USB-Keyboard as Inputdevice with ESP32
FWIW, that library is not made by Espressif, so I can't say too much about it. What may have happened, though, is that it was written for some version of ESP-IDF that is different from the ESP-IDF that your current Arduino version uses.
Who is online
Users browsing this forum: Google [Bot] and 43 guests