-
-
Notifications
You must be signed in to change notification settings - Fork 39.8k
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
Add central location for ChibiOS defines #7542
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Where is this file? "chibios_config.h" |
On my machine, which everyone clearly has access to.... |
ah, good ol' Also, drivers/arm/i2c_master.c:37:5: error: 'I2C1_OPMODE' undeclared here (not in a function)
I2C1_OPMODE,
^~~~~~~~~~~
|
|
|
tmk_core/rules.mk:377: recipe for target '.build/obj_ergodox_stm32_default/i2c_master.o' failed
make[1]: *** [.build/obj_ergodox_stm32_default/i2c_master.o] Error 1
make[1]: *** Waiting for unfinished jobs.... It uses an STM32F103, IIRC. |
drashna
approved these changes
Dec 8, 2019
13 tasks
zvecr
force-pushed
the
feature/chibios_config
branch
from
December 14, 2019 01:39
8ed5b4a
to
eb92b53
Compare
Rebased now #7571 is in, carried over the F4 logic. |
13 tasks
jackhumbert
approved these changes
Dec 21, 2019
Shinichi-Ohki
added a commit
to Shinichi-Ohki/qmk_firmware
that referenced
this pull request
Dec 26, 2019
* 'master' of https://github.com/qmk/qmk_firmware: (226 commits) Make the keyboard beep when Audio is enabled and `\a` is encountered in a sendstring Turn off RGB Matrix LEDs when keyboard sleeps (qmk#7713) Add backwards compatibility for oled_write_raw_P on ARM Update toshi0383 keymap (qmk#7700) Completely remove i2c_transmit_receive function (qmk#7686) Readded lost pgm_read_word code to encoder array lookups (qmk#7577) Add central location for ChibiOS defines (qmk#7542) Add TADA68 keymap/rules/config for QMK bootloader (qmk#7679) [Docs] fix docs (qmk#7642) [Keyboard] Clueboard 60 fix col 11 12 mixup (qmk#7685) Missed these LTO blocks I corrected my name. [Keymap] Added userspace for d4mation. Included their keymap for the Atreus62 (qmk#7483) [Keymap] Custom user keymap for Think6.5 with LED range control (qmk#7603) [Keymap] CRKBD Custom Keymap - KidBrazil (qmk#7630) [Keymap] Add pico 70 keys keymap (qmk#7654) Improve docs "Edit Document" footer Tidy up dztech config.h Tidy up dztech default keymaps and info.json (qmk#7608) Heisenberg handwired keyboard added (qmk#7643) ...
akrob
pushed a commit
to akrob/qmk_firmware
that referenced
this pull request
Dec 28, 2019
* upstream/master: (1080 commits) Update toshi0383 keymap (qmk#7700) Completely remove i2c_transmit_receive function (qmk#7686) Readded lost pgm_read_word code to encoder array lookups (qmk#7577) Add central location for ChibiOS defines (qmk#7542) Add TADA68 keymap/rules/config for QMK bootloader (qmk#7679) [Docs] fix docs (qmk#7642) [Keyboard] Clueboard 60 fix col 11 12 mixup (qmk#7685) Missed these LTO blocks I corrected my name. [Keymap] Added userspace for d4mation. Included their keymap for the Atreus62 (qmk#7483) [Keymap] Custom user keymap for Think6.5 with LED range control (qmk#7603) [Keymap] CRKBD Custom Keymap - KidBrazil (qmk#7630) [Keymap] Add pico 70 keys keymap (qmk#7654) Improve docs "Edit Document" footer Tidy up dztech config.h Tidy up dztech default keymaps and info.json (qmk#7608) Heisenberg handwired keyboard added (qmk#7643) [Keyboard] Added Filco Majestouch TKL Pegasus Hoof ISO Layout (qmk#7647) Ported J80 to QMK (qmk#7488) [Keyboard] Magnavox Videowriter conversion with Pro Micro (qmk#7634) ...
patrl
pushed a commit
to patrl/qmk_firmware
that referenced
this pull request
Dec 29, 2019
* Add central location for chibios defines * Add central location for chibios defines - actually add files this time.... * Add Copyright header * Update include order to resolve i2cv1 build errors
drashna
pushed a commit
to zsa/qmk_firmware
that referenced
this pull request
Feb 12, 2020
* Add central location for chibios defines * Add central location for chibios defines - actually add files this time.... * Add Copyright header * Update include order to resolve i2cv1 build errors
fdidron
pushed a commit
to zsa/qmk_firmware
that referenced
this pull request
Feb 14, 2020
* Add central location for chibios defines * Add central location for chibios defines - actually add files this time.... * Add Copyright header * Update include order to resolve i2cv1 build errors
HokieGeek
pushed a commit
to HokieGeek/qmk_firmware
that referenced
this pull request
Feb 21, 2020
* Add central location for chibios defines * Add central location for chibios defines - actually add files this time.... * Add Copyright header * Update include order to resolve i2cv1 build errors
fdidron
pushed a commit
to zsa/qmk_firmware
that referenced
this pull request
Feb 26, 2020
* Add central location for chibios defines * Add central location for chibios defines - actually add files this time.... * Add Copyright header * Update include order to resolve i2cv1 build errors
kylekuj
pushed a commit
to kylekuj/qmk_firmware
that referenced
this pull request
Apr 21, 2020
* Add central location for chibios defines * Add central location for chibios defines - actually add files this time.... * Add Copyright header * Update include order to resolve i2cv1 build errors
BorisTestov
pushed a commit
to BorisTestov/qmk_firmware
that referenced
this pull request
May 23, 2024
* Add central location for chibios defines * Add central location for chibios defines - actually add files this time.... * Add Copyright header * Update include order to resolve i2cv1 build errors
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Given the ChibiOS HAL doesnt have a unified API, we end up in a HAL of HAL's situation where various code areas have to sniff config options and compile in different blocks of code. Unfortunately it doesn't look like there are internal "this board is using gpiov2" defines we can leverage.
Rather than have these defines duplicated, this PR aims to add a central location to manage the mcu logic.
Types of Changes
Checklist