Commit Graph

11 Commits

Author SHA1 Message Date
b893a0283f Reduce task's context size
Since RTC ans STK timestamps are now different, they don't need to be as big and
be can safely reduce their size to 24 bits to save space
2024-11-03 22:53:19 +01:00
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
ebc7ad4235 Fix compilation warning in task module 2024-08-04 20:18:45 +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
dd1756221d Fix typo in task macros 2024-07-09 21:46:15 +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
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