Linker: Reduce main RAM size use

Reduce cstack to 0x1000
Reduce irqstack to 0x400
Reduce heap to 0x800
Move block FUNCTIONSto FLASH

Signed-off-by: Zarko Kostadinovski <zare_aw@yahoo.com>