changed DMA flag names according to newer libopencm3 version
updates flash.c to newer libopencm3 APIs
updates usb.c to newer libopencm3 API