Git Product home page Git Product logo

infinitime's People

Contributors

avamander avatar clemensvonmolo avatar dmlls avatar eliwss0 avatar evergreen22 avatar fintasticman avatar geekbozu avatar hubmartin avatar iotpanic avatar jf002 avatar joaquimorg avatar jonvmey avatar jvandermey-evertz avatar kieranc avatar mabuch avatar mruss77 avatar neroburner avatar nuxij avatar petterhs avatar pfeerick avatar piggz avatar riksu9000 avatar stargate01 avatar stephanie-eng avatar steveamor avatar theking8694 avatar timaios avatar vkareh avatar yehoshuapw avatar zephyrlabs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

infinitime's Issues

Actions Not Working for Me At All - Newbie to Actions

I have no idea what to even say or where to start so I'll just say I've tried multiple times and these are the screenshots I have. Hopefully, they'll be more helpful than I am. I have no idea which ones will or will not be helpful.

2020-09-19-163357_1920x1080_scrot
2020-09-19-163412_1920x1080_scrot
2020-09-19-164925_1920x1080_scrot
2020-09-19-165134_1920x1080_scrot
2020-09-19-165141_1920x1080_scrot
2020-09-19-165222_1920x1080_scrot
2020-09-19-165629_1920x1080_scrot
2020-09-19-165646_1920x1080_scrot
2020-09-19-165738_1920x1080_scrot
2020-09-19-165809_1920x1080_scrot

Cmake version

I'm getting following error:

$ cmake ../
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  CMake 3.15 or higher is required.  You are running version 3.10.2

Is such a new version of cmake necessary? I'm on fully updated Ubuntu 18.04 LTS

Unable to comple

two separate errors here:

 fatal error: sdk/modules/nrfx/mdk/nrf.h: No such file or directory
file /home/danman/Projects/pinetime/Pinetime/nRF5_SDK_15.3.0_59ac345/modules/nrfx/mdk/nrf.h
/home/danman/Projects/pinetime/Pinetime/nRF5_SDK_15.3.0_59ac345/modules/nrfx/mdk/nrf.h: C source, ASCII text, with CRLF line terminators

and:

