Heat the oven to 180° top-bottom heat. Prepare a baking tray with baking paper.
Put the pumpkin pieces in a bowl and drizzle with olive oil. Add sugar and cinnamon. Put them in the oven. After 15 minutes the pumpkin pieces should be soft.
Chop the chickpeas and the soft pumpkin in a food processor. Alternatively, a hand blender also does'it.
Now add all the other ingredients to the chickpeas. Then knead the ingredients with your hands (attention: the pumpkin is hot).
Set the mixture aside for 30 minutes to allow the semolina to absorb the liquid.
Sprinkle a little cornmeal on a plate. With wet hands, form pumpkin patties and then turn them in the cornmeal.
Fry the patties on both sides in the pan over medium heat. Done! :)