Skip to content

Commit 459e043

Browse files
author
rt-labs bot
committed
chore: catchup to 415e752
415e752 Update mutilatorrc 13103f9 Rename doc folder to docs 3e115f4 Rename doc folder to docs f43a3c1 Update release notes 85e7256 Bump version caca2f3 bg worker: add more jobs 32f80c0 pf_cmrpc: bugfix ndrdata parsing b2a9b6f jenkins: fix publish failure 4b80d88 pf_cmrdr: add NULL-check for p_data c699bf8 pf_cmrpc: add null-check for p_ar a84c21e pf_cmrpc: fix length_of_body memcpy issue e1b54b6 add fuzz test for pf_cmrpc_dce_packet e7708a2 pf_cmrpc: Validate number of AR vendor blocks 7b799d4 pf_block_reader: Validate prm server station name 2664fc4 pf_block_reader: Validate MCR station name 2650ebf pf_ppm: Prevent OOB data and IOPS writes 9929132 pf_block_reader: Validate IOCRBlockReq 09dfd29 pf_block_writer: Remove potential infinite loops 3e37a6a pf_block_reader: Check NDR header values 62ca5f3 test: Fix appl_rdy_rsp ArgsMaximum 0e5f17f pf_cmrpc: Reject read requests without connection 0739f1b pf_block_reader: Validate IRInfoBlock d776556 pf_block_reader: Validate number of submodules 75c89ec fix: update cmake tools to reduce warnings 66e5f34 chore: bump cmake requirements to 3.28 888df9d refactor: add version prefix to docs 69414f3 feat: archive samples.zip on build 18163f1 feat: allow samples to build as separate lib e01181e feat: install osal as part of package d95cc16 feat: update tools library 7af0e3b refactor: remove ifdef on pnet options 26c86be refactor: combine options file and install 34bbc23 Update rt-kernel patch b7bb4d2 rt-kernel: Fix broken UDP validation added by p-net patch 347ad84 Add script for creating source distribtion 726a8f1 Update HTML and PDF documents e5393a1 Fix spelling cb05d4e Adjust evaulation readme for p-net 8f7aaad Bump version 3a74436 pf_lldp: Check NoS regardless of mode 7b0f7b7 ResetToFactory: Fix SNMP reset af37843 pn_dev: Update GSDML to v2.43 2cb68b9 rt-kernel/pnal_eth: Fix enum-conversion error c9653a9 Let the arm build be optional Based-On-Commit: 415e75248e1af2063eed771471cc0eb88a7534ca Change-Id: I891b8703004ecece6f4800ae137ad38c6d8585a5
1 parent 9b97465 commit 459e043

37 files changed

+1019
-480
lines changed

.gitattributes

+8
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,11 @@ src/ports/linux/set_profinet_leds text eol=lf
2222
*.PDF diff=astextplain
2323
*.rtf diff=astextplain
2424
*.RTF diff=astextplain
25+
26+
/requirements.jenkins.* export-ignore
27+
/.docker export-ignore
28+
/.github export-ignore
29+
/.git* export-ignore
30+
/.jenkins export-ignore
31+
/.mutilatorrc export-ignore
32+
/scripts export-ignore

.github/README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
# Evaluation version
22

3-
This repository contains an evaluation version of **P-Net**, a P-Net stack
3+
This repository contains an evaluation version of **P-Net**, a stack
44
for Profinet Device implementations. It is especially well suited for
55
embedded systems where resources are limited and efficiency is crucial.
66
It is written in C and can be run on an RTOS such as rt-kernel, FreeRTOS,
77
or on Linux.
88

99
It does not contain any ports and cannot be built without adding additional sources.
1010

11-
See [readme](../README.md) for more information on the complete version of the stack and the [releases](https://github.com/rtlabs-com/p-net/releases) for binary downloads for common targets.
11+
See:
12+
13+
- [Readme](../README.md) for more information on the complete version of the stack.
14+
- [Releases](https://github.com/rtlabs-com/p-net/releases) for binary downloads for common targets.
15+
- [Product](https://rt-labs.com/product/p-net/) for license information as well as complete documentation.
1216

1317
This version of P-Net can be used for evaluation purposes
1418
only. Contact <[email protected]> if you intend to use this stack in a

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ build*/
44
CMakeFiles/
55
CMakeCache.txt
66
install
7-
doc/_build
8-
doc/_copied
7+
docs/_build
8+
docs/_copied
99

1010
.cproject
1111
.project

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# P-net
1+
# P-Net
22

33
Profinet device stack for embedded systems
44

src/pnal.h renamed to include/pnal.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ extern "C" {
3333
#include <stdint.h>
3434
#include <stdbool.h>
3535

36-
#include "options.h"
36+
#include "pnet_options.h"
3737
#include "pnet_api.h"
3838
#include "pnal_sys.h"
3939

include/pnet_api.h

+22
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,28 @@ extern "C" {
360360
*/
361361
#define PNET_ERROR_CODE_2_DCTRL_FAULTY_CONNECT_CONTROLCOMMAND 0x08
362362

363+
/**
364+
* # List of error_code_2 values, for
365+
* PNET_ERROR_CODE_1_CONN_FAULTY_IR_INFO (not exhaustive).
366+
* PN-AL-Protocol (Mar24): 5.8.2.12 (Table 1322)
367+
*/
368+
#define PNET_ERROR_CODE_2_FAULTY_IR_INFO_WRONG_UUID 0x05
369+
#define PNET_ERROR_CODE_2_FAULTY_IR_INFO_WRONG_NBR_IOCRS 0x07
370+
371+
/**
372+
* # List of error_code_2 values, for
373+
* PNET_ERROR_CODE_1_CONN_FAULTY_MCR_BLOCK_REQ (not exhaustive).
374+
* PN-AL-Protocol (Mar24): 5.8.2.9 (Table 1320)
375+
*/
376+
#define PNET_ERROR_CODE_2_FAULTY_MCR_BLOCK_REQ_WRONG_NAME_LENGTH 0x07
377+
378+
/**
379+
* # List of error_code_2 values, for
380+
* PNET_ERROR_CODE_1_CONN_FAULTY_PRM_SERVER_BLOCK_REQ (not exhaustive).
381+
* PN-AL-Protocol (Mar24): 5.8.2.8 (Table 1319)
382+
*/
383+
#define PNET_ERROR_CODE_2_FAULTY_PRM_SERVER_BLOCK_REQ_WRONG_NAME_LENGTH 0x07
384+
363385
/******************************** Events ******************************/
364386

365387
/**

options.h.in

-246
This file was deleted.

0 commit comments

Comments
 (0)