/tmp/cclA05JU.s:29: Error: selected processor does not support requested special purpose register -- `msr msp,r0'

full log:

danman@silverhorse:~/Projects/pinetime/Pinetime/build$ ls
danman@silverhorse:~/Projects/pinetime/Pinetime/build$ cmake -DNRF5_SDK_PATH=/home/danman/Projects/pinetime/Pinetime/nRF5_SDK_15.3.0_59ac345 -DUSE_OPENOCD=1 -DARM_NONE_EABI_TOOLCHAIN_PATH=/home/danman/Projects/pinetime/gcc-arm-none-eabi-8-2019-q3-update ../
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
BUILD CONFIGURATION
-------------------
    * Version : 0.7.0
    * Toolchain : /home/danman/Projects/pinetime/gcc-arm-none-eabi-8-2019-q3-update
    * NRF52 SDK : /home/danman/Projects/pinetime/Pinetime/nRF5_SDK_15.3.0_59ac345
    * Programmer/debugger : OpenOCD Client
    * Debug pins : Disabled
-- Configuring done
-- Generating done
-- Build files have been written to: /home/danman/Projects/pinetime/Pinetime/build
danman@silverhorse:~/Projects/pinetime/Pinetime/build$ make -j pinetime-app
Scanning dependencies of target pinetime-app
[  0%] Building CXX object src/CMakeFiles/pinetime-app.dir/Logging/NrfLogger.cpp.o
[  0%] Building CXX object src/CMakeFiles/pinetime-app.dir/BlinkApp/BlinkApp.cpp.o
[  0%] Building CXX object src/CMakeFiles/pinetime-app.dir/DisplayApp/Screens/Clock.cpp.o
[  0%] Building CXX object src/CMakeFiles/pinetime-app.dir/DisplayApp/Screens/Message.cpp.o
[  2%] Building CXX object src/CMakeFiles/pinetime-app.dir/DisplayApp/Screens/Screen.cpp.o
[  2%] Building CXX object src/CMakeFiles/pinetime-app.dir/DisplayApp/DisplayApp.cpp.o
[  2%] Building CXX object src/CMakeFiles/pinetime-app.dir/DisplayApp/Screens/Tile.cpp.o
[  4%] Building CXX object src/CMakeFiles/pinetime-app.dir/DisplayApp/Screens/Gauge.cpp.o
[  4%] Building CXX object src/CMakeFiles/pinetime-app.dir/DisplayApp/Screens/Meter.cpp.o
[  4%] Building CXX object src/CMakeFiles/pinetime-app.dir/DisplayApp/Screens/Modal.cpp.o
[  4%] Building CXX object src/CMakeFiles/pinetime-app.dir/DisplayApp/Screens/BatteryIcon.cpp.o
[  4%] Building CXX object src/CMakeFiles/pinetime-app.dir/DisplayApp/Screens/BleIcon.cpp.o
[  4%] Building CXX object src/CMakeFiles/pinetime-app.dir/DisplayApp/Screens/Brightness.cpp.o
[  4%] Building CXX object src/CMakeFiles/pinetime-app.dir/DisplayApp/Screens/Label.cpp.o
[  6%] Building CXX object src/CMakeFiles/pinetime-app.dir/DisplayApp/Screens/ScreenList.cpp.o
[  6%] Building CXX object src/CMakeFiles/pinetime-app.dir/DisplayApp/Screens/FirmwareUpdate.cpp.o
[  6%] Building CXX object src/CMakeFiles/pinetime-app.dir/main.cpp.o
[  6%] Building CXX object src/CMakeFiles/pinetime-app.dir/drivers/St7789.cpp.o
[  8%] Building CXX object src/CMakeFiles/pinetime-app.dir/drivers/SpiNorFlash.cpp.o
[  8%] Building CXX object src/CMakeFiles/pinetime-app.dir/drivers/SpiMaster.cpp.o
[  8%] Building CXX object src/CMakeFiles/pinetime-app.dir/drivers/Spi.cpp.o
[  8%] Building CXX object src/CMakeFiles/pinetime-app.dir/drivers/Watchdog.cpp.o
[  8%] Building CXX object src/CMakeFiles/pinetime-app.dir/drivers/DebugPins.cpp.o
[  8%] Building CXX object src/CMakeFiles/pinetime-app.dir/drivers/InternalFlash.cpp.o
[ 11%] Building CXX object src/CMakeFiles/pinetime-app.dir/Components/Battery/BatteryController.cpp.o
[ 11%] Building CXX object src/CMakeFiles/pinetime-app.dir/Components/DateTime/DateTimeController.cpp.o
[ 11%] Building CXX object src/CMakeFiles/pinetime-app.dir/Components/Ble/NotificationManager.cpp.o
[ 11%] Building CXX object src/CMakeFiles/pinetime-app.dir/Components/Ble/BleController.cpp.o
[ 11%] Building CXX object src/CMakeFiles/pinetime-app.dir/Components/Brightness/BrightnessController.cpp.o
[ 13%] Building CXX object src/CMakeFiles/pinetime-app.dir/Components/Ble/NimbleController.cpp.o
[ 13%] Building CXX object src/CMakeFiles/pinetime-app.dir/Components/Ble/DeviceInformationService.cpp.o
[ 13%] Building CXX object src/CMakeFiles/pinetime-app.dir/Components/Ble/CurrentTimeClient.cpp.o
[ 13%] Building CXX object src/CMakeFiles/pinetime-app.dir/Components/Ble/AlertNotificationClient.cpp.o
[ 13%] Building CXX object src/CMakeFiles/pinetime-app.dir/Components/Ble/DfuService.cpp.o
/home/danman/Projects/pinetime/Pinetime/src/drivers/InternalFlash.cpp:1:10: fatal error: sdk/modules/nrfx/mdk/nrf.h: No such file or directory
 #include <sdk/modules/nrfx/mdk/nrf.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [src/CMakeFiles/pinetime-app.dir/build.make:362: src/CMakeFiles/pinetime-app.dir/drivers/InternalFlash.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[ 15%] Building CXX object src/CMakeFiles/pinetime-app.dir/Components/Ble/CurrentTimeService.cpp.o
[ 15%] Building CXX object src/CMakeFiles/pinetime-app.dir/Components/Ble/AlertNotificationService.cpp.o
[ 15%] Building CXX object src/CMakeFiles/pinetime-app.dir/drivers/Cst816s.cpp.o
[ 15%] Building C object src/CMakeFiles/pinetime-app.dir/FreeRTOS/port.c.o
/tmp/cclA05JU.s: Assembler messages:
/tmp/cclA05JU.s:29: Error: selected processor does not support requested special purpose register -- `msr msp,r0'
/tmp/cclA05JU.s:30: Error: selected processor does not support `cpsie i' in ARM mode
/tmp/cclA05JU.s:31: Error: selected processor does not support `cpsie f' in ARM mode
/tmp/cclA05JU.s:32: Error: selected processor does not support `dsb ' in ARM mode
/tmp/cclA05JU.s:33: Error: selected processor does not support `isb ' in ARM mode
/tmp/cclA05JU.s:60: Error: selected processor does not support requested special purpose register -- `msr psp,r0'
/tmp/cclA05JU.s:61: Error: selected processor does not support `isb ' in ARM mode
/tmp/cclA05JU.s:63: Error: selected processor does not support requested special purpose register -- `msr basepri,r0'
/tmp/cclA05JU.s:86: Error: selected processor does not support requested special purpose register -- `mrs r0,psp'
/tmp/cclA05JU.s:87: Error: selected processor does not support `isb ' in ARM mode
/tmp/cclA05JU.s:94: Error: selected processor does not support `vstmdbeq r0!,{s16-s31}' in ARM mode
/tmp/cclA05JU.s:102: Error: selected processor does not support requested special purpose register -- `msr basepri,r0'
/tmp/cclA05JU.s:103: Error: selected processor does not support `dsb ' in ARM mode
/tmp/cclA05JU.s:104: Error: selected processor does not support `isb ' in ARM mode
/tmp/cclA05JU.s:107: Error: selected processor does not support requested special purpose register -- `msr basepri,r0'
/tmp/cclA05JU.s:117: Error: selected processor does not support `vldmiaeq r0!,{s16-s31}' in ARM mode
/tmp/cclA05JU.s:119: Error: selected processor does not support requested special purpose register -- `msr psp,r0'
/tmp/cclA05JU.s:120: Error: selected processor does not support `isb ' in ARM mode
make[3]: *** [src/CMakeFiles/pinetime-app.dir/build.make:544: src/CMakeFiles/pinetime-app.dir/FreeRTOS/port.c.o] Error 1
In file included from /home/danman/Projects/pinetime/Pinetime/src/Components/Ble/DeviceInformationService.cpp:1:
/home/danman/Projects/pinetime/Pinetime/src/Components/Ble/DeviceInformationService.h:25:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* manufacturerName = "Codingfield";
                                                   ^~~~~~~~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/Components/Ble/DeviceInformationService.h:26:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* modelNumber = "1";
                                              ^~~
/home/danman/Projects/pinetime/Pinetime/src/Components/Ble/DeviceInformationService.h:27:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* serialNumber = "9.8.7.6.5.4";
                                               ^~~~~~~~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/Components/Ble/DeviceInformationService.h:28:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* fwRevision = "0.5.0";
                                             ^~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/Components/Ble/DeviceInformationService.h:29:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* hwRevision = "1.0.0";
                                             ^~~~~~~
/tmp/ccpY7yPx.s: Assembler messages:
/tmp/ccpY7yPx.s:1058: Error: selected processor does not support `sev' in ARM mode
/tmp/ccpY7yPx.s:1061: Error: selected processor does not support `dsb 0xF' in ARM mode
/tmp/ccpY7yPx.s:1064: Error: selected processor does not support `isb 0xF' in ARM mode
/tmp/ccpY7yPx.s:1093: Error: selected processor does not support `sev' in ARM mode
/tmp/ccpY7yPx.s:1096: Error: selected processor does not support `dsb 0xF' in ARM mode
/tmp/ccpY7yPx.s:1099: Error: selected processor does not support `isb 0xF' in ARM mode
make[3]: *** [src/CMakeFiles/pinetime-app.dir/build.make:310: src/CMakeFiles/pinetime-app.dir/drivers/SpiMaster.cpp.o] Error 1
In file included from /home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/NimbleController.h:6,
                 from /home/danman/Projects/pinetime/Pinetime/src/./SystemTask/SystemTask.h:11,
                 from /home/danman/Projects/pinetime/Pinetime/src/main.cpp:17:
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:25:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* manufacturerName = "Codingfield";
                                                   ^~~~~~~~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:26:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* modelNumber = "1";
                                              ^~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:27:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* serialNumber = "9.8.7.6.5.4";
                                               ^~~~~~~~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:28:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* fwRevision = "0.5.0";
                                             ^~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:29:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* hwRevision = "1.0.0";
                                             ^~~~~~~
In file included from /home/danman/Projects/pinetime/Pinetime/src/./SystemTask/SystemTask.h:11,
                 from /home/danman/Projects/pinetime/Pinetime/src/main.cpp:17:
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/NimbleController.h:39:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* deviceName = "Pinetime-JF";
                                             ^~~~~~~~~~~~~
In file included from /home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/NimbleController.h:6,
                 from /home/danman/Projects/pinetime/Pinetime/src/./SystemTask/SystemTask.h:11,
                 from /home/danman/Projects/pinetime/Pinetime/src/Components/Ble/NimbleController.cpp:4:
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:25:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* manufacturerName = "Codingfield";
                                                   ^~~~~~~~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:26:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* modelNumber = "1";
                                              ^~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:27:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* serialNumber = "9.8.7.6.5.4";
                                               ^~~~~~~~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:28:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* fwRevision = "0.5.0";
                                             ^~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:29:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* hwRevision = "1.0.0";
                                             ^~~~~~~
In file included from /home/danman/Projects/pinetime/Pinetime/src/./SystemTask/SystemTask.h:11,
                 from /home/danman/Projects/pinetime/Pinetime/src/Components/Ble/NimbleController.cpp:4:
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/NimbleController.h:39:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* deviceName = "Pinetime-JF";
                                             ^~~~~~~~~~~~~
In file included from /home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/NimbleController.h:6,
                 from /home/danman/Projects/pinetime/Pinetime/src/./DisplayApp/Screens/ScreenList.h:4,
                 from /home/danman/Projects/pinetime/Pinetime/src/DisplayApp/DisplayApp.cpp:17:
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:25:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* manufacturerName = "Codingfield";
                                                   ^~~~~~~~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:26:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* modelNumber = "1";
                                              ^~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:27:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* serialNumber = "9.8.7.6.5.4";
                                               ^~~~~~~~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:28:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* fwRevision = "0.5.0";
                                             ^~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:29:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* hwRevision = "1.0.0";
                                             ^~~~~~~
In file included from /home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/NimbleController.h:6,
                 from /home/danman/Projects/pinetime/Pinetime/src/./SystemTask/SystemTask.h:11,
                 from /home/danman/Projects/pinetime/Pinetime/src/Components/Ble/DfuService.cpp:2:
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:25:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* manufacturerName = "Codingfield";
                                                   ^~~~~~~~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:26:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* modelNumber = "1";
                                              ^~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:27:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* serialNumber = "9.8.7.6.5.4";
                                               ^~~~~~~~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:28:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* fwRevision = "0.5.0";
                                             ^~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:29:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* hwRevision = "1.0.0";
                                             ^~~~~~~
In file included from /home/danman/Projects/pinetime/Pinetime/src/./DisplayApp/Screens/ScreenList.h:4,
                 from /home/danman/Projects/pinetime/Pinetime/src/DisplayApp/DisplayApp.cpp:17:
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/NimbleController.h:39:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* deviceName = "Pinetime-JF";
                                             ^~~~~~~~~~~~~
In file included from /home/danman/Projects/pinetime/Pinetime/src/./SystemTask/SystemTask.h:11,
                 from /home/danman/Projects/pinetime/Pinetime/src/Components/Ble/DfuService.cpp:2:
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/NimbleController.h:39:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* deviceName = "Pinetime-JF";
                                             ^~~~~~~~~~~~~
In file included from /home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/NimbleController.h:6,
                 from /home/danman/Projects/pinetime/Pinetime/src/./SystemTask/SystemTask.h:11,
                 from /home/danman/Projects/pinetime/Pinetime/src/Components/Ble/AlertNotificationClient.cpp:1:
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:25:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* manufacturerName = "Codingfield";
                                                   ^~~~~~~~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:26:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* modelNumber = "1";
                                              ^~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:27:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* serialNumber = "9.8.7.6.5.4";
                                               ^~~~~~~~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:28:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* fwRevision = "0.5.0";
                                             ^~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:29:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* hwRevision = "1.0.0";
                                             ^~~~~~~
In file included from /home/danman/Projects/pinetime/Pinetime/src/./SystemTask/SystemTask.h:11,
                 from /home/danman/Projects/pinetime/Pinetime/src/Components/Ble/AlertNotificationClient.cpp:1:
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/NimbleController.h:39:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* deviceName = "Pinetime-JF";
                                             ^~~~~~~~~~~~~
In file included from /home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/NimbleController.h:6,
                 from /home/danman/Projects/pinetime/Pinetime/src/./SystemTask/SystemTask.h:11,
                 from /home/danman/Projects/pinetime/Pinetime/src/Components/Ble/AlertNotificationService.cpp:4:
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:25:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* manufacturerName = "Codingfield";
                                                   ^~~~~~~~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:26:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* modelNumber = "1";
                                              ^~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:27:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* serialNumber = "9.8.7.6.5.4";
                                               ^~~~~~~~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:28:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* fwRevision = "0.5.0";
                                             ^~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:29:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* hwRevision = "1.0.0";
                                             ^~~~~~~
In file included from /home/danman/Projects/pinetime/Pinetime/src/./SystemTask/SystemTask.h:11,
                 from /home/danman/Projects/pinetime/Pinetime/src/Components/Ble/AlertNotificationService.cpp:4:
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/NimbleController.h:39:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* deviceName = "Pinetime-JF";
                                             ^~~~~~~~~~~~~
In file included from /home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/NimbleController.h:6,
                 from /home/danman/Projects/pinetime/Pinetime/src/DisplayApp/Screens/ScreenList.h:4,
                 from /home/danman/Projects/pinetime/Pinetime/src/DisplayApp/Screens/ScreenList.cpp:3:
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:25:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* manufacturerName = "Codingfield";
                                                   ^~~~~~~~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:26:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* modelNumber = "1";
                                              ^~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:27:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* serialNumber = "9.8.7.6.5.4";
                                               ^~~~~~~~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:28:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* fwRevision = "0.5.0";
                                             ^~~~~~~
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/DeviceInformationService.h:29:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* hwRevision = "1.0.0";
                                             ^~~~~~~
In file included from /home/danman/Projects/pinetime/Pinetime/src/DisplayApp/Screens/ScreenList.h:4,
                 from /home/danman/Projects/pinetime/Pinetime/src/DisplayApp/Screens/ScreenList.cpp:3:
/home/danman/Projects/pinetime/Pinetime/src/./Components/Ble/NimbleController.h:39:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         static constexpr char* deviceName = "Pinetime-JF";
                                             ^~~~~~~~~~~~~
/tmp/ccFKrlaw.s: Assembler messages:
/tmp/ccFKrlaw.s:812: Error: selected processor does not support `sev' in ARM mode
/tmp/ccFKrlaw.s:815: Error: selected processor does not support `dsb 0xF' in ARM mode
/tmp/ccFKrlaw.s:818: Error: selected processor does not support `isb 0xF' in ARM mode
/tmp/ccFKrlaw.s:1200: Error: selected processor does not support requested special purpose register -- `mrs r3,primask'
/tmp/ccFKrlaw.s:1209: Error: selected processor does not support `cpsid i' in ARM mode
/tmp/ccFKrlaw.s:1245: Error: selected processor does not support `cpsie i' in ARM mode
make[3]: *** [src/CMakeFiles/pinetime-app.dir/build.make:271: src/CMakeFiles/pinetime-app.dir/main.cpp.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:208: src/CMakeFiles/pinetime-app.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:215: src/CMakeFiles/pinetime-app.dir/rule] Error 2
make: *** [Makefile:170: pinetime-app] Error 2
danman@silverhorse:~/Projects/pinetime/Pinetime/build$ 

Build error in Debian

After fetching the latest revision I get the this build error in Debian Bullseye:

/home/albin/projekt/pt/pinetime-freertos/src/drivers/TwiMaster.cpp:1:10: fatal error: sdk/integration/nrfx/nrfx_log.h: No such file or directory
 #include <sdk/integration/nrfx/nrfx_log.h>

I've tried various configurations, e.g. this one:

cmake -DCMAKE_BUILD_TYPE=Debug -DARM_NONE_EABI_TOOLCHAIN_PATH=/usr/ -DNRF5_SDK_PATH=~/bin/nrf52-sdk-15.3.0/ -DUSE_JLINK=1 -DNRFJPROG=~/nrfjprog ../

(But the way, /usr/ is weird way of referencing /usr/bin/.)

P8 support

Hi,
can anyone tell me how to build Infinetime for Colmi P8? It's wide-known clone of Pinetime (or Pinetime clone of P8? I'm not sure). This awesome project proves that there is little to no difference in hardware and pinout differs. I don't have enough skill to resolve it myself. After blind dfu upgrade from stock fw to latest Infinitime release my device was bricked and I have to restore it via SWD programmer.

Potential Bluetooth failure after a failed DFU

I think I just stumbled upon a state where a DFU update fails, it returns to the main screen, but I couldn't establish a Bluetooth connection any more. Rebooting the watch fixed it.

This needs investigation because it's very bad with sealed PineTimes

Build issue

I managed to create my MakeFile but after that when I want to "make" it, I get these errors at 35% :

arm-none-eabi-gcc: error: BOARD_PCA10040: No such file or directory
arm-none-eabi-gcc: error: CONFIG_GPIO_AS_PINRESET: No such file or directory
arm-none-eabi-gcc: error: DEBUG: No such file or directory
arm-none-eabi-gcc: error: DEBUG_NRF_USER: No such file or directory
arm-none-eabi-gcc: error: FREERTOS: No such file or directory
arm-none-eabi-gcc: error: NIMBLE_CFG_CONTROLLER: No such file or directory
arm-none-eabi-gcc: error: NRF52: No such file or directory
arm-none-eabi-gcc: error: NRF52832: No such file or directory
arm-none-eabi-gcc: error: NRF52832_XXAA: No such file or directory
arm-none-eabi-gcc: error: NRF52_PAN_12: No such file or directory
arm-none-eabi-gcc: error: NRF52_PAN_15: No such file or directory
arm-none-eabi-gcc: error: NRF52_PAN_20: No such file or directory
arm-none-eabi-gcc: error: NRF52_PAN_31: No such file or directory
arm-none-eabi-gcc: error: NRF52_PAN_36: No such file or directory
arm-none-eabi-gcc: error: NRF52_PAN_51: No such file or directory
arm-none-eabi-gcc: error: NRF52_PAN_54: No such file or directory
arm-none-eabi-gcc: error: NRF52_PAN_55: No such file or directory
arm-none-eabi-gcc: error: NRF52_PAN_58: No such file or directory
arm-none-eabi-gcc: error: NRF52_PAN_64: No such file or directory
arm-none-eabi-gcc: error: NRF52_PAN_74: No such file or directory
arm-none-eabi-gcc: error: OS_CPUTIME_FREQ: No such file or directory
arm-none-eabi-gcc: error: __HEAP_SIZE=8192: No such file or directory
arm-none-eabi-gcc: error: __STACK_SIZE=8192: No such file or directory
arm-none-eabi-gcc: error: unrecognized command line option '--defsym'
arm-none-eabi-gcc: error: unrecognized command line option '--defsym'
arm-none-eabi-gcc: error: unrecognized command line option '--defsym'
arm-none-eabi-gcc: error: unrecognized command line option '--defsym'
arm-none-eabi-gcc: error: unrecognized command line option '--defsym'
arm-none-eabi-gcc: error: unrecognized command line option '--defsym'
arm-none-eabi-gcc: error: unrecognized command line option '--defsym'
arm-none-eabi-gcc: error: unrecognized command line option '--defsym'
arm-none-eabi-gcc: error: unrecognized command line option '--defsym'
arm-none-eabi-gcc: error: unrecognized command line option '--defsym'
arm-none-eabi-gcc: error: unrecognized command line option '--defsym'
arm-none-eabi-gcc: error: unrecognized command line option '--defsym'
arm-none-eabi-gcc: error: unrecognized command line option '--defsym'
arm-none-eabi-gcc: error: unrecognized command line option '--defsym'
arm-none-eabi-gcc: error: unrecognized command line option '--defsym'
arm-none-eabi-gcc: error: unrecognized command line option '--defsym'
arm-none-eabi-gcc: error: unrecognized command line option '--defsym'
arm-none-eabi-gcc: error: unrecognized command line option '--defsym'
arm-none-eabi-gcc: error: unrecognized command line option '--defsym'
arm-none-eabi-gcc: error: unrecognized command line option '--defsym'
arm-none-eabi-gcc: error: unrecognized command line option '--defsym'
arm-none-eabi-gcc: error: unrecognized command line option '--defsym'
arm-none-eabi-gcc: error: unrecognized command line option '--defsym'

Do you have any solutions ?

Thank you !

Cannot run mcuboot app

I cannot run the bootloader-compatible version. It gets stuck at the bootloader screen.

$ make pinetime-mcuboot-app
$ imgtool.py create --align 4 --version 1.0.0 --header-size 32 --slot-size 475136 --pad-header src/pinetime-mcuboot-app.bin infinitime-image.bin
$ pyocd flash -e sector -a 0x8000 -t nrf52 infinitime-image.bin

The bootloader is lupyuen's prebuilt mynewt_nosemi.elf.bin (and it can boot Hypnos).

Help needed to use the pre-compiled binaries with BMP-bluepill and gdb

Hi.

I was trying to use the pre-compiled binary as a first test.

I have downloaded the pinetime-app-full.hex and tried to flash it wit gdb.
Somehow that did not work. Admittedly I have not much experience with the whole subject.

Any idea what I am doing wrong?

(gdb) file ~/Downloads/pinetime-app-full.hex
A program is being debugged already.
Are you sure you want to change the file? (y or n) y
Reading symbols from ~/Downloads/pinetime-app-full.hex...(no debugging symbols found)...done.
(gdb) load
Loading section .sec1, size 0xb00 lma 0x0
Loading section .sec2, size 0xf000 lma 0x1000
Loading section .sec3, size 0x10000 lma 0x10000
Loading section .sec4, size 0x5150 lma 0x20000
Loading section .sec5, size 0xa000 lma 0x26000
Loading section .sec6, size 0x10000 lma 0x30000
Loading section .sec7, size 0x606c lma 0x40000
Start address 0x0, load size 281788
Transfer rate: 39 KB/sec, 971 bytes/write.

Unfortunately after this upload the PineTime is completely blank. The display does not turn on and the screen is empty. SWD connection still works fine though.

Going out of range makes reconnection fail

For some reason I can't reconnect to the PineTime after going out of range for a bit of time.

Everything else I have is still able to, so something about the PineTime and/or NimBLE causes issues.

0.8.0-develop: Firmware hangs, no watchdog reset

Pressing the button to put the device to sleep while touching the screen causes the device to lock up. Rebooting it by long-pressing the button doesn't work. I've had to open it and reset it (briefly short the power via the debug connector, usually happens to me when trying to fiddle the debug cables in there).

If you can't reproduce the behavior I'll retry with connected debug probe to try getting more information on what is actually happening.

V_20200902_222020_1

License

Could you please add a license to this project?

Hang in TwiMaster::Read

I just encountered a situation where the PT froze on line 91 of void TwiMaster::Read(uint8_t deviceAddress, uint8_t *buffer, size_t size, bool stop).

Line in question:

while(!twiBaseAddress->EVENTS_LASTRX && !twiBaseAddress->EVENTS_ERROR);

It probably should have a timeout counter of some sort because such a freeze is not good when someone has a sealed PineTime.

The date/time displayed are incorrect after a long run

If you leave the pinetime running for a long time, (over the night, for example), the date won't be updated to the next day.
Also, sometimes, it display the time "26:05".

The date/time should be implemented as a calendar (when it's 31/12/2019 at 23h59, the next minute should display 01/01/2020 at 00:00).

Firmware Version in nRF Connect

0.8.0 Release Candidate works great via DFU great job! :-) Just a minor cosmetic issue: The Firmware Revision reported by nRF Connect still shows 0.7.0 instead of 0.8.0. Thanks!

Screenshot_20200901-103148

Current watchapp characteristic

Having a characteristic that notifies and contains the currently open watchapp would make it easier for companion apps to not do unnecessary BT reads/writes, which would improve battery life. Plus allow triggers on watchapp launches (e.g. sync state, launch some needed screen etc. etc.).

Improving the app framework to contain an UUID per watchapp would be a nice solution.

Compiling Against nRF52 SDK V16.x

I am trying to build this against the nRF52 SDK V16.0.0.
There are a couple of code changes needed which are easy, and we need to include a new nrf_ble_gq library in. I have got the compilation stage working, but the link stage is failing because it fails with errors like:
"ble_db_discovery.c:319: undefined reference to `nrf_ble_gq_item_add'"
Now that is defined in nrf_ble_gq/nrf_ble_gq.c, which seems to have been compiled ok:
"Building C object src/CMakeFiles/pinetime-app.dir/home/graham/osd/OpenSeizureDetector/pineWatchSD/nRF5_SDK/componen
ts/ble/nrf_ble_gq/nrf_ble_gq.c.o"

