aboutsummaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Settings : use enums instead of ints to store colors. Group all PTS settings ↵Jean-François Milants2021-08-281-0/+2
| | | | | | | into a struct. PTS/SettingsPTS : Convert to/from LVGL color and Settings::Color, add functions to reduce code duplication. Adapt SettingPineTimeStyle with the last Screen Interface
* Merge pull request #458 from kieranc/pinetimestyle-colorpickerJF0022021-08-281-0/+1
|\ | | | | Add color picker for PineTimeStyle watchface
| * Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray2021-08-191-6/+6
| |\
| * \ Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray2021-07-121-4/+25
| |\ \
| * | | PineTimeStyle color picker initial commitKieran Cawthray2021-06-241-0/+1
| | | |
| * | | Add step count gauge - replaces heartrate in sidebarKieran Cawthray2021-06-201-0/+2
| | | |
| * | | Merge remote-tracking branch 'upstream/develop' into pinetimestyleKieran Cawthray2021-06-161-4/+4
| |\ \ \
| * \ \ \ Merge remote-tracking branch 'upstream/develop' into pinetimestyleKieran Cawthray2021-06-041-39/+41
| |\ \ \ \
| * \ \ \ \ Merge remote-tracking branch 'upstream/develop' into pinetimestyleKieran Cawthray2021-05-211-0/+5
| |\ \ \ \ \
| * | | | | | Fix it again..Kieran Cawthray2021-05-181-0/+2
| | | | | | |
| * | | | | | Revert "Reset"Kieran Cawthray2021-05-181-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 378fa6b4016b65e2d7b128fdc3ce89c4ca779a4d.
| * | | | | | ResetKieran Cawthray2021-05-181-3/+2
| | | | | | |
* | | | | | | Merge branch 'develop' into new_touch_handlerRiku Isokoski2021-08-181-6/+6
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | |
| * | | | | | Add memory print usagehubmartin2021-08-181-6/+6
| | |_|_|_|/ | |/| | | |
* / | | | | New touch handler, with issuesRiku Isokoski2021-07-151-0/+4
|/ / / / /
* | | | | Using littlefs (#438)joaquim.org2021-07-111-4/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add submodule littlefs * base fs * Save settings using littlefs * Small fixes and suggestions from PR * More small fixes from PR suggestions * Code clean up * Change SpiNorFlash functions to be private in FS
* | | | | Add PineTimeStyle watchface (#334)kieranc2021-06-291-0/+4
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PineTimeStyle * Move GPL license header * Add step count gauge - replaces heartrate in sidebar * Enable 12/24h functionality * Set step gauge outer to be white when step goal is reached * Add font source file * Move static needle_colors array to member variable * Add documentation on generating a font * Replace .ttf with Google version, add link to font page Co-authored-by: JF002 <JF002@users.noreply.github.com>
* | | | Remove infinitime-nb.c from source listJonathan Vander Mey2021-06-121-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Was causing compiler warning for unused constant variable when being compiled. This feel is directly included where it's needed so it doesn't need to be separately compiled anyways.
* | | | add basic metronome app (#409)Bryton Hall2021-06-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add basic metronome app * add bpb, tap to bpm, update widgets * use event pressed for bpm tap * move case statement break to the right place * narrow bpm selection range, override touch events * fix arc knob style * re-enable sleeping in destructor
* | | | Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants2021-06-061-2/+2
| |_|/ |/| | | | | | | | variable instead of variables on the heap. We don't need them on the heap as we know their size at build time, it'll reduce memory fragmentation and it'll make memory analysis easier.
* | | Enable various compilation flags to reduce the binary size (#401)JF0022021-06-011-37/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add the following compilation flags: * -fno-exceptions and -fno-non-call-exceptions : disable exception handling * -fno-rtti : disable run time type information (needed by dynamic_cast, for example) These flags reduce the binary size by about 100KB! Also, -fstack-usage generate debug info (not in final binary) to allow tools like Puncover to do a stack analysis. * Remove unused CMake variables in CMake_nRF5x.cmake (duplicated in src/CMakeLists.txt). Replace -O0 by -Og in DEBUG builds. This generates a smaller binary (small enough for the internal memory) that is debugger friendly.
* | | Remove debug defines (DEBUG & DEBUG_NRF_USER) from the build. These debug ↵JF0022021-06-011-2/+4
| |/ |/| | | | | | | | | can be useful for debugging purposes but not in production (release). (#400) This reduces the size of the binary by about 6KB! This also removes filepath that were embedded into the binary (.bin) file.
* | Timer App (#355)Florian2021-05-201-0/+5
|/ | | | | | | | | | | * built timer app * Style improvements * making sure buttons stay hidden when the app is reopened and reappear after the timer runs out * more sensible calculations of time deltas. eliminated that mysterious scaling factor * changing the timer icon
* New Steps appJoaquim2021-04-191-0/+3
| | | | | | Settings to set the steps goal More detail in Motion app New 42px Font
* Merge branch 'develop' into motion-sensorJean-François Milants2021-04-091-92/+18
|\ | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/DisplayApp.h # src/displayapp/lv_pinetime_theme.c # src/displayapp/screens/ApplicationList.cpp # src/drivers/TwiMaster.cpp # src/systemtask/SystemTask.h
| * Big UI and navigation RewriteJoaquim2021-04-041-92/+17
| | | | | | | | | | | | | | | | | | | | | | new navigation add some color to the apps redesign menus new settings menu new quick settings code clean up size reduction by converting navigation images to font and more...
* | TwiMaster is now based on the NRFX TWI driver, as it handles more edge cases ↵Jean-François Milants2021-04-081-1/+1
| | | | | | | | | | | | and workarounds for errors on the bus. Reset the TWI bus after the soft-reset of the motion sensor to workaround issues on the TWI bus.
* | First integration of the motion sensor (bma 421) : step counting + wake on ↵Jean-François Milants2021-04-041-0/+14
|/ | | | wrist rotation + app to see the value of the 3 axis in "real time".
* Updated to include WatchFaceAnalog and fixed clashesNiall Cooling2021-03-221-18/+213
|\
| * Merged upstreampanky-codes2021-03-201-19/+218
| |\
| | * Merge branch 'develop' of github.com:JF002/Pinetime into developJean-François Milants2021-03-201-1/+13
| | |\ | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/main.cpp # src/systemtask/SystemTask.h
| | | * Merge from upstreamJoaquim2021-03-061-9/+20
| | | |
| | | * Merge branch 'develop' of https://github.com/JF002/Pinetime into MultiFaceClockJoaquim2021-02-251-7/+7
| | | |\
| | | * | Multi face support, analog clock, 12/24 configJoaquim2021-02-241-1/+12
| | | | |
| | * | | Merge branch 'develop' into recovery-firmwareJean-François Milants2021-03-071-122/+183
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/CMakeLists.txt # src/displayapp/DisplayApp.h # src/systemtask/SystemTask.cpp # src/systemtask/SystemTask.h
| | * | | | Add new cmake option to disable the generation of DFU file (which needs ↵Jean-François Milants2021-02-011-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | adafruit-nrfutil on the build machine) : BUILD_DFU (disabled by default, enabled in docker build).
| | * | | | Generate pinetime-recovery : a light version of InfiniTime design to be used ↵Jean-François Milants2021-01-261-19/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as a recovery firmware : it only provides basic UI and BLE connectivity for OTA. This new FW is build on the same codebasse than the actual InfiniTime. Only the display task is different (this allows to remove lvgl from the recovery fw, which is very heavy). CMake builds and docker have been modified accordingly. Note than the fw is converted into an image and then into a DFU in the cmake build (previously, it was only done in the
| * | | | | Merge branch 'develop' of github.com:JF002/Pinetime into feature/add-stop-watchpanky-codes2021-03-111-9/+20
| |\ \ \ \ \ | | | |/ / / | | |/| | |
| * | | | | Basic logic done. Need to change the timer source to get ms. Also need to ↵panky-codes2021-03-111-0/+2
| | |_|_|/ | |/| | | | | | | | | | | | | replace with paddle app in displayApp.cpp and ApplicationList.cpp later.
* | | | | Resolved C++14 Cmake build issues so correctly building to C99/C++14 standardsNiall Cooling2021-03-161-16/+0
| |/ / / |/| | |
* | | | Refactored src/CMakelist to support C++14 and cleanup up redundant/incorrect ↵Niall Cooling2021-03-031-9/+20
|/ / / | | | | | | | | | -std= directives
* | | Merge pull request #211 from roblabla/fix-flashingJF0022021-02-241-7/+7
|\ \ \ | |_|/ |/| | Flash correct file name
| * | Flash correct file nameroblabla2021-02-191-7/+7
| | |
* | | Merge branch 'LVGL7' of https://github.com/joaquimorg/Pinetime into ↵Jean-François Milants2021-02-231-97/+144
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | joaquimorg-LVGL7 # Conflicts: # src/CMakeLists.txt # src/displayapp/DisplayApp.cpp # src/displayapp/screens/Modal.cpp # src/displayapp/screens/Modal.h # src/displayapp/screens/Notifications.cpp # src/displayapp/screens/Tile.h
| * | CleanupJoaquim2021-02-011-6/+0
| | |
| * | Merge branch 'develop' of https://github.com/JF002/Pinetime into LVGL7Joaquim2021-02-011-1/+1
| |\ \
| * | | LVGL v7.10.0Joaquim2021-01-281-96/+148
| | |/ | |/|
* | | Fix merge conflict.Jean-François Milants2021-02-141-0/+4
|\ \ \
| * | | Merge branch 'develop' into upstream-devThe King2021-01-241-0/+104
| |\| |
| * | | fix merge issuejlukanc2021-01-231-0/+5
| | | |