Erdogan has had twelve years in power to prepare for a possible coup, after decades of the Turkish military repeatedly conducting coups and suppressing islamists.
He earlier pre-emptively purged the military leadership with a a fraud (memos dated years before the version of windows used to create them) in the so-called sledgehammer case.
You seem convinced it would be unthinkable for him to establish his own equivalent to the Fedayeen Saddam, the Iranian basijis? In fact he has been extraordinarily active in cultivating a variety of paramilitaries (see Syria).
I guess that you didn’t watch the early crowds chanting in Arabic (Y’allah, Bismullah, Allahu Akhbar), while gesturing with the Shahada symbol.
Thanks for the background info.
Muslims were chanting Muslim things? Oh my. I had no idea!!!