Skip to content
/ spwl Public

Reference implementation for the SPWL-Protocol.

Notifications You must be signed in to change notification settings

PlantWire/spwl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPWL

C/C++ CI coverage report

This is the repositiory of the SPWL-Protocol reference implementation.

For Developers:

Requirements:

This implementation needs at least C++17

The implementation uses the following software for it's build process:

  • cpplint for linting
  • cute as testing framework
  • make as build-management tool
  1. Install make on your pc
  2. Install cpplint on your pc (pip can be used see link above)
  3. Use a IDE to your liking (cevelop supports both makefiles and cute)

Usage:

  1. Change some code

  2. Adjust tests if necessary or write new ones

  3. Run tests (run in pwire-server directory)

     make build_test
     make run_test
    
  4. Run cpplint (run in pwire-server directory)

     make lint
    

    For vscode exists an extension for cpplint which can also be used with the config:

     {
         "editor.suggestSelection": "first",
         "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
         "java.errors.incompleteClasspath.severity": "ignore",
         "cpplint.filters": [
             "-legal/copyright"
         ],
         "cpplint.excludes": ["test/cute", ".metadata"]
     }
  5. Upload to repo (only if 3. and 4. had no errors)

About

Reference implementation for the SPWL-Protocol.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •