Yes, Qemu emulates the Cortex-M, and FreeRTOS will run on any Cortex-M
(0, 0+, 3, 4, 4F, and 7) that has enough RAM. No porting is required,
but you will have to set up a project. QEMU configuration is out of
scope for this forum though I’m afraid, but here are some links that
might help setting up a project: