Skip to content

Commit 419d7f2

Browse files
committed
docs: update documentation for adjusted layer
1 parent c32814f commit 419d7f2

File tree

1 file changed

+24
-8
lines changed

1 file changed

+24
-8
lines changed

README.md

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
meta-rtlabs Yocto layer
22
=======================
3+
34
This Yocto layer contains a recipe to build p-net.
45

56
The p-net stack is an open-source Profinet IO-device stack developed by
@@ -9,9 +10,9 @@ license, please contact [email protected]
910
* p-net: [https://github.com/rtlabs-com/p-net](https://github.com/rtlabs-com/p-net)
1011
* rt-labs: [https://rt-labs.com](https://rt-labs.com)
1112

12-
1313
Versions
14-
========
14+
--------
15+
1516
This layer is tested with Yocto version 2.4 ("rocko"), but should work with
1617
other Yocto versions.
1718

@@ -26,9 +27,9 @@ recent enough. Nowever this layer contains a recipe for updated cmake-native
2627
so it also can be used with older Yocto releases. In the future when we only
2728
support Yocto 2.7 or later, that recipe will be removed.
2829

29-
3030
Dependencies
31-
============
31+
------------
32+
3233
This layer depends on:
3334

3435
URI: git://git.openembedded.org/bitbake
@@ -38,9 +39,9 @@ This layer depends on:
3839
layers: meta
3940
branch: master
4041

41-
4242
Adding the rtlabs layer to your build
43-
=====================================
43+
-------------------------------------
44+
4445
In order to use this layer, you need to make the build system aware of
4546
it.
4647

@@ -58,5 +59,20 @@ other layers needed. e.g.:
5859

5960
In order to use the recipes, add this to your image:
6061

61-
* *p-net* Adds libprofinet
62-
* *p-net-demo* Adds libprofinet and the sample app
62+
* *p-net* Adds libpnet
63+
* *p-net-samples* Adds libpnet and the sample app
64+
65+
Variants
66+
--------
67+
68+
Two variants of the p-net recipe is added by this layer:
69+
70+
* `Evaluation` (p-net-evaluation)
71+
* `Production` (p-net-production)
72+
73+
The `Evaluation` version uses publicly available precompiled binaries for the library
74+
compiled in evaluation mode.
75+
76+
The `Production` variant depends on a locally provided zip of the p-net sources. The
77+
source package can be placed in the `recipes-connectivity/p-net/files` folder, or
78+
a `bbappend` file can be used to provide the path to the source package.

0 commit comments

Comments
 (0)