11meta-rtlabs Yocto layer
22=======================
3+
34This Yocto layer contains a recipe to build p-net.
45
56The p-net stack is an open-source Profinet IO-device stack developed by
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-
1313Versions
14- ========
14+ --------
15+
1516This layer is tested with Yocto version 2.4 ("rocko"), but should work with
1617other Yocto versions.
1718
@@ -26,9 +27,9 @@ recent enough. Nowever this layer contains a recipe for updated cmake-native
2627so it also can be used with older Yocto releases. In the future when we only
2728support Yocto 2.7 or later, that recipe will be removed.
2829
29-
3030Dependencies
31- ============
31+ ------------
32+
3233This 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-
4242Adding the rtlabs layer to your build
43- =====================================
43+ -------------------------------------
44+
4445In order to use this layer, you need to make the build system aware of
4546it.
4647
@@ -58,5 +59,20 @@ other layers needed. e.g.:
5859
5960In 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