bosmoment / PineTime-apps

Firmware for the PineTime based on RIOT, NimBLE and LittleVGL
GNU Lesser General Public License v2.1
79 stars 32 forks source link

Wake SPI NOR Flash during init #8

Open bergzand opened 4 years ago

bergzand commented 4 years ago

The default firmware puts the SPI NOR flash chip in deep sleep mode. Something the firmware here should also do. However, the current firmware does not wake the flash chip and will try to initialize it while it is in deep sleep. This causes errors during init if the SPI NOR flash is not power cycled after removing the stock firmware.