summaryrefslogtreecommitdiff
path: root/src/FreeRTOSConfig.h
AgeCommit message (Collapse)AuthorFilesLines
2022-03-21New changes according to the review : Priority 0 for display, 1 for system, ↵Jean-François Milants1-1/+1
timer and ble host, and 2 for ble LL
2022-03-21In current configuration, the timer task (the one from FreeRTOS) has the ↵Jean-François Milants1-2/+2
lowest priority (0). Both display and system tasks are also set on priority 0. In cases where any other task takes too much time to execute (it can happen in Display Task, see https://github.com/InfiniTimeOrg/InfiniTime/issues/825), the timer task does not have the opportunity to run fast enough to detect and debounce presses on the button. This commit sets the following priorities: - [0] : Display Task - [1] : Timer and System tasks - [2] : BLE Host - [3] : BLE LL This way, we ensure that button presses will always be detected, even if the rendering of the display takes a huge amount of time.
2021-07-07LVGL use system tickRiku Isokoski1-1/+1
2021-06-06Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants1-1/+1
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.
2021-04-24Reformatted all the files according to clang-format styleAvamander1-98/+94
2021-04-100.16.0 TWI problems fixJoaquim1-2/+2
More memory for freertos heap and timer stack Fix warning in watchface Fix number of bytes read by cst816 Debug app to show freertos tasks Increased the number of bytes of the twi write buffer
2021-02-03Increase FreeRTOS heap size and re-enable heart rate task. New Nimble ↵Jean-François Milants1-1/+1
probably uses more memory than before.
2021-01-10First implementation of the HR sensor using 100% foss code (ported from waspos)Jean-François Milants1-1/+1
2020-07-02Reduce RAM memory usage by tuning the stack of the stasks and the heap ↵JF1-3/+3
allocated for FreeRTOS. Add Monitor to log the stack usage of each task.
2020-06-01DFU : add timeout detection : abort dfu procedure after 10s without any data ↵JF1-1/+1
from the host.
2020-04-19Integration of nimble, work in progress.JF1-1/+1
Advertising is working.
2020-02-08First quick'n'dirty integration of LittleVGL. Needs some cleaning.JF1-2/+2
2020-01-12Improve date/time accuracy and handle counter overflow.JF1-1/+1
2020-01-09Increase configMINIMAL_STACK_SIZE to fix crash issue caused by freertos timers.JF1-1/+1
2020-01-05Improve power consumption and SLEEP mode :JF1-2/+2
- Disable IDLE hook (it would wake the device up as soon as possible). - Logger task sleep for 100ms (disable logging for better battery life) - Logging is disabled by default - Apply fix for ERRATA 87 (clear FPU interrupt before going to sleep). Ports files from FreeRTOS are now in the sources (they where in the SDK before)
2019-11-17Initial commitJF1-0/+207