I am not at all familiar with cmake, so I think I must have missed something trivial to get it to link the nrf_ble_gq.c.o file.
I just wondered if you knew how to do it before I spend another evening trying to fathom it out?
My changes are here: https://github.com/OpenSeizureDetector/Pinetime

Thanks!
Graham.

Upgrade to LVGL-7

I propose this thread to create a new branch of Pinetime for updating the current LVGL6 to LVGL7

Can I haz Hacktoberfest, please?

Based on a tutorial I followed and help from @lupyuen on issue #65 (mine, now closed), I'd like to contribute to this repo and his (and perhaps others) as I am absolutely loving learning and hacking with PineTime. I'm also passionate about Hacktoberfest so, if you're willing, could you opt in to it? If not, I still want to contribute and definitely will, but, if you're willing, here's some info:
hackstuff

nrf_common.ld: No such file in directory

This error re-appeared. I know we solved it somehow, but I can't remember :-/

/usr/local/Caskroom/gcc-arm-embedded/9-2019-q4-major/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: cannot open linker script file ./nrf_common.ld: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/pinetime-graphics.dir/build.make:846: src/pinetime-graphics.out] Error 1
make[1]: *** [CMakeFiles/Makefile2:174: src/CMakeFiles/pinetime-graphics.dir/all] Error 2
make: *** [Makefile:104: all] Error 2

