added some compiler flags in order to reduce FLASH usage