Closed nashif closed 7 years ago
by Kuo-Lang Tseng:
Based on the git history, the change using CONFIG_I2C_0_NAME has been reverted (see https://gerrit.zephyrproject.org/r/#/c/11622/) so this build error should not be seen with latest codebase from today.
by Kuo-Lang Tseng:
Closing this one (see my previous comment.)
Reported by Qiu Peiyang:
Sample case sanity check failed.
For details, please refer to https://jenkins.zephyrproject.org/job/zephyr-verify/22597/console
01:22:30 /w/workspace/zephyr-verify/samples/drivers/i2c_lsm9ds0/src/main.c: In function ‘main’: 01:22:30 /w/workspace/zephyr-verify/samples/drivers/i2c_lsm9ds0/src/main.c:76:27: error: ‘CONFIG_I2C_0_NAME’ undeclared (first use in this function) 01:22:30 dev = device_get_binding(CONFIG_I2C_0_NAME); 01:22:30 ^
~~~~ 01:22:30 /w/workspace/zephyr-verify/samples/drivers/i2c_lsm9ds0/src/main.c:76:27: note: each undeclared identifier is reported only once for each function it appears in 01:22:30 make[4]: [src/main.o] Error 1 01:22:30 make[4]: Target `__build' not remade because of errors. 01:22:30 make[3]: [zephyr-app-dir] Error 2 01:22:30 LD kernel/built-in.o 01:22:30 AR kernel/lib.a 01:22:30 make[3]: Targetall' not remade because of errors. 01:22:30 make[3]: Leaving directory
/w/workspace/zephyr-verify/sanity-out/qemu_riscv32/samples/drivers/i2c_lsm9ds0/test' 01:22:30 make[2]: [sub-make] Error 2 01:22:30 make[2]: Targetall' not remade because of errors. 01:22:30 make[2]: Leaving directory
/w/workspace/zephyr-verify' 01:22:30 make[1]: [all] Error 2 01:22:30 make[1]: Leaving directory `/w/workspace/zephyr-verify/samples/drivers/i2c_lsm9ds0'(Imported from Jira ZEP-1797)