9 years, 4 months ago.

What board is this program compatible with? Can I use this in stm32 nucleo?

I have error compiling it. It says that "Identifier "LCP_USB" is undifined. What do I do to make this compatible with stm32 nucleo?

Question relating to:

Based on Peter Barrett\'s work on BlueUSB, I added support for the PS3 Sixaxis controller (both USB and Bluetooth). When connecting a Sixaxis via USB, it will be paired with … bluetooth, HCI, L2CAP, PS3, USB

1 Answer

9 years, 3 months ago.

BlueUSB (and this derivative - PS3_BlueUSB) can only be used on the LPC1768.

The official USBHost lib is AFAIK still only for the LPC1768. However a user made a USBHost lib which should work on the F401: https://mbed.org/users/va009039/code/F401RE-USBHost/ (Btw despite its name it is not only F401, also the Freescale ones are supported). The same user ported btstack (https://code.google.com/p/btstack/) to:

I have not tested this stack on the Nucleo F401RE or the FRDM-KL46Z, as I do not own these boards. I have tested it on the the LPC1768 and I'm currently in the process of creating a stack manager which will handle HID devices (bluetooth keyboard, mouse, PS3, ...) and SPP. Let me know if you want to test this stack manager on your STM32 Nucleo board once available.