Let $M$ be a closed manifold and consider the constant sheaf $\mathbb{R}_M$. I have heard that the Yoneda product on $\operatorname{Ext}(\mathbb{R}_M, \mathbb{R}_M)= H^*(M; \mathbb{R})$ coincides with the usual cup product of cohomology. How does one prove this? More generally, I would like to show that the differential graded algebra $\operatorname{RHom}(\mathbb{R}_M, \mathbb{R}_M)$ coincides with the algebra of differential forms on $M$.
Is this easy to show? If not, what is a good reference? I guess that a natural thing to try is just to resolve $\mathbb{R}_M$ by de Rham cochains, but this didn't seem to work for me.