plut0nium / 0xB2

Pro-Micro/Elite-C replacement with RP2040 and USB-C
Other
157 stars 21 forks source link

While compiling for QMK, what are the AVR pin definitions for bottom rows? #11

Closed Ardakilic closed 1 year ago

Ardakilic commented 1 year ago

Hello,

While we compile a QMK (and ZMK) Firmware for the splinky boards, we tried GPIO values for bottom row pins.

If we use GP12...GP16 and use -e CONVERT_TO=promicro_rp2040 it gives undefined error for GP12...GP16 pin definitions.

What are the values for bottom row pins for AVR ? Is it pin-compatible with Elite-C?

Elite-C for reference:

image

Thanks in advance!

Ardakilic commented 1 year ago

I don't have a means to try, but while checking the compilers on the qmk repository, found this:

// Bottom row
#define B7 12U
#define D5 13U
#define C7 14U
#define F1 15U
#define F0 16U

Since b0 and d5 are LED pins on classic blue pro micros, then adding this anywhere in keymap and adding -e CONVERT_TO=elite_pi should suffice, right?

// Bottom row
#define B7 12U
// #define D5 13U // prevent re-defining error
#define C7 14U
#define F1 15U
#define F0 16U
Ardakilic commented 1 year ago

Update: Can confirm, definitions of these do work. Thanks!