- flexPTP updated
- README updated
This commit is contained in:
		
							parent
							
								
									844f6729c1
								
							
						
					
					
						commit
						08baaf2a62
					
				
							
								
								
									
										4
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							@ -1,9 +1,9 @@
 | 
				
			|||||||
[submodule "CM4/Modules/etherlib"]
 | 
					[submodule "CM4/Modules/etherlib"]
 | 
				
			||||||
	path = CM4/Modules/etherlib
 | 
						path = CM4/Modules/etherlib
 | 
				
			||||||
	url = git@epagris.com:epagris/EtherLib.git
 | 
						url = https://gitea.epagris.com/epagris/EtherLib
 | 
				
			||||||
[submodule "CM4/Modules/flexptp"]
 | 
					[submodule "CM4/Modules/flexptp"]
 | 
				
			||||||
	path = CM4/Modules/flexptp
 | 
						path = CM4/Modules/flexptp
 | 
				
			||||||
	url = git@epagris.com:epagris/flexPTP.git
 | 
						url = https://github.com/epagris/flexPTP
 | 
				
			||||||
[submodule "Common/Middlewares/FreeRTOS"]
 | 
					[submodule "Common/Middlewares/FreeRTOS"]
 | 
				
			||||||
	path = Common/Middlewares/FreeRTOS
 | 
						path = Common/Middlewares/FreeRTOS
 | 
				
			||||||
	url = https://gitea.epagris.com/epagris/FreeRTOS-Kernel-CustomTag.git
 | 
						url = https://gitea.epagris.com/epagris/FreeRTOS-Kernel-CustomTag.git
 | 
				
			||||||
 | 
				
			|||||||
@ -196,6 +196,7 @@ set(FLEXPTP_CPU_PARAMS ${cpu_PARAMS})
 | 
				
			|||||||
set(FLEXPTP_COMPILE_DEFS ${comp_defs})
 | 
					set(FLEXPTP_COMPILE_DEFS ${comp_defs})
 | 
				
			||||||
add_subdirectory(Modules/flexptp)
 | 
					add_subdirectory(Modules/flexptp)
 | 
				
			||||||
target_link_libraries(${CM4_TARGET} flexptp)
 | 
					target_link_libraries(${CM4_TARGET} flexptp)
 | 
				
			||||||
 | 
					target_include_directories(${CM4_TARGET} PUBLIC ${FLEXPTP_INCLUDE_EXPORT})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Add sources to executable
 | 
					# Add sources to executable
 | 
				
			||||||
target_sources(${CM4_TARGET} PUBLIC ${sources_SRCS})
 | 
					target_sources(${CM4_TARGET} PUBLIC ${sources_SRCS})
 | 
				
			||||||
 | 
				
			|||||||
@ -38,6 +38,7 @@
 | 
				
			|||||||
 * NO_SYS==1: Provides VERY minimal functionality. Otherwise,
 | 
					 * NO_SYS==1: Provides VERY minimal functionality. Otherwise,
 | 
				
			||||||
 * use lwIP facilities.
 | 
					 * use lwIP facilities.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					#include <stdint.h>
 | 
				
			||||||
#define NO_SYS                  0
 | 
					#define NO_SYS                  0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* ---------- Memory options ---------- */
 | 
					/* ---------- Memory options ---------- */
 | 
				
			||||||
@ -95,6 +96,9 @@ a lot of data that needs to be copied, this should be set high. */
 | 
				
			|||||||
#define LWIP_SUPPORT_CUSTOM_PBUF      1
 | 
					#define LWIP_SUPPORT_CUSTOM_PBUF      1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* --------- Ethernet hooks --------- */
 | 
					/* --------- Ethernet hooks --------- */
 | 
				
			||||||
 | 
					struct netif;
 | 
				
			||||||
 | 
					struct pbuf;
 | 
				
			||||||
 | 
					extern int8_t hook_unknown_ethertype(struct pbuf *pbuf, struct netif *netif);
 | 
				
			||||||
#define LWIP_HOOK_UNKNOWN_ETH_PROTOCOL(pbuf,netif) hook_unknown_ethertype(pbuf,netif)
 | 
					#define LWIP_HOOK_UNKNOWN_ETH_PROTOCOL(pbuf,netif) hook_unknown_ethertype(pbuf,netif)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* ---------- IPv4 options ---------- */
 | 
					/* ---------- IPv4 options ---------- */
 | 
				
			||||||
 | 
				
			|||||||
@ -1 +1 @@
 | 
				
			|||||||
Subproject commit 38614b719446f62a7e1d210a994755b88e30fdbf
 | 
					Subproject commit 33b40f2eed4b2c725cbc2a9ed30b4fc928755878
 | 
				
			||||||
@ -23,7 +23,7 @@ Still not clear what is it useful for? No worries, it's a behind-the-scenes supp
 | 
				
			|||||||
> To acquire the full source tree after cloning the repo, please fetch the linked *submodules* as well:
 | 
					> To acquire the full source tree after cloning the repo, please fetch the linked *submodules* as well:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
git clone https://gitea.epagris.com/epagris/flexPTP-demo-NUCLEO-H745ZI-Q.git
 | 
					git clone https://github.com/epagris/flexPTP-demo-NUCLEO-H745ZI-Q
 | 
				
			||||||
cd flexPTP-demo-NUCLEO-H745ZI-Q
 | 
					cd flexPTP-demo-NUCLEO-H745ZI-Q
 | 
				
			||||||
git submodule init
 | 
					git submodule init
 | 
				
			||||||
git submodule update
 | 
					git submodule update
 | 
				
			||||||
@ -180,7 +180,7 @@ ptp log {def|corr|ts|info|locked|bmca} {on|off}    Turn on or off logging
 | 
				
			|||||||
time [ns]                                          Print time
 | 
					time [ns]                                          Print time
 | 
				
			||||||
ptp master [[un]prefer] [clockid]                  Master clock settings
 | 
					ptp master [[un]prefer] [clockid]                  Master clock settings
 | 
				
			||||||
ptp info                                           Print PTP info
 | 
					ptp info                                           Print PTP info
 | 
				
			||||||
ptp domain [domain]                                Print or get PTP domain
 | 
					ptp domain [domain]                                Print or set PTP domain
 | 
				
			||||||
ptp addend [addend]                                Print or set addend
 | 
					ptp addend [addend]                                Print or set addend
 | 
				
			||||||
ptp transport [{ipv4|802.3}]                       Set or get PTP transport layer
 | 
					ptp transport [{ipv4|802.3}]                       Set or get PTP transport layer
 | 
				
			||||||
ptp delmech [{e2e|p2p}]                            Set or get PTP delay mechanism
 | 
					ptp delmech [{e2e|p2p}]                            Set or get PTP delay mechanism
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user