Please reread the post. Free speech refers to the gov't having a duty not to interfere with your expression. The homowners association does not have such as duty. Yours is a common misconception about free speech.
True enough however the homeowners association has a duty to live up to their covenants. In this case there is nothing in the covenant restricting a flag pole.