Cortex M7 is an implementation of Arm's AArch32 architecture and is intended for embedded applications.
Unlike Arm's A class cores there is no MMU on M class cores. An OS like Linux does not normally run on this class of processor.
My understanding is that you will not be able to run DynamoRIO on it.