aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs
Commit message (Collapse)AuthorAgeFilesLines
* Use all free RAM for FreeRTOS heapFelipe Martínez2024-12-091-0/+49
| | | | | * Use all free RAM for FreeRTOS heap * Wrap newlib malloc and related functions * Implement calloc
* Remove unused submodule QCBOR (#2138)NeroBurner2024-10-091-0/+0
| | | | The submodule isn't used anymore. Remove the submodule reference completely.
* weather: Colorize forecast temperaturesVictor Kareh2024-02-181-1/+3
|
* arduinofft: Move to submodule, define srqt_internal externallyFinlay Davidson2023-06-1718-2307/+0
|
* PineTimeStyle weather display (#1459)kieranc2023-06-041-0/+1
| | | | | Weather display for PineTimeStyle Documentation : https://wiki.pine64.org/wiki/PineTimeStyle and https://wiki.pine64.org/wiki/Infinitime-Weather
* Unify all heaps (stdlib + LVGL + FreeRTOS) into a single heap managed by ↵Jean-François Milants2023-05-181-4/+4
| | | | | | | | | | FreeRTOS and heap_4_infinitime.c. LVGL supports custom implementation of malloc() and free() so using pvPortMalloc() and vPortFree() is just a matter of setting the right variables. Other libraries (NimBLE, LittleFS) and InfiniTime code (new) call malloc() and free() from stdlib. InfiniTime now provides the file stdlib.c that provides a custom implementation for malloc(), free(), calloc() and realloc(). This ensures that all calls to the standard allocator are redirected to the FreeRTOS memory manager. Note that realloc() is needed by NimBLE.
* Refactored Ppg for frequency based algorithm. (#1486)Ceimour2023-04-3017-0/+2307
| | | | | | | New implementation of the heart rate sensor data processing using a frequency based PPG algorithm. The HRS3300 settings are fine-tuned for better signal to noise at 10Hz. The measurement delay is now set to 100ms. Enable and use the ambient light sensor. FFT implementation based on ArduinoFFT (https://github.com/kosme/arduinoFFT, GPLv3.0).
* lvgl: Use InfiniTime fork of LVGLRiku Isokoski2023-04-031-0/+0
|
* QCBOR: Update to v1.0Riku Isokoski2023-02-261-0/+0
| | | | Fixes a compiler warning
* date: Remove date libRiku Isokoski2023-02-251-0/+0
| | | | DateTimeController can provide everything we need.
* libs: Disable clang-format and -tidyRiku Isokoski2023-02-232-0/+2
|
* Disable value_strRiku Isokoski2022-09-171-1/+1
| | | | | | value_str is a way to add text on a button without a separate label. This saves having an extra label object, but uses more memory and is removed in LVGL8
* Improve checkbox visibility (#1266)Riku Isokoski2022-08-161-1/+1
|
* Use submodule for date libRiku Isokoski2022-08-021-0/+0
| | | | A directory has been renamed
* Remove copy of date libRiku Isokoski2022-08-0210-23402/+0
|
* Reset timer by long pressing on the button (#1214)Riku Isokoski2022-07-211-1/+1
| | | | | | | | * Reset timer by long pressing on the button * Consider press_lost as released Otherwise the bar would keep increasing if the finger slid off the button
* Nimble: Compatibility with LFRC calibrationChristoph Honal2022-07-071-2/+3
| | | | | | | Nimble has to be aware of the low frequency clock calibration procedure, in order to not interfere with the usage of the HFCLK. For more info, see https://github.com/apache/mynewt-nimble/issues/1207
* Nimble: Enable optional debug output via RTTChristoph Honal2022-07-072-2/+3
| | | | This allows better debugging of the bluetooth stack.
* Nimble: Reduce BLE power usageChristoph Honal2022-07-072-2/+14
| | | | | | This configures Nimble to enable the HFCLOCK and other Bluetooth peripherals only when needed, but 1500 us in advance. This time is recommended by the Mynewt docs.
* New changes according to the review : Priority 0 for display, 1 for system, ↵Jean-François Milants2022-03-211-2/+2
| | | | timer and ble host, and 2 for ble LL
* Fix priorities of BLE tasksJean-François Milants2022-03-211-2/+2
|
* Merge branch 'develop' into patch-weatherAvamander2021-12-092-10/+10
|\
| * Adjust BLE/LL stacks, style, comments, refactoringJames A. Jerkins2021-12-091-2/+2
| | | | | | | | | | Increase BLE task stack +200 and decrease LL task stack -200 more braces!
| * Connect and bond with a passkeyJames A. Jerkins2021-12-091-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the following: Passkey pairing - passkey is displayed on watch Swipe down to clear passkey screen Connection encryption Connection bonding Automatic reconnects to a bonded peripheral Trusted device on Android Note that persisting the bond between reboots is NOT included in this commit. Therefore, rebooting the watch will cause reconnect failures. You must delete the bond from the phone to reconnect/pair.
* | Added QCBOR dependencyAvamander2021-12-041-0/+0
|/
* Correctly return the tick at which the RF will be fully enabled.Daniel Jackson2021-09-251-1/+1
| | | Always returning 0 (when `MYNEWT_VAL_BLE_LL_RFMGMT_ENABLE_TIME` is not defined), rather than a time near to the current tick, causes an issue in at least one place: `ble_ll_adv_sm_start()`, where the calculation of `delta` overflows when the system timer is at 0x80000000 or above -- causing an incorrect, huge adjustment to be made to the scheduled time, ultimately stopping adverts from being sent.
* Fix compile warningsJonathan Vander Mey2021-07-251-0/+1
|
* Set correct refresh times for lvgl (#488)Riku Isokoski2021-07-141-3/+2
|
* Merge branch 'lvgl_use_system_tick' of ↵Jean-François Milants2021-07-131-4/+4
|\ | | | | | | | | | | | | | | https://github.com/Riksu9000/InfiniTime into Riksu9000-lvgl_use_system_tick # Conflicts: # src/displayapp/screens/BatteryInfo.cpp # src/displayapp/screens/BatteryInfo.h
| * LVGL use system tickRiku Isokoski2021-07-071-4/+4
| |
* | Using littlefs (#438)joaquim.org2021-07-112-2/+2
|/ | | | | | | | | * 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/+1
| | | | | | | | | | | | | * 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>
* Merge pull request #298 from joaquimorg/StepsAppJF0022021-05-151-0/+1
|\ | | | | New Steps app
| * New Steps appJoaquim2021-04-191-0/+1
| | | | | | | | | | | | Settings to set the steps goal More detail in Motion app New 42px Font
* | Update LVGLJoaquim2021-04-211-0/+0
|/ | | | fixes from upstream
* Merge pull request #259 from JF002/fix-music-app2JF0022021-04-091-2/+2
|\ | | | | Fix music app
| * Fix music app :Jean-François Milants2021-04-041-2/+2
| | | | | | | | | | - Enable LVGL animation (and disable groups, which were not used), and set the speed. - Fix disc animation and progress display by initializing lastIncrement at 0 (a random value will be used otherwise, in release build)
* | double tap wakeup error fixJoaquim2021-04-041-1/+1
| | | | | | | | battery nonblocking read
* | Big UI and navigation RewriteJoaquim2021-04-041-9/+11
|/ | | | | | | | | | | 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...
* Update to LVGL 7.11.0 FinalJoaquim2021-03-201-0/+0
|
* Add submodule again...Jean-François Milants2021-03-071-0/+0
|
* Merge branch 'develop' into recovery-firmwareJean-François Milants2021-03-07489-98627/+31609
|\ | | | | | | | | | | | | | | # Conflicts: # src/CMakeLists.txt # src/displayapp/DisplayApp.h # src/systemtask/SystemTask.cpp # src/systemtask/SystemTask.h
| * Fix LVGL submodule (sorry!)Jean-François Milants2021-02-23294-241414/+0
| |
| * Remove LVGL folder (it's now a submodule)Jean-François Milants2021-02-23340-50598/+202756
| |
| * Merge branch 'LVGL7' of https://github.com/joaquimorg/Pinetime into ↵Jean-François Milants2021-02-231-117/+288
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * Fix delay in button actionsJoaquim2021-02-221-0/+0
| | |
| | * CleanupJoaquim2021-02-011-0/+0
| | |
| | * Merge branch 'develop' of https://github.com/JF002/Pinetime into LVGL7Joaquim2021-02-012-3/+3
| | |\
| | * | LVGL v7.10.0Joaquim2021-01-281-117/+288
| | | |
| | * | LVGL V7 UpgradeJoaquim2021-01-28206-89256/+0
| | | |