-
-
Notifications
You must be signed in to change notification settings - Fork 38.9k
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
Use QUANTUM_LIB_SRC for i2c_master.c inclusion #5617
Conversation
Oh boy. It looks like this is not working for ARM, at all. All of the ARM keyboards that use i2c_master.c for LEDs are erroring out after this:
I'm not sure how to fix this.... at all. And worse, if this is the case, then it WILL break ARM support for split keyboards. Eg, we will run into this issue at that time. Tagging @mtei, since you introduced the QUANTUM_LIB_SRC functionality. And tagging @pelrun, just to make aware of the issue. |
Sussed it; Line 146 needs to be |
What pelrun says is correct. I opened #5623. |
e51b9d6
to
0667bb4
Compare
Updated based on @mtei's feedback. Thanks! |
38471cc
to
c41fad6
Compare
Sorry, I made a mistake. One of the following actions is required.
|
b90581d
to
21872d8
Compare
LIB_SRC and SRC cannot be used in pairs now, so I opened #5731 because it is considered a bug. |
21872d8
to
b06b583
Compare
b06b583
to
7e4783e
Compare
ad7421c
to
3c484b6
Compare
Using QUANTUM_LIB_SRC prevents the warning when multiple sources add the i2c_master.c file. Boards such as the Ergodox EZ Glow see this warning every time they compile because the board uses the file in general, and because the RGB LED Matrix requires it, as well.
3c484b6
to
1508c48
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay!
Using QUANTUM_LIB_SRC prevents the warning when multiple sources add the i2c_master.c file. Boards such as the Ergodox EZ Glow see this warning every time they compile because the board uses the file in general, and because the RGB LED Matrix requires it, as well.
Using QUANTUM_LIB_SRC prevents the warning when multiple sources add the i2c_master.c file. Boards such as the Ergodox EZ Glow see this warning every time they compile because the board uses the file in general, and because the RGB LED Matrix requires it, as well.
Using QUANTUM_LIB_SRC prevents the warning when multiple sources add the i2c_master.c file. Boards such as the Ergodox EZ Glow see this warning every time they compile because the board uses the file in general, and because the RGB LED Matrix requires it, as well.
Using QUANTUM_LIB_SRC prevents the warning when multiple sources add the i2c_master.c file. Boards such as the Ergodox EZ Glow see this warning every time they compile because the board uses the file in general, and because the RGB LED Matrix requires it, as well.
Using QUANTUM_LIB_SRC prevents the warning when multiple sources add the i2c_master.c file. Boards such as the Ergodox EZ Glow see this warning every time they compile because the board uses the file in general, and because the RGB LED Matrix requires it, as well.
Using QUANTUM_LIB_SRC prevents the warning when multiple sources add the i2c_master.c file. Boards such as the Ergodox EZ Glow see this warning every time they compile because the board uses the file in general, and because the RGB LED Matrix requires it, as well.
Using QUANTUM_LIB_SRC prevents the warning when multiple sources add the i2c_master.c file. Boards such as the Ergodox EZ Glow see this warning every time they compile because the board uses the file in general, and because the RGB LED Matrix requires it, as well.
Types of Changes
Checklist