Skip to content

Commit e1ac466

Browse files
committed
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.
1 parent b6a910e commit e1ac466

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.10)
2-
project(pinetime VERSION 0.8.2 LANGUAGES C CXX ASM)
2+
project(pinetime VERSION 0.8.3 LANGUAGES C CXX ASM)
33

44
set(NRF_TARGET "nrf52")
55

src/SystemTask/SystemTask.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,10 @@ void SystemTask::Work() {
158158
ReloadIdleTimer();
159159
break;
160160
case Messages::OnDisplayTaskSleeping:
161-
spiNorFlash.Sleep();
161+
// BUG : Bootloader v4.1.7 cannot wake the chip up and enters into an infinite loop, which bricks devices.
162+
// Sleep mode is disabled until we can detect the version of the bootloader and enable sleep mode on
163+
// supported versions only
164+
//spiNorFlash.Sleep();
162165
lcd.Sleep();
163166
touchPanel.Sleep();
164167

0 commit comments

Comments
 (0)