compile with -O3 to increase boot speed
remove unuserd functions
initialize mac address from env_variable value