-
Notifications
You must be signed in to change notification settings - Fork 863
Description
Hello, I followed the source code build guide here.
First of all, it forgets to mention that we need to setup qmk python software and install avr-gcc and avr-libc. I know it might be obvious but nevertheless these are simple steps.
Second, I get the following error when compiling:
Compiling: keyboards/keyball/lib/keyball/keyball.c keyboards/keyball/lib/keyball/keyball.c:54:24: error: initializer element is not constant
.pressing_keys = { BL, BL, BL, BL, BL, BL, 0 },
Upon investigating I found that this was the cause:
static const char BL = '\xB0';
And by changing to:
#define BL '\xB0'
My question is, this could be a issue with the version of avr-gcc?
Mine is 5.4.0, if so, would be good to include supported compiler versions on the build guide too. Also, I am using the main branch, and I tried also with the v1.3.2. tag and got same result.
Additionally, This change could affect the software behavior in any way? (Since I am not experienced in coding for this platform)
I think it makes no difference, but I would like to know the reason this is happening.
Thanks in advance for any help!