Skip to content

Commit

Permalink
Combine SAMG differences into single templated pin.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbridejc committed Sep 8, 2021
1 parent dc3b29a commit 4cd81d8
Show file tree
Hide file tree
Showing 3 changed files with 169 additions and 352 deletions.
5 changes: 1 addition & 4 deletions src/modm/platform/gpio/sam/module.lb
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,7 @@ def build(env):
bprops["gpios"] = driver["gpio"]
env.template("config.hpp.in")
env.copy("connector.hpp")
if 'samg' in driver['type']:
env.copy("pin_samg.hpp", "pin.hpp")
else:
env.copy("pin.hpp")
if len(env["enable_ports"]):
env.template("enable.cpp.in")
env.template("pin.hpp.in")
env.copy("unused.hpp")
345 changes: 0 additions & 345 deletions src/modm/platform/gpio/sam/pin.hpp

This file was deleted.

Loading

0 comments on commit 4cd81d8

Please sign in to comment.