Replace address end constant with FLASHEND from io.h