Qmk_firmware: [Bug] Compile time error on dz65rgb v1

Created on 9 Mar 2020  路  2Comments  路  Source: qmk/qmk_firmware

Version: 0.8.23
Compile environment is msys2


Compiling: drivers/arm/i2c_master.c                                                                drivers/arm/i2c_master.c: In function 'i2c_transmit':
drivers/arm/i2c_master.c:82:98: error: implicit declaration of function 'TIME_MS2I' [-Werror=implicit-function-declaration]
     msg_t status = i2cMasterTransmitTimeout(&I2C_DRIVER, (i2c_address >> 1), data, length, 0, 0, TIME_MS2I(timeout));
                                                                                                  ^~~~~~~~~
cc1.exe: all warnings being treated as errors
 [ERRORS]
 |
 |
 |
make[1]: *** [tmk_core/rules.mk:380: .build/obj_dztech_dz65rgb_v1_default/i2c_master.o] Error 1
make[1]: Leaving directory '/e/qmk/qmk_firmware'
Make finished with errors
make: *** [Makefile:579: dztech/dz65rgb/v1:default] Error 1

bug help wanted

All 2 comments

Make sure your submodules are up to date:

$ make git-submodule

Specifically, it's due to a major update to ChibiOS, which we use (the HAL at least) for support on Arm-based keyboards:
https://docs.qmk.fm/#/ChangeLog/20200229?id=update-chibioschibios-contribugfx-submodules

That did the trick, sorry for the false bug report and thanks for the quick help fauxpark!
Also thanks for qmk i love using it!

Was this page helpful?
0 / 5 - 0 ratings