Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to start RTP in VxWorks

2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "how to start RTP in VxWorks", which is easy to understand and clear. I hope it can help you solve your doubts. Let me lead you to study and learn this article "how to start RTP in VxWorks".

RTP is a dynamically loaded user-mode (User Mode) application, but its execution unit is also Task. To use RTP, you first need to include the component INCLUDE_RTP in VIP

Then create a Real Time Process Project (also known as RTP for short) and add an application

When this RTP project is created, the selected build spec should be consistent with the properties of VIP. For example, if the CPU of VIP is SIMNT and tool chain is gnu, then the build spec of RTP will choose SIMPENTIUMgnu_RTP.

When writing an application in RTP, there are some restrictions. The most basic thing is that there must be a unique main () function, but its input parameters (up to three) and return values can be ignored.

After compiling the RTP project, you will get the corresponding executable file. The file name is the project name by default and the file suffix is vxe.

To start this RTP, you can roughly do the following

Through WorkBench

Call the function rtpSp () in Shell

Call the command rtp or file name in cmd

Call the function rtpSpawn () in code

Self-start at boot

The above is all the contents of the article "how to start RTP in VxWorks". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report