Preheat the oven to 400 degrees F.
Generously coat large baking sheet (or use 2 smaller ones) with nonstick spray or cover with heavy duty tin foil for ease of cleaning.
Place the squash cubes in a large bowl and add olive oil and maple syrup. Gently toss with the squash.
Sprinkle the salt, cinnamon, and both peppers. Toss to coat.
Evenly divide the squash on the baking sheet so squash is in a single layer and not overlapping. Do not add the extra liquid from the bowl.
Place the pans in your oven and bake for 20 minutes.
Remove the pan from the oven when lightly brown.
Turn the cubes with a spatula, then return to the oven.
Continue baking until the squash is tender and well browned, but not burnt. About 15 additional minutes.
Remove from the oven and sprinkle the rosemary over the top. Serve warm.