Development Plans?

Hi, Sorry about raising an issue, but I couldn't find out where you would like to have discussions about the project.
What you have here looks like a really good start for an App that I need to develop. My application is simpler though because I don't want a generic 'end user' system, but make the watch a single use device. I really want to use the PineTime as what I had started to design as a custom hardware epileptic seizure detector (https://www.openseizuredetector.org.uk/). It will repeatedly collect accelerometer and heart rate data, and sent it up to the phone using BLE every 5 seconds. The phone will respond with a status message that will appear on the screen.
So as you seem to have BLE pretty much working, the main thing I want to do next is get the acceleromter and heart rate data - I have done this on a different microcontroller using FreeRTOS, so hoping I can port it fairly easily.
What I have in mind is to add these in a branch of your app (and maybe make mine accessible on one of the 'tiles' in your main screen for testing, but then do a different build for my deployable app where it works as a single use device.
I wondered what you thought about that? The other option is for me to essentially convert your work into a single use app, then add my bits, but then it would be difficult for you to make use of it.
Let me know what you would prefer.

Thanks
Graham ([email protected])

build issue

[ 95%] Linking CXX executable pinetime-app.out
/home/maiden/Downloads/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: CMakeFiles/pinetime-app.dir/DisplayApp/DisplayApp.cpp.o: in function `Pinetime::Applications::DisplayApp::Process(void*)':
/home/maiden/Pinetime/src/DisplayApp/DisplayApp.cpp:78: undefined reference to `nrf_gfx_rect_draw(nrf_lcd_t const*, nrf_gfx_rect_t const*, unsigned short, unsigned long, bool)'
/home/maiden/Downloads/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: /home/maiden/Pinetime/src/DisplayApp/DisplayApp.cpp:97: undefined reference to `nrf_gfx_print(nrf_lcd_t const*, nrf_gfx_point_t const*, unsigned short, char const*, FONT_INFO const*, bool)'
/home/maiden/Downloads/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: CMakeFiles/pinetime-app.dir/DisplayApp/DisplayApp.cpp.o: in function `Pinetime::Applications::DisplayApp::gfx_initialization()':
/home/maiden/Pinetime/src/DisplayApp/DisplayApp.cpp:156: undefined reference to `nrf_gfx_init(nrf_lcd_t const*)'
/home/maiden/Downloads/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: /home/maiden/Pinetime/src/DisplayApp/DisplayApp.cpp:162: undefined reference to `nrf_gfx_rect_draw(nrf_lcd_t const*, nrf_gfx_rect_t const*, unsigned short, unsigned long, bool)'
/home/maiden/Downloads/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: /home/maiden/Pinetime/src/DisplayApp/DisplayApp.cpp:177: undefined reference to `nrf_gfx_print(nrf_lcd_t const*, nrf_gfx_point_t const*, unsigned short, char const*, FONT_INFO const*, bool)'
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/pinetime-app.dir/build.make:1381: src/pinetime-app.out] Error 1
make[1]: *** [CMakeFiles/Makefile2:210: src/CMakeFiles/pinetime-app.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

Can't find the Accelerometer or Heart Rate Sensor Code?

Sorry for the simple question in an issue.....
From the README it looks as though you have the accelerometer and heart rate sensor working. T
his is handy because I was just about to offer to do it......but I can't find the code for it.
I have compiled the latest 'master' branch (which provides V0.8.2) and the UI is not showing me any HR or accelerometer data, and I can't find it in the code.
I suspect it must be in a branch, but I can not find it.
I don't want to go reinventing something you have already done, so thought I should ask.
Thanks
Graham.

Littlefs (or similar) datetime backup

It would be nice if the watch kept track of at least the current date on it's own.

Writing a new date to a file once a day should be okay in terms of wear, but it'd make the watch much more useful if it needs to reboot in a situation where there's no phone nearby. Plus it'd make date look nicer during testing which constantly resets it.

Github Simulate Action fails but Build Action succeeds

I followed lupyuen's instructions for building the Github Actions to Simulate and Build InfiniTime. I made a change to clock.h to add a new variable "lv_obj_t* dayofweekday;" and I made changes in clock.cpp to use that variable. When the actions ran the Simulate action failed but the Build action worked. The Simulate action failed with "error: use of undeclared identifier 'dayofweekday'". It looks like the Simulate action is not using the clock.h in my repository.

Hugh

Bluetooth LE firmware confirmation

It would be nice if there were a characteristic for reading and writing firmware MCUboot confirmation status.

This would provide:

  • A way to make sure Bluetooth LE works
  • A nice UI to show that Bluetooth LE needs to be confirmed (or is confirmed)
  • Companion apps a way to warn the user that they haven't confirmed the newly flashed firmware

The characteristic could have three states:

  • 0 - unconfirmed
  • 1 - Bluetooth LE confirmed
  • 2 - confirmed

Bluetooth connection drops after a while

For some reason I see the Bluetooth connection dropping after a while. I haven't determined the exact reason, but it should be taken a look at at some point.

CTS is not working (for me)

I flashed application version 0.2.1 (dff0d74) and nRF5_SDK_15.3.0_59ac345/components/softdevice/s132/hex/s132_nrf52_6.1.1_softdevice.hex, but I can't make current time set on PineTime. I'm using nRF Connect on iPhone to advertise CTS.
Even previous versions, manual flash or flash by make didn't change situation.

Another project - RIOT - works. Did I miss something obvious? Thanks.

Screen update bugged after certain hardware scrolling stuff has happened

his was an issue I noticed when I was testing Electr0Lyte's pong code. If you start the watch, go to the validation screen, and scroll down. Then on (I am guessing 80 horizontal lines) the screen isn't updating correctly and causing weird stripes to form on the screen when the ball crosses.

I am guessing this is related to the screen being left in a scrolled state after having left this version validation screen, and this is somehow not correctly handled when writing stuff to the screen.

I noticed this with pong, but I am pretty sure that other weird graphical bugs on other apps where stuff is moving are related
yHxwTkmTROdLaWrgYcBJkccP

Fail to build

cmake -DCMAKE_BUILD_TYPE=Debug -DARM_NONE_EABI_TOOLCHAIN_PATH=.. -DNRF5_SDK_PATH=.. -DNRFJPROG=.. ../
-- Configuring done
CMake Error at cmake-nRF5x/CMake_nRF5x.cmake:365 (add_executable):
Cannot find source file:

../modules/nrfx/mdk/system_nrf52.c

Have you committed those?

Make BLE softdevice optional

Detect the presence of the BLE softdevice, and disable BLE if the softdevice is not present in memory.

This will allow the firmware to work even if the softdevice hasn't been uploaded to the device memory.

OTA

I'd like to close and wear my watch. Would it be possible to implement some over-the-air update mechanism? To split it to a bootloader and main app?

make[2]: *** [src/CMakeFiles/FLASH_ERASE.dir/build.make:58: src/CMakeFiles/FLASH_ERASE] Error 33

I'm running into the following when I try to make -j with 6abf12f:

[  0%] erasing flashing
[  1%] started JLink commands
[  2%] flashing SoftDevice
[ 99%] Built target pinetime-app
[100%] flashing pinetime-app.hex
# _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
# _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
# watch_fast: "/org/gnome/terminal/legacy/" (establishing: 0, active: 0)
# unwatch_fast: "/org/gnome/terminal/legacy/" (active: 0, establishing: 1)
# watch_established: "/org/gnome/terminal/legacy/" (establishing: 0)
# _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
# _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
# watch_fast: "/org/gnome/terminal/legacy/" (establishing: 0, active: 0)
# unwatch_fast: "/org/gnome/terminal/legacy/" (active: 0, establishing: 1)
# watch_established: "/org/gnome/terminal/legacy/" (establishing: 0)
ERROR: JLinkARM DLL reported an error. Try again. If error condition
ERROR: persists, run the same command again with argument --log, contact Nordic
ERROR: Semiconductor and provide the generated log.log file to them.
make[2]: *** [src/CMakeFiles/FLASH_ERASE.dir/build.make:58: src/CMakeFiles/FLASH_ERASE] Error 33
make[1]: *** [CMakeFiles/Makefile2:156: src/CMakeFiles/FLASH_ERASE.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Parsing hex file.
Parsing hex file.
Erasing page at address 0x0.
Erasing page at address 0x1000.
Erasing page at address 0x2000.
Erasing page at address 0x3000.
Erasing page at address 0x4000.
Erasing page at address 0x5000.
Erasing page at address 0x6000.
Erasing page at address 0x7000.
Erasing page at address 0x8000.
Erasing page at address 0x9000.
Erasing page at address 0xA000.
Erasing page at address 0xB000.
Erasing page at address 0xC000.
Erasing page at address 0xD000.
Erasing page at address 0xE000.
Erasing page at address 0xF000.
Erasing page at address 0x10000.
Erasing page at address 0x11000.
Erasing page at address 0x12000.
Erasing page at address 0x13000.
Erasing page at address 0x14000.
Erasing page at address 0x15000.
Erasing page at address 0x16000.
ERROR: JLinkARM DLL reported an error. Try again. If error condition
ERROR: persists, run the same command again with argument --log, contact Nordic
ERROR: Semiconductor and provide the generated log.log file to them.
make[2]: *** [src/CMakeFiles/FLASH_pinetime-app.dir/build.make:58: src/CMakeFiles/FLASH_pinetime-app] Error 33
Erasing page at address 0x17000.
make[1]: *** [CMakeFiles/Makefile2:102: src/CMakeFiles/FLASH_pinetime-app.dir/all] Error 2
Erasing page at address 0x18000.
Erasing page at address 0x19000.
Erasing page at address 0x1A000.
Erasing page at address 0x1B000.
Erasing page at address 0x1C000.
Erasing page at address 0x1D000.
Erasing page at address 0x1E000.
Erasing page at address 0x1F000.
Erasing page at address 0x20000.
Erasing page at address 0x21000.
Erasing page at address 0x22000.
Erasing page at address 0x23000.
Erasing page at address 0x24000.
Erasing page at address 0x25000.
Applying system reset.
Checking that the area to write is not protected.
Programming device.
# _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
# _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
# watch_fast: "/org/gnome/terminal/legacy/" (establishing: 0, active: 0)
# unwatch_fast: "/org/gnome/terminal/legacy/" (active: 0, establishing: 1)
# watch_established: "/org/gnome/terminal/legacy/" (establishing: 0)
[100%] Built target START_JLINK
Applying system reset.
Run.
[100%] Built target FLASH_SOFTDEVICE
make: *** [Makefile:84: all] Error 2

Any ideas? Thanks!! :bowtie:

Power analysis

In commit f7e40b1, I re-implemented sleep/wakeup for all devices (touchpanel, display, NOR Flash, SPI and TWI).
I checked (using the logs) that all Sleep() and Wakeup() method are called in the correct order.
I also checked that the MCU is put in deep sleep with a logic analyzer (the MCU is in deepsleep during the call to __WFE() in port_cmsis_systick.c).

Now, I think it would be very interesting to actually measure the power consumption of InfiniTime while running different use-cases:

  • Display the Clock Screen
  • BLE disconnected/connected
  • BLE advertising (BLE advertising is enabled for 3 minutes after a wakeup) and continue even if the soft is in sleep mode -> measure power for more than 3 minutes after switch off the screen).
  • ...

But... I do not have the necessary instruments and knowledge to do the measurement by myself.

If anyone has the setup and instruments necessary to measure the power consumed by InfiniTime, just write a comment to this issue !

Also, if you can, just leave your Pinetime running this commit (f7e40b1) or a next one just to see how long it runs on battery!

Thanks

Touch panel "crashes" when issuing sleep command

CST816S seems to support a SLEEP command.
When I tried to call it, the controller wouldn't send me actual touch point values, it would send only static/erratic values.

As we don't have much documentation about this controller, this bug is not easy to diagnose.

I hope we'll get more info about CST816S soon so that we can improve the implementation.

BLE disconnect is not detected

When a device connects to the Pinetime, the BLE label is displayed on screen.
When it disconnects, this BLE label is still displayed.

The firmware should detect that the device is disconnected and hide the BLE label.

The time should be updated before waking up the display

The time should be updated before waking up the display. Right now it quickly flickers to the correct time, this wastes a tiny amount of time and energy drawing the wrong number. This should be improved primarily just for polish.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.