Added flashing code, compiles, doesn't flash