It is a wonderful hike. I did it 2016, North to South from Santiago de Cacém to Cabo de Sào Vicente. I think you may have the flag story reversed. They are the castles represented on the Portuguese flag. Historically there have been more than 7. I also visited some of the others at Alcoutim...