1.change device plug out detect method from average to max value
2.configure bootloader to save code size by define BL_MIN_PROFILE to 1