[TBD] macro flash writing & led block control