[SOLVED] generic blue pill clone as USB keyboard
taxibunny Wed Apr 25, 2018 6:29 pm
I’d like to set up my generic blue pill clone to act as a USB HID keyboard. I’ve followed the installation instructions at https://github.com/rogerclarkmelbourne/ … stallation , flashed the bootloader with the ‘hello world’ message over serial, and got the ‘blink’ example code to upload over USB too. it’s working. However, I can’t get any HID keyboard code working. ‘simplekeyboard’ in the ‘examples for generic STM32F103C series’ example sketches uploads, but doesn’t seem to do anything – the board still shows up in USBTreeViewer as ‘COM10 Maple Mini’, other suggestions I’ve found around the forum fail to compile due to not being able to find the libraries/me not being able to install the libraries properly.
Can anyone help? I’ve done a little bit of 8-bit AVR programming in Arduino before, and some python and other interpreted languages, but I’m lost when it comes to makefiles and what seems to be a whole different ball game when using libraries for the STM32.
Andy.
