Place the cherries and blackberries in a large mixing bowl, then sprinkle the flour over the top. Add the maple syrup, lemon juice, and vanilla, then fold gently to combine. Transfer to the prepared baking dish.
Place a rack in the center of your oven and preheat to 350 degrees F. Lightly coat a deep 8x8-inch or similar baking dish with cooking spray. Set aside.