- README updated
This commit is contained in:
		
							parent
							
								
									58bb2f122a
								
							
						
					
					
						commit
						c2a21b599a
					
				@ -1 +1 @@
 | 
				
			|||||||
Subproject commit e1c9e739a50c178f422ec3688233f824b7b1e9ca
 | 
					Subproject commit 3046dd0e0f336e9cd7cf5b6556b106513b35c385
 | 
				
			||||||
							
								
								
									
										13
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								README.md
									
									
									
									
									
								
							@ -1,6 +1,6 @@
 | 
				
			|||||||
# flexPTP Linux demo
 | 
					# flexPTP Linux demo
 | 
				
			||||||
 | 
					
 | 
				
			||||||

 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## What's this?
 | 
					## What's this?
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -76,6 +76,17 @@ ptp priority [<p1> <p2>]                           Print or set clock priority f
 | 
				
			|||||||
> [!TIP]
 | 
					> [!TIP]
 | 
				
			||||||
> The above hint can be listed by typing '?'.
 | 
					> The above hint can be listed by typing '?'.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Tested systems
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					The flexPTP Linux port has been tested on x86-based (64-bit generic PCs, Ubuntu 24.04, Ubuntu 24.10) and ARM-based (32-bit [BeagleBone Black Industrial](https://www.beagleboard.org/boards/beaglebone-black-industrial) SBC, Debian 12) Linux systems.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					All network interfaces supported by the kernel's PHC infrastructure can be used with flexPTP as well. The operation has been confirmed with the following Intel NICs:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Intel 82576
 | 
				
			||||||
 | 
					- Intel I210
 | 
				
			||||||
 | 
					- Intel I219-V
 | 
				
			||||||
 | 
					- Intel E810
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Under the hood
 | 
					## Under the hood
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The porting layer used in this project is very much different compared to a conventional port supporting a specific  microcontroller. The [Network Stack Driver](https://epagris.github.io/flexPTP/porting.html#network-stack-driver) and the Hardware Port got unified into the single [nsd_linux.c](https://github.com/epagris/flexPTP/blob/master/src/flexptp/port/example_netstack_drivers/nsd_linux.c) source file. The port uses the Linux kernel's built-in PHC-adjustment functions and standard POSIX socket operations. Each major step is documented in the NSD source file.
 | 
					The porting layer used in this project is very much different compared to a conventional port supporting a specific  microcontroller. The [Network Stack Driver](https://epagris.github.io/flexPTP/porting.html#network-stack-driver) and the Hardware Port got unified into the single [nsd_linux.c](https://github.com/epagris/flexPTP/blob/master/src/flexptp/port/example_netstack_drivers/nsd_linux.c) source file. The port uses the Linux kernel's built-in PHC-adjustment functions and standard POSIX socket operations. Each major step is documented in the NSD source file.
 | 
				
			||||||
 | 
				
			|||||||
@ -1,6 +1,8 @@
 | 
				
			|||||||
#ifndef FLEXPTP_LINUX_CLI_H
 | 
					#ifndef FLEXPTP_LINUX_CLI_H
 | 
				
			||||||
#define FLEXPTP_LINUX_CLI_H
 | 
					#define FLEXPTP_LINUX_CLI_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* A very simple, statically allocated CLI implementation transferred from microcontroller projects. */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <stdbool.h>
 | 
					#include <stdbool.h>
 | 
				
			||||||
#include <stdint.h>
 | 
					#include <stdint.h>
 | 
				
			||||||
#include <string.h>
 | 
					#include <string.h>
 | 
				
			||||||
 | 
				
			|||||||
| 
		 Before Width: | Height: | Size: 2.2 MiB After Width: | Height: | Size: 2.2 MiB  | 
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user