Comments (7)
Could you look at this PR?
from tizenrt.
Hello @tadziopazur .
Did you meet compilation error?
Could you let us know which configuration you use?
from tizenrt.
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 functioni2ccmd_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 functioni2ccmd_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 functioni2ccmd_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 functioni2ccmd_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 functioni2ccmd_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.
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.
@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.
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.
@tadziopazur You already modified it. Right? Is there any another issue related this?
from tizenrt.
Related Issues (20)
- lwIP mbox synchronization issue
- Artik055s build failures HOT 3
- Security: Privacy leakage in function cyassl_connect_step2()
- Security: DoS vulnerability in function createDB()
- Security: DoS vulnerability in function createDB()
- Security: Malfunction in function l2_packet_receive_timeout()
- How can I use GMock external library in sample apps ?
- Security: task_terminate_unloaded function lack of sched_lock() will lead to race condition HOT 5
- Many kernel task handle function lack of permission check when calling it HOT 3
- There is no NULL check in lwip sockets HOT 3
- Compile error on stm32: '_sint_heap_start' undeclared HOT 2
- Build issues HOT 4
- RTL8721CMS link file questtion? HOT 15
- master line network driver can't be compiled through HOT 5
- rtl8271csm, how to run nettest?
- build error:stm32f429-disco/hello protected build error HOT 1
- build failed: stm32f429i-disco nettest
- [Security report]: Patches for CVEs found in reused component curl by using V1SCAN HOT 1
- [Security report]: Patch for CVE-2020-26243 found in reused component nanopb by using V1SCAN HOT 1
- build failed: artik053 with grpc
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tizenrt.