added memory region parameter for avrdude task