The Sun of May in the flag is inspired by an ancient Inca god. It is used by the Argentinian flag and the Uruguayan flag.
It is a representation used as a homage to the ancient empire, inspired by the Inca sun deity, as there isn't an official symbol to represent it, just like we don't have a symbol to represent Hashem.
It is not like the Turkey flag. Muslims adopted the crescent, a secular symbol, to represent their faith, contrariwise, the Sun of May was never adopted by Incan faith, neither it was made to symbolize it.
Is it idolatry to use/wave these flags, but without adoring the symbol?