fix peripheral linking errors

library linking errors resolved by directly including library source
files

however this doesn't resolve the `undefined reference to
<user-generated function>` errors