Use HARDCORE flags and SM toolchains

Change-Id: Icba7791c43c1558f372b26d3b56848d82755658b
Signed-off-by: Petr kecinzer Řezníček <kecinzer@gmail.com>