remove target.h from flash.h