Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth in QMK? #17

Open
codeandr3w opened this issue Jan 3, 2022 · 5 comments
Open

Bluetooth in QMK? #17

codeandr3w opened this issue Jan 3, 2022 · 5 comments

Comments

@codeandr3w
Copy link

Hi, I really like this PCB, well done!

I'm wanting to add some customizations in QMK. If I build the G60BLE firmware from source in QMK, it doesn't support Bluetooth, but if I use your pre-built firmware with VIA, it does support Bluetooth. Is there source code where I can customize the QMK code myself and still get Bluetooth support?

Thanks!

@andtari
Copy link

andtari commented May 26, 2022

Did you get that resolved? I managed to get QMK+bluetooth working by using code from scottywei's original github pull request 9602 where there are still includes to ble.h code. Also remember to use his version bioi/g60 not bioi/g60ble that is someone else version without bluetooth support.

@codeandr3w
Copy link
Author

Oh that's really helpful, thank you. I will try that

@andrewrichards
Copy link

Sorry for the slow response, it took me a while before I could try this out. It worked great. I was using the wrong repo like you said and now I can make all the modifications I want. Thank you this was really helpful

@ltpquang
Copy link

@andtari 's comment hints me a bit, I take this code snippet from g60/rules.mk and put into g60ble/rules.mk at the same position. Then everything just works.

SRC += usart.c \
       ble.c \
       main.c

OPT_DEFS += -DPROTOCOL_BLE
OPT_DEFS += -DUART_RX1_BUFFER_SIZE=16 -DUART_TX1_BUFFER_SIZE=16
OPT_DEFS += -DUSART1_ENABLED

@will-hedges
Copy link

If anyone is still following this thread, I recently merged a PR updating the master QMK branch with this code qmk/qmk_firmware#21120

Thanks @ltpquang for the hint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants