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

i2c: rename read/write register functions #22905

Merged
merged 3 commits into from
Jan 16, 2024

Update keyboards

080f878
Select commit
Loading
Failed to load commit list.
Merged

i2c: rename read/write register functions #22905

Update keyboards
080f878
Select commit
Loading
Failed to load commit list.
QMK CI / QMK CI Build failed Jan 15, 2024 in 1h 28m 50s

QMK CI Run, PR #22905

Commit SHA1: 080f8787b34a06347944ae416e16c00eb47bf5d2
  Base SHA1: de6ae3408c798ab38ed09b6c91ae1684121f5ca2

Build failed.

Detected built targets:

  • 🟢 3w6/rev2:default_pimoroni

  • 🟢 all:default

  • 🟢 all:via

  • 🟢 argyle:default_60_ansi

  • 🟢 argyle:default_60_ansi_split_bs_rshift

  • 🟢 argyle:default_60_ansi_tsangan

  • 🟢 argyle:default_60_ansi_wkl

  • 🟢 argyle:default_60_ansi_wkl_split_bs_rshift

  • 🟢 argyle:default_60_hhkb

  • 🟢 argyle:default_60_iso

  • 🟢 argyle:default_60_iso_split_bs_rshift

  • 🟢 argyle:default_60_iso_tsangan

  • 🟢 argyle:default_60_iso_tsangan_split_bs_rshift

  • 🟢 argyle:default_60_iso_wkl

  • 🟢 argyle:default_60_iso_wkl_split_bs_rshift

  • 🟢 argyle:default_60_tsangan_hhkb

  • 🟢 argyle:iso

  • 🟢 barleycorn_smd:iso

  • 🟢 fc660c:default_rgb

  • 🟢 fc660c:via_rgb

  • 🟢 handwired/dactyl:dvorak

  • 🟢 handwired/dactyl:erincalling

  • 🟢 handwired/onekey/blackpill_f401:i2c_scanner

  • 🟢 handwired/onekey/blackpill_f401_tinyuf2:i2c_scanner

  • 🟢 handwired/onekey/blackpill_f411:i2c_scanner

  • 🟢 handwired/onekey/blackpill_f411_tinyuf2:i2c_scanner

  • 🔴 handwired/onekey/bluepill:i2c_scanner

  • 🔴 handwired/onekey/bluepill_f103c6:i2c_scanner

  • 🔴 handwired/onekey/bluepill_uf2boot:i2c_scanner

  • 🟢 handwired/onekey/elite_c:i2c_scanner

  • 🟢 handwired/onekey/evb_wb32f3g71:i2c_scanner

  • 🟢 handwired/onekey/evb_wb32fq95:i2c_scanner

  • 🟢 handwired/onekey/kb2040:i2c_scanner

  • 🟢 handwired/onekey/nucleo_f446re:i2c_scanner

  • 🔴 handwired/onekey/nucleo_g431rb:i2c_scanner

  • 🔴 handwired/onekey/nucleo_g474re:i2c_scanner

  • 🔴 handwired/onekey/nucleo_h723zg:i2c_scanner

  • 🔴 handwired/onekey/nucleo_l432kc:i2c_scanner

  • 🟢 handwired/onekey/promicro:i2c_scanner

  • 🟢 handwired/onekey/proton_c:i2c_scanner

  • 🟢 handwired/onekey/rp2040:i2c_scanner

  • 🟢 handwired/onekey/sipeed_longan_nano:i2c_scanner

  • 🔴 handwired/onekey/stm32f0_disco:i2c_scanner

  • 🔴 handwired/onekey/stm32f3_disco:i2c_scanner

  • 🔴 handwired/onekey/stm32f405_feather:i2c_scanner

  • 🟢 handwired/onekey/teensy_2:i2c_scanner

  • 🟢 handwired/onekey/teensy_2pp:i2c_scanner

  • 🟢 handwired/onekey/teensy_32:i2c_scanner

  • 🔴 handwired/onekey/teensy_35:i2c_scanner

  • 🟢 handwired/onekey/teensy_lc:i2c_scanner

  • 🟢 kagizaraya/chidori:extended

  • 🟢 matrix/abelx:iso

  • 🟢 matrix/m20add:iso

  • 🟢 sx60:amnobis

  • 🟢 torn:kinesish

  • 🟢 yiancardesigns/barleycorn:iso

  • 🟢 yiancardesigns/gingham:iso

  • 🟢 yiancardesigns/seigaiha:default_alice

  • 🟢 yiancardesigns/seigaiha:default_alice_split_bs

