Giter Site home page Giter Site logo

Comments (7)

pmarcinkiew avatar pmarcinkiew commented on August 26, 2024

Could you look at this PR?

#134

from tizenrt.

sunghan-chang avatar sunghan-chang commented on August 26, 2024

Hello @tadziopazur .

Did you meet compilation error?
Could you let us know which configuration you use?

from tizenrt.

tadziopazur avatar tadziopazur commented on August 26, 2024

Configuration file

Set up with:

$ cd os/tools && ./configure.sh artik053/tash
$ cp ../../build/configs/artik053/dot_i2ctool_defconfig ../.config

Build

$ cd ..; make

The last lines of the output:

/opt/iotjs/tizenRT/tizenrt_github_check/os/../build/output/libraries/libapps.a(i2c_bus.o):
In function i2ccmd_bus': /opt/iotjs/tizenRT/tizenrt_github_check/apps/system/i2c/i2c_bus.c:105: undefined reference to up_i2cuninitialize'
/opt/iotjs/tizenRT/tizenrt_github_check/os/../build/output/libraries/libapps.a(i2c_dev.o): In function i2ccmd_dev': /opt/iotjs/tizenRT/tizenrt_github_check/apps/system/i2c/i2c_dev.c:227: undefined reference to up_i2cuninitialize'
/opt/iotjs/tizenRT/tizenrt_github_check/os/../build/output/libraries/libapps.a(i2c_get.o): In function i2ccmd_get': /opt/iotjs/tizenRT/tizenrt_github_check/apps/system/i2c/i2c_get.c:194: undefined reference to up_i2cuninitialize'
/opt/iotjs/tizenRT/tizenrt_github_check/os/../build/output/libraries/libapps.a(i2c_set.o): In function i2ccmd_set': /opt/iotjs/tizenRT/tizenrt_github_check/apps/system/i2c/i2c_set.c:214: undefined reference to up_i2cuninitialize'
/opt/iotjs/tizenRT/tizenrt_github_check/os/../build/output/libraries/libapps.a(i2c_verf.o): In function i2ccmd_verf': /opt/iotjs/tizenRT/tizenrt_github_check/apps/system/i2c/i2c_verf.c:238: undefined reference to up_i2cuninitialize'
Makefile:187: recipe for target '../build/output/bin/tinyara' failed

from tizenrt.

tadziopazur avatar tadziopazur commented on August 26, 2024

I have a workaround the problem in our application code:

#if (defined CONFIG_I2C)
#if (defined CONFIG_ARCH_BOARD_ARTIK053) || (defined CONFIG_ARCH_BOARD_SIDK_S5JT200)
// Forward declaration.
struct i2c_dev_s;

int up_i2cuninitialize(FAR struct i2c_dev_s *dev) {
    return s5j_i2cbus_uninitialize(dev);
}
#endif // artik05x
#endif // defined CONFIG_I2C

but that's just a workaround..

from tizenrt.

girishks2000 avatar girishks2000 commented on August 26, 2024

@tadziopazur
If its just a work around no issue. But please don't merge this work around. This will break protect build configuration

from tizenrt.

tadziopazur avatar tadziopazur commented on August 26, 2024

Around no issue. What should I make out of it -- are you trying to say it has been fixed by now, or that it is not an issue at all that there is an app in the tree that cannot be built?
Or something else?

from tizenrt.

sunghan-chang avatar sunghan-chang commented on August 26, 2024

@tadziopazur You already modified it. Right? Is there any another issue related this?

from tizenrt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.