Add rule to flash using st-flash.
Fix address and size of SRAM.

This was causing all kind of weird issues as the code attempted to
write variables in the flash. oops.