Skip to content

decimad/microptp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

microptp

c++ implementation of a non-conforming ptp clock (slave only for now)

  • sends a delay req per sync (since I don't know if delay reqs need to be statistically distributed)
  • no master timeout removal (since I don't know the specs for this to conform)
  • see file microptp/ports/systemport.hpp for the system port api, see included port onethread for a sample implementation using stmlib on a stm32f407
  • feel free to donate a copy of the spec ;)
  • no runtime floating point (constexpr only through fixed point lib)

memory footprint

  • text: 40.6 kb including ethernet driver, lwip with dhcp and the stmlib ptp port. (O3, lto, arm gcc 4.9)
  • text: 9 kb for microptp alone
  • bss : 48 kb including 25kb lwip heap+buffers, 8kb stmlib rx buffers, 4kb net thread stack (can be tuned down...)
  • bss : 1,23kb for microptp alone

relies on these libraries

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages