periph lib as static lib