Halve the pumpkin and remove the seeds with a spoon. Then scrape the meat out of the pumpkin with a small ball cutter and place in a baking dish. Peel and chop the potatoes and add.
Fry the ham and add it with the mushrooms. Season with pepper, oil, rosemary and thyme.
Preheat the oven to 200 ° C and bake the pumpkin for about 35 minutes.