To heat treat flour, all you need to do is bake flour on a baking sheet for 8 minutes. The point of this is kill any harmful bacteria in the raw flour that could get you sick, such as salmonella.