5ddcf4b15e
Fix dual LF at the end of debug lines
2024-10-21 17:05:49 +02:00
ebc7ad4235
Fix compilation warning in task module
2024-08-04 20:18:45 +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
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
7cb33f65a5
Create new delay module
2024-05-14 15:03:18 +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
47a06a2a39
Add asserts in existing code
2024-04-20 15:45:51 +02:00
a20acf4031
Implement error header
2024-04-20 15:20:18 +02:00
26f2b4d545
Document format module
2024-04-20 11:57:02 +02:00
12800818ce
Document debug module
2024-04-20 11:44:56 +02:00
84deb788a0
Improve debug module architecture
2024-04-20 11:37:11 +02:00
254fec4f00
Disable zero padding for signed integers
...
zero padding is mostly used with unsiged integers, and is quite difficult to
properly implement for signed integers. Disbaling iti n that case seems like a
good compromise
2024-04-15 23:10:31 +02:00
0088322ee7
Fix warning
2024-04-15 23:10:19 +02:00
e477055e6e
Implement right-justified padding
2024-04-15 22:56:49 +02:00
3bcb9c7df4
Add error handling
2024-04-15 17:17:23 +02:00
075d9e17a6
Changed internal functions to static
2024-04-15 17:17:05 +02:00
727aadaba9
Implement signed integer formating
2024-04-15 17:04:35 +02:00
3dc548332f
Implement basic string formatting
2024-04-15 16:54:54 +02:00
0d5deffa58
Update debug service to use new dma_mbuf
2024-04-07 16:47:34 +02:00
a1ae904239
Document dma_cbuf service
2024-04-06 16:59:57 +02:00
5e961b15fc
Document dma_mbuf service
2024-04-06 16:57:36 +02:00
fd33003e26
Rework DMA buffer to work properly
...
DMA buffers now work reliably with USART. The DMA api has changed to make it
more efficient code-size-wise. This may, however, complicate things when
implementating powersaving features
2024-04-06 16:29:45 +02:00
ccf36ac400
Simplify dma buffers and adjust usart
...
The dma buffer should be services that are used on top of peripherals. As such,
the usart driver should'nt directly use them, this is up to the user. The
multi-buffer has also been simplified since I was not satisfied with the
previous implementation
2024-04-03 22:03:15 +02:00
b992e2b8fb
First implementation of debug service
...
For now, only basic traces are implemented. The rest will follow once a printf
function is implemented
2023-09-24 22:02:20 +02:00