Commit Graph

11 Commits

Author SHA1 Message Date
021180a22f Improve task's time management
Linking the systick and RTC could cause ticks to be lost on some occasions when
the RTC and systick become desync. We don't care about having them synced but
we care about their individual accuracy. Switching to independant timestamps,
using the tasks ones, fixes that and saves space
2024-11-03 22:49:51 +01:00
ec9f5f85fb Remove debug statement left in the code 2024-10-21 17:13:03 +02:00
89c81b8c42 Integrate the RTC to the task module 2024-08-04 20:14:24 +02:00
d5c70a3a04 Document the task module 2024-07-10 21:54:23 +02:00
93b383be49 Add API to access task's system time 2024-07-09 22:07:35 +02:00
173e16eb2e Add back task features in a simplified way 2024-07-09 11:53:05 +02:00
b7951f2211 Simplify task module 2024-07-06 22:43:50 +02:00
c09d2cda67 Remove priority parameter from tasks
In the end, priorities are only usefull in preemptive systems. Here, it would
only garentee the execution order, which we don't care about most of the time
2024-05-14 14:53:51 +02:00
34fb4dac76 Make stk_read function usable
This function used to return the raw current value, but that exposes the
prescaling used internaly
2024-04-30 20:17:58 +02:00
432310a52d Implement task module
For now, most code is temporary to validate that the system can work as
envisionned. Optimisations and cleaning will be done shortly
2024-04-30 20:15:58 +02:00
fb1c11132f Write first API macros 2024-04-28 19:14:28 +02:00