Failed: handwired/onekey/bluepill:i2c_scanner

Compiling QMK Firmware for target: 'handwired/onekey/bluepill:i2c_scanner'...
Generating: .build/obj_handwired_onekey_bluepill_i2c_scanner/src/info_deps.d                        [OK]
arm-none-eabi-gcc (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027]
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Generating: .build/obj_handwired_onekey_bluepill_i2c_scanner/src/info_config.h                      [OK]
Generating: .build/obj_handwired_onekey_bluepill_i2c_scanner/src/default_keyboard.c                 [OK]
Generating: .build/obj_handwired_onekey_bluepill_i2c_scanner/src/default_keyboard.h                 [OK]
Compiling: tmk_core/protocol/chibios/usb_main.c                                                    In file included from ./lib/chibios/os/hal/include/hal_i2c.h:85,
                 from ./lib/chibios/os/hal/include/hal.h:313,
                 from ./platforms/chibios/drivers/wear_leveling/wear_leveling_efl_config.h:6,
                 from <command-line>:
./lib/chibios/os/hal/ports/STM32/LLD/I2Cv1/hal_i2c_lld.h:234:2: error: #error "I2C driver activated but no I2C peripheral assigned"
 #error "I2C driver activated but no I2C peripheral assigned"
  ^~~~~
 [ERRORS]
 |
 |
 |
gmake[1]: *** [builddefs/common_rules.mk:373: .build/obj_handwired_onekey_bluepill_i2c_scanner/protocol/chibios/usb_main.o] Error 1

Failed: handwired/onekey/bluepill_f103c6:i2c_scanner

Compiling QMK Firmware for target: 'handwired/onekey/bluepill_f103c6:i2c_scanner'...
Generating: .build/obj_handwired_onekey_bluepill_f103c6_i2c_scanner/src/info_deps.d                 [OK]
arm-none-eabi-gcc (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027]
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Generating: .build/obj_handwired_onekey_bluepill_f103c6_i2c_scanner/src/info_config.h               [OK]
Generating: .build/obj_handwired_onekey_bluepill_f103c6_i2c_scanner/src/default_keyboard.c          [OK]
Generating: .build/obj_handwired_onekey_bluepill_f103c6_i2c_scanner/src/default_keyboard.h          [OK]
Compiling: tmk_core/protocol/chibios/usb_main.c                                                    In file included from ./lib/chibios/os/hal/include/hal_i2c.h:85,
                 from ./lib/chibios/os/hal/include/hal.h:313,
                 from tmk_core/protocol/chibios/usb_main.c:29:
./lib/chibios/os/hal/ports/STM32/LLD/I2Cv1/hal_i2c_lld.h:234:2: error: #error "I2C driver activated but no I2C peripheral assigned"
 #error "I2C driver activated but no I2C peripheral assigned"
  ^~~~~
 [ERRORS]
 |
 |
 |
