Do not send the SLEEP command to the SPI NOR Flash to prevent the bootloader from being stuck in an infinite loop (because it cannot initialize the chip while it's in sleep mode).
Version 0.8.3.
This commit is contained in:
parent
b6a910e52e
commit
e1ac466a97
|
@ -1,5 +1,5 @@
|
||||||
cmake_minimum_required(VERSION 3.10)
|
cmake_minimum_required(VERSION 3.10)
|
||||||
project(pinetime VERSION 0.8.2 LANGUAGES C CXX ASM)
|
project(pinetime VERSION 0.8.3 LANGUAGES C CXX ASM)
|
||||||
|
|
||||||
set(NRF_TARGET "nrf52")
|
set(NRF_TARGET "nrf52")
|
||||||
|
|
||||||
|
|
|
@ -158,7 +158,10 @@ void SystemTask::Work() {
|
||||||
ReloadIdleTimer();
|
ReloadIdleTimer();
|
||||||
break;
|
break;
|
||||||
case Messages::OnDisplayTaskSleeping:
|
case Messages::OnDisplayTaskSleeping:
|
||||||
spiNorFlash.Sleep();
|
// BUG : Bootloader v4.1.7 cannot wake the chip up and enters into an infinite loop, which bricks devices.
|
||||||
|
// Sleep mode is disabled until we can detect the version of the bootloader and enable sleep mode on
|
||||||
|
// supported versions only
|
||||||
|
//spiNorFlash.Sleep();
|
||||||
lcd.Sleep();
|
lcd.Sleep();
|
||||||
touchPanel.Sleep();
|
touchPanel.Sleep();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue