Iam newbie.can help me, i build but got this error.
patch.py only show "HEAD is now at db3dc4ebd git subrepo push libraries".
and then when I try "make" in oc folder,
oc_test.cpp
pcv/pcv.cpp
pcv/pcv_mariko.cpp
pcv/pcv_mariko.cpp:541:18: error: ‘I2cDevice’ was not declared in this scope
541 | Result I2cSet_U8(I2cDevice dev, u8 reg, u8 val) {
| ^~~~~~~~~
pcv/pcv_mariko.cpp:541:36: error: expected primary-expression before ‘reg’
541 | Result I2cSet_U8(I2cDevice dev, u8 reg, u8 val) {
| ^~~
pcv/pcv_mariko.cpp:541:44: error: expected primary-expression before ‘val’
541 | Result I2cSet_U8(I2cDevice dev, u8 reg, u8 val) {
| ^~~
pcv/pcv_mariko.cpp:541:47: error: expression list treated as compound expression in initializer [-fpermissive]
541 | Result I2cSet_U8(I2cDevice dev, u8 reg, u8 val) {
| ^
pcv/pcv_mariko.cpp: In function ‘Result ams::ldr::oc:
cv::mariko::EmcVddqVolt(u32*)’:
pcv/pcv_mariko.cpp:584:5: error: ‘i2cInitialize’ was not declared in this scope
584 | i2cInitialize();
| ^~~~~~~~~~~~~
pcv/pcv_mariko.cpp:585:15: error: ‘I2cDevice_Max77812_2’ was not declared in this scope
585 | I2cSet_U8(I2cDevice_Max77812_2, 0x25, (emc_uv - uv_min) / uv_step);
| ^~~~~~~~~~~~~~~~~~~~
pcv/pcv_mariko.cpp:585:14: error: ‘ams::ldr::oc:
cv::mariko::I2cSet_U8’ cannot be used as a function
585 | I2cSet_U8(I2cDevice_Max77812_2, 0x25, (emc_uv - uv_min) / uv_step);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pcv/pcv_mariko.cpp:586:5: error: ‘i2cExit’ was not declared in this scope
586 | i2cExit();
| ^~~~~~~
make: *** [Makefile:42: build/./pcv/pcv_mariko.cpp.o] Error 1