gmake[1]: *** [builddefs/common_rules.mk:373: .build/obj_handwired_onekey_bluepill_f103c6_i2c_scanner/protocol/chibios/usb_main.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
Compiling: tmk_core/protocol/chibios/chibios.c                                                     In file included from ./lib/chibios/os/hal/include/hal_i2c.h:85,
                 from ./lib/chibios/os/hal/include/hal.h:313,
                 from tmk_core/protocol/chibios/chibios.c:19:
./lib/chibios/os/hal/ports/STM32/LLD/I2Cv1/hal_i2c_lld.h:234:2: error: #error "I2C driver activated but no I2C peripheral assigned"
 #error "I2C driver activated but no I2C peripheral assigned"
  ^~~~~
 [ERRORS]
 |
 |
 |
gmake[1]: *** [builddefs/common_rules.mk:373: .build/obj_handwired_onekey_bluepill_f103c6_i2c_scanner/protocol/chibios/chibios.o] Error 1

Failed: handwired/onekey/bluepill_uf2boot:i2c_scanner

Compiling QMK Firmware for target: 'handwired/onekey/bluepill_uf2boot:i2c_scanner'...
Generating: .build/obj_handwired_onekey_bluepill_uf2boot_i2c_scanner/src/info_deps.d                [OK]
arm-none-eabi-gcc (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027]
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Generating: .build/obj_handwired_onekey_bluepill_uf2boot_i2c_scanner/src/default_keyboard.c         [OK]
Generating: .build/obj_handwired_onekey_bluepill_uf2boot_i2c_scanner/src/info_config.h              [OK]
Generating: .build/obj_handwired_onekey_bluepill_uf2boot_i2c_scanner/src/default_keyboard.h         [OK]
Compiling: keyboards/handwired/onekey/onekey.c                                                     In file included from ./lib/chibios/os/hal/include/hal_i2c.h:85,
                 from ./lib/chibios/os/hal/include/hal.h:313,
                 from ./platforms/chibios/drivers/wear_leveling/wear_leveling_efl_config.h:6,
                 from <command-line>:
./lib/chibios/os/hal/ports/STM32/LLD/I2Cv1/hal_i2c_lld.h:234:2: error: #error "I2C driver activated but no I2C peripheral assigned"
 #error "I2C driver activated but no I2C peripheral assigned"
  ^~~~~
 [ERRORS]
 |
 |
 |
gmake[1]: *** [builddefs/common_rules.mk:373: .build/obj_handwired_onekey_bluepill_uf2boot_i2c_scanner/keyboards/handwired/onekey/onekey.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
Compiling: .build/obj_handwired_onekey_bluepill_uf2boot_i2c_scanner/src/default_keyboard.c         In file included from ./lib/chibios/os/hal/include/hal_i2c.h:85,
                 from ./lib/chibios/os/hal/include/hal.h:313,
                 from ./platforms/chibios/drivers/wear_leveling/wear_leveling_efl_config.h:6,
                 from <command-line>:
./lib/chibios/os/hal/ports/STM32/LLD/I2Cv1/hal_i2c_lld.h:234:2: error: #error "I2C driver activated but no I2C peripheral assigned"
 #error "I2C driver activated but no I2C peripheral assigned"
  ^~~~~
 [ERRORS]
 |
 |
 |
gmake[1]: *** [builddefs/common_rules.mk:373: .build/obj_handwired_onekey_bluepill_uf2boot_i2c_scanner/.build/obj_handwired_onekey_bluepill_uf2boot_i2c_scanner/src/default_keyboard.o] Error 1

Failed: handwired/onekey/nucleo_g431rb:i2c_scanner

Compiling QMK Firmware for target: 'handwired/onekey/nucleo_g431rb:i2c_scanner'...
Generating: .build/obj_handwired_onekey_nucleo_g431rb_i2c_scanner/src/info_deps.d                   [OK]
arm-none-eabi-gcc (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027]
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Generating: .build/obj_handwired_onekey_nucleo_g431rb_i2c_scanner/src/info_config.h                 [OK]
Generating: .build/obj_handwired_onekey_nucleo_g431rb_i2c_scanner/src/default_keyboard.c            [OK]
Generating: .build/obj_handwired_onekey_nucleo_g431rb_i2c_scanner/src/default_keyboard.h            [OK]
Compiling: tmk_core/protocol/chibios/usb_main.c                                                    In file included from ./lib/chibios/os/hal/include/hal_i2c.h:85,
                 from ./lib/chibios/os/hal/include/hal.h:313,
                 from tmk_core/protocol/chibios/usb_main.c:29:
./lib/chibios/os/hal/ports/STM32/LLD/I2Cv2/hal_i2c_lld.h:213:2: error: #error "I2C driver activated but no I2C peripheral assigned"
 #error "I2C driver activated but no I2C peripheral assigned"
  ^~~~~
 [ERRORS]
 |
 |
 |
gmake[1]: *** [builddefs/common_rules.mk:373: .build/obj_handwired_onekey_nucleo_g431rb_i2c_scanner/protocol/chibios/usb_main.o] Error 1

Failed: handwired/onekey/nucleo_g474re:i2c_scanner

Compiling QMK Firmware for target: 'handwired/onekey/nucleo_g474re:i2c_scanner'...
Generating: .build/obj_handwired_onekey_nucleo_g474re_i2c_scanner/src/info_deps.d                   [OK]
arm-none-eabi-gcc (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027]
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Generating: .build/obj_handwired_onekey_nucleo_g474re_i2c_scanner/src/info_config.h                 [OK]
Generating: .build/obj_handwired_onekey_nucleo_g474re_i2c_scanner/src/default_keyboard.c            [OK]
Generating: .build/obj_handwired_onekey_nucleo_g474re_i2c_scanner/src/default_keyboard.h            [OK]
Compiling: tmk_core/protocol/chibios/usb_main.c                                                    In file included from ./lib/chibios/os/hal/include/hal_i2c.h:85,
                 from ./lib/chibios/os/hal/include/hal.h:313,
                 from ./platforms/chibios/drivers/wear_leveling/wear_leveling_efl_config.h:6,
                 from <command-line>:
./lib/chibios/os/hal/ports/STM32/LLD/I2Cv2/hal_i2c_lld.h:213:2: error: #error "I2C driver activated but no I2C peripheral assigned"
 #error "I2C driver activated but no I2C peripheral assigned"
  ^~~~~
 [ERRORS]
 |
 |
 |
gmake[1]: *** [builddefs/common_rules.mk:373: .build/obj_handwired_onekey_nucleo_g474re_i2c_scanner/protocol/chibios/usb_main.o] Error 1

Failed: handwired/onekey/nucleo_h723zg:i2c_scanner

Compiling QMK Firmware for target: 'handwired/onekey/nucleo_h723zg:i2c_scanner'...
Generating: .build/obj_handwired_onekey_nucleo_h723zg_i2c_scanner/src/info_deps.d                   [OK]
arm-none-eabi-gcc (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027]
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Generating: .build/obj_handwired_onekey_nucleo_h723zg_i2c_scanner/src/info_config.h                 [OK]
Generating: .build/obj_handwired_onekey_nucleo_h723zg_i2c_scanner/src/default_keyboard.c            [OK]
Generating: .build/obj_handwired_onekey_nucleo_h723zg_i2c_scanner/src/default_keyboard.h            [OK]
Compiling: tmk_core/protocol/chibios/usb_main.c                                                    In file included from ./lib/chibios/os/hal/include/hal_i2c.h:85,
                 from ./lib/chibios/os/hal/include/hal.h:313,
                 from tmk_core/protocol/chibios/usb_main.c:29:
./lib/chibios/os/hal/ports/STM32/LLD/I2Cv3/hal_i2c_lld.h:234:2: error: #error "I2C driver activated but no I2C peripheral assigned"
 #error "I2C driver activated but no I2C peripheral assigned"
  ^~~~~
 [ERRORS]
 |
 |
 |
gmake[1]: *** [builddefs/common_rules.mk:373: .build/obj_handwired_onekey_nucleo_h723zg_i2c_scanner/protocol/chibios/usb_main.o] Error 1

Failed: handwired/onekey/nucleo_l432kc:i2c_scanner

Compiling QMK Firmware for target: 'handwired/onekey/nucleo_l432kc:i2c_scanner'...
Generating: .build/obj_handwired_onekey_nucleo_l432kc_i2c_scanner/src/info_deps.d                   [OK]
arm-none-eabi-gcc (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027]
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Generating: .build/obj_handwired_onekey_nucleo_l432kc_i2c_scanner/src/info_config.h                 [OK]
Generating: .build/obj_handwired_onekey_nucleo_l432kc_i2c_scanner/src/default_keyboard.c            [OK]
Generating: .build/obj_handwired_onekey_nucleo_l432kc_i2c_scanner/src/default_keyboard.h            [OK]
Compiling: tmk_core/protocol/chibios/usb_main.c                                                    In file included from ./lib/chibios/os/hal/include/hal_i2c.h:85,
                 from ./lib/chibios/os/hal/include/hal.h:313,
                 from ./platforms/chibios/drivers/wear_leveling/wear_leveling_efl_config.h:6,
                 from <command-line>:
./lib/chibios/os/hal/ports/STM32/LLD/I2Cv2/hal_i2c_lld.h:213:2: error: #error "I2C driver activated but no I2C peripheral assigned"
 #error "I2C driver activated but no I2C peripheral assigned"
  ^~~~~
 [ERRORS]
 |
 |
 |
gmake[1]: *** [builddefs/common_rules.mk:373: .build/obj_handwired_onekey_nucleo_l432kc_i2c_scanner/protocol/chibios/usb_main.o] Error 1

Failed: handwired/onekey/stm32f0_disco:i2c_scanner

Compiling QMK Firmware for target: 'handwired/onekey/stm32f0_disco:i2c_scanner'...
Generating: .build/obj_handwired_onekey_stm32f0_disco_i2c_scanner/src/info_deps.d                   [OK]
arm-none-eabi-gcc (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027]
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Generating: .build/obj_handwired_onekey_stm32f0_disco_i2c_scanner/src/info_config.h                 [OK]
Generating: .build/obj_handwired_onekey_stm32f0_disco_i2c_scanner/src/default_keyboard.c            [OK]
Generating: .build/obj_handwired_onekey_stm32f0_disco_i2c_scanner/src/default_keyboard.h            [OK]
Compiling: keyboards/handwired/onekey/onekey.c                                                     In file included from ./lib/chibios/os/hal/include/hal_i2c.h:85,
                 from ./lib/chibios/os/hal/include/hal.h:313,
                 from platforms/chibios/platform_deps.h:18,
                 from quantum/quantum.h:18,
                 from keyboards/handwired/onekey/onekey.c:4:
./lib/chibios/os/hal/ports/STM32/LLD/I2Cv2/hal_i2c_lld.h:213:2: error: #error "I2C driver activated but no I2C peripheral assigned"
 #error "I2C driver activated but no I2C peripheral assigned"
  ^~~~~
 [ERRORS]
 |
 |
 |
gmake[1]: *** [builddefs/common_rules.mk:370: .build/obj_handwired_onekey_stm32f0_disco_i2c_scanner/keyboards/handwired/onekey/onekey.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
Compiling: quantum/keymap_introspection.c                                                          In file included from ./lib/chibios/os/hal/include/hal_i2c.h:85,
                 from ./lib/chibios/os/hal/include/hal.h:313,
                 from platforms/chibios/platform_deps.h:18,
                 from quantum/quantum.h:18,
                 from ./.build/obj_handwired_onekey_stm32f0_disco_i2c_scanner/src/default_keyboard.h:27,
                 from ./keyboards/handwired/onekey/keymaps/i2c_scanner/keymap.c:1,
                 from quantum/keymap_introspection.c:5:
./lib/chibios/os/hal/ports/STM32/LLD/I2Cv2/hal_i2c_lld.h:213:2: error: #error "I2C driver activated but no I2C peripheral assigned"
 #error "I2C driver activated but no I2C peripheral assigned"
  ^~~~~
In file included from quantum/keymap_introspection.c:5:
./keyboards/handwired/onekey/keymaps/i2c_scanner/keymap.c:10:13: note: #pragma message: ChibiOS is currently 'best effort' and might not report accurate results
 #    pragma message("ChibiOS is currently 'best effort' and might not report accurate results")
             ^~~~~~~
 [ERRORS]
 |
 |
 |
gmake[1]: *** [builddefs/common_rules.mk:373: .build/obj_handwired_onekey_stm32f0_disco_i2c_scanner/quantum/keymap_introspection.o] Error 1
Compiling: .build/obj_handwired_onekey_stm32f0_disco_i2c_scanner/src/default_keyboard.c            In file included from ./lib/chibios/os/hal/include/hal_i2c.h:85,
                 from ./lib/chibios/os/hal/include/hal.h:313,
                 from platforms/chibios/platform_deps.h:18,
                 from quantum/quantum.h:18,
                 from ./.build/obj_handwired_onekey_stm32f0_disco_i2c_scanner/src/default_keyboard.h:27,
                 from .build/obj_handwired_onekey_stm32f0_disco_i2c_scanner/src/default_keyboard.c:26:
./lib/chibios/os/hal/ports/STM32/LLD/I2Cv2/hal_i2c_lld.h:213:2: error: #error "I2C driver activated but no I2C peripheral assigned"
 #error "I2C driver activated but no I2C peripheral assigned"
  ^~~~~
 [ERRORS]
 |
 |
 |
gmake[1]: *** [builddefs/common_rules.mk:373: .build/obj_handwired_onekey_stm32f0_disco_i2c_scanner/.build/obj_handwired_onekey_stm32f0_disco_i2c_scanner/src/default_keyboard.o] Error 1

Failed: handwired/onekey/stm32f3_disco:i2c_scanner

Compiling QMK Firmware for target: 'handwired/onekey/stm32f3_disco:i2c_scanner'...
Generating: .build/obj_handwired_onekey_stm32f3_disco_i2c_scanner/src/info_deps.d                   [OK]
arm-none-eabi-gcc (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027]
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Generating: .build/obj_handwired_onekey_stm32f3_disco_i2c_scanner/src/default_keyboard.h            [OK]
Generating: .build/obj_handwired_onekey_stm32f3_disco_i2c_scanner/src/default_keyboard.c            [OK]
Generating: .build/obj_handwired_onekey_stm32f3_disco_i2c_scanner/src/info_config.h                 [OK]
Compiling: keyboards/handwired/onekey/onekey.c                                                     In file included from ./lib/chibios/os/hal/include/hal_i2c.h:85,
                 from ./lib/chibios/os/hal/include/hal.h:313,
                 from ./platforms/chibios/drivers/wear_leveling/wear_leveling_efl_config.h:6,
                 from <command-line>:
./lib/chibios/os/hal/ports/STM32/LLD/I2Cv2/hal_i2c_lld.h:213:2: error: #error "I2C driver activated but no I2C peripheral assigned"
 #error "I2C driver activated but no I2C peripheral assigned"
  ^~~~~
 [ERRORS]
 |
 |
 |
gmake[1]: *** [builddefs/common_rules.mk:373: .build/obj_handwired_onekey_stm32f3_disco_i2c_scanner/keyboards/handwired/onekey/onekey.o] Error 1

Failed: handwired/onekey/stm32f405_feather:i2c_scanner

Compiling QMK Firmware for target: 'handwired/onekey/stm32f405_feather:i2c_scanner'...
Generating: .build/obj_handwired_onekey_stm32f405_feather_i2c_scanner/src/info_deps.d               [OK]
arm-none-eabi-gcc (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027]
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Generating: .build/obj_handwired_onekey_stm32f405_feather_i2c_scanner/src/default_keyboard.c        [OK]
Generating: .build/obj_handwired_onekey_stm32f405_feather_i2c_scanner/src/info_config.h             [OK]
Generating: .build/obj_handwired_onekey_stm32f405_feather_i2c_scanner/src/default_keyboard.h        [OK]
Compiling: keyboards/handwired/onekey/onekey.c                                                     In file included from ./lib/chibios/os/hal/include/hal_i2c.h:85,
                 from ./lib/chibios/os/hal/include/hal.h:313,
                 from ./platforms/chibios/drivers/wear_leveling/wear_leveling_efl_config.h:6,
                 from <command-line>:
./lib/chibios/os/hal/ports/STM32/LLD/I2Cv1/hal_i2c_lld.h:234:2: error: #error "I2C driver activated but no I2C peripheral assigned"
 #error "I2C driver activated but no I2C peripheral assigned"
  ^~~~~
 [ERRORS]
 |
 |
 |
gmake[1]: *** [builddefs/common_rules.mk:373: .build/obj_handwired_onekey_stm32f405_feather_i2c_scanner/keyboards/handwired/onekey/onekey.o] Error 1

Failed: handwired/onekey/teensy_35:i2c_scanner

Compiling QMK Firmware for target: 'handwired/onekey/teensy_35:i2c_scanner'...
Generating: .build/obj_handwired_onekey_teensy_35_i2c_scanner/src/info_deps.d                       [OK]
arm-none-eabi-gcc (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027]
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Generating: .build/obj_handwired_onekey_teensy_35_i2c_scanner/src/info_config.h                     [OK]
Generating: .build/obj_handwired_onekey_teensy_35_i2c_scanner/src/default_keyboard.c                [OK]
Generating: .build/obj_handwired_onekey_teensy_35_i2c_scanner/src/default_keyboard.h                [OK]
Compiling: keyboards/handwired/onekey/onekey.c                                                     In file included from ./lib/chibios/os/hal/include/hal_i2c.h:85,
                 from ./lib/chibios/os/hal/include/hal.h:313,
                 from platforms/chibios/platform_deps.h:18,
                 from quantum/quantum.h:18,
                 from keyboards/handwired/onekey/onekey.c:4:
./lib/chibios-contrib/os/hal/ports/KINETIS/LLD/I2Cv1/hal_i2c_lld.h:106:2: error: #error "I2C driver activated but no I2C peripheral assigned"
 #error "I2C driver activated but no I2C peripheral assigned"
  ^~~~~
 [ERRORS]
 |
 |
 |
gmake[1]: *** [builddefs/common_rules.mk:373: .build/obj_handwired_onekey_teensy_35_i2c_scanner/keyboards/handwired/onekey/onekey.o] Error 1