Skip to content

decimad/microptp

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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