Hello Community Stack experts.
My colleague is trying to build a Linux working PROFINET device application. From there we want to port this Linux version onto other real-time operating systems used by our customers.
We are using v00.09.00 of the Profinet Community Stack
The makefile is being created.
Can you please indicate where is the main function in the v00.09.00 source code?
Thanks very much.
Community stack, can't find the code for the "main" function
-
- Posts: 23
- Joined: 26 Oct 2023, 11:08
-
- Posts: 10
- Joined: 12 Oct 2023, 14:40
Re: Community stack, can't find the code for the "main" function
The Community Stack is not a devkit and should therefore not be seen as code that you can simply "plug" into your existing device. The Community Stack is intended for technology providers and experienced developers who want to act as an "in-house" stack provider. For simple device integration, it is always recommended to use the expertise of a technology provider and to use an existing devkit purely on a SW basis or with an additional ASIC / FPGA / communication module.AlfredoAtSherpa wrote: ↑10 Jul 2024, 11:54 Hello Community Stack experts.
My colleague is trying to build a Linux working PROFINET device application. From there we want to port this Linux version onto other real-time operating systems used by our customers.
We are using v00.09.00 of the Profinet Community Stack
The makefile is being created.
Can you please indicate where is the main function in the v00.09.00 source code?
Thanks very much.
That is why there is no "main" function in the community stack. This must be created yourself depending on what you want to achieve with the device, i.e. controller or device with or without system redundancy, shared device, isochronous mode,...
The "Community Stack Development Group" must decide whether and when there will also be functions that show the calls of the stack as examples.
Today the PN driver from Siemens can be used as an example application. https://support.industry.siemens.com/cs ... /109817202
It shows how to configure and use the stack. However, the following applies: If the PN driver is used in products, the license conditions of the PN driver apply.
-
- Posts: 23
- Joined: 26 Oct 2023, 11:08
Re: Community stack, can't find the code for the "main" function
Thanks very much Bart. Will discuss this issue with my colleagues.BartSimpson wrote: ↑12 Jul 2024, 16:05
The Community Stack is not a devkit and should therefore not be seen as code that you can simply "plug" into your existing device. The Community Stack is intended for technology providers and experienced developers who want to act as an "in-house" stack provider. For simple device integration, it is always recommended to use the expertise of a technology provider and to use an existing devkit purely on a SW basis or with an additional ASIC / FPGA / communication module.
That is why there is no "main" function in the community stack. This must be created yourself depending on what you want to achieve with the device, i.e. controller or device with or without system redundancy, shared device, isochronous mode,...
The "Community Stack Development Group" must decide whether and when there will also be functions that show the calls of the stack as examples.
Today the PN driver from Siemens can be used as an example application. https://support.industry.siemens.com/cs ... /109817202
It shows how to configure and use the stack. However, the following applies: If the PN driver is used in products, the license conditions of the PN driver apply.