FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
1,025 views 0 comments
by
I want to write my own application in C and able to run on RUT240.

Can you please tell me how is this possible?

I can compile my application using SDK provided (https://wiki.teltonika-networks.com/view/Software_Development_Kit). I did make it and get toolchain. Using this toolchain, I compiled C code. However, when I copy these across to RUT240; It couldn't run this for some reason.

Please advise, how can I run this C code.

1 Answer

0 votes
by anonymous
Hi,

Router's RUT240 operating system (RutOS) is based on OpenWRT.
The OpenWRT build system revolves heavily around the concept of packages, due to this packages should be utilize when creating new program.
For cross compilation you can use RUT SDK, which you already found.
For creating your own application in OpenWRT, follow the instruction in OpenWRT official website:
https://openwrt.org/docs/guide-developer/helloworld/start