Fixed Flash Footprint
library cleanup
fixed ERC errors

Signed-off-by: blubdibub <github@nidu.eu>