more boards support and library size reduction
cleanup