Commit Graph

17 Commits

Author SHA1 Message Date
e346c67e00 Ring buffer fixes and spark time compute 2026-06-03 11:18:44 +02:00
42e64b673c Initial sync implementation
Implemented system sync with crank and cam state and simple error
handling
2026-06-03 10:56:28 +02:00
21f0b5a3ea Added ring buffer revert 2026-06-03 08:45:10 +02:00
22c732be02 Refactor handler to external
Moved task handler functions to external functions, signatures are in
tasks.h, each function has its own .c file in Src/tasks
2026-06-02 20:11:07 +02:00
8d1debd69a Added print on interrupt via task flag 2026-06-02 19:46:05 +02:00
0e99868078 Added SEGGER RTT files 2026-06-02 19:45:49 +02:00
Pierre Barbier
ce2b76e6c0 added a crank_state to general_state 2026-06-02 18:06:32 +02:00
Pierre Barbier
bca9d8816c consistant naming for global_state and implemented 2026-06-02 17:54:15 +02:00
Pierre Barbier
eba2bb6f99 Fixed ring_buffer's linking problems 2026-06-02 17:48:52 +02:00
e7e436affa Updated ring buffer
Updated ring buffer to match use case, one write head with negative read
index
2026-06-02 17:29:46 +02:00
Pierre Barbier
e549ed9038 fixed typo 2026-06-02 17:02:52 +02:00
Pierre Barbier
1b3da3bf67 global state implementation + sync_states 2026-06-02 17:00:41 +02:00
cfc59a9593 Ring buffer impl
Implemented ring buffer with inline push and pop functions
Updated copyrights on main.c and ring_buffer files
2026-06-02 16:52:07 +02:00
Pierre Barbier
5e904177de Basic code to handle the interupts for cam&crank
using osThreads to call the respective handler
TODO add the ring buffers to be able to process the timestamps
2026-06-02 16:34:35 +02:00
b0152e2751 FreeRTOS config 2026-06-02 15:44:49 +02:00
70ae757c33 Initial code generation 2026-06-02 15:07:37 +02:00
b0b0d92009 Initial commit 2026-06-02 14:57:17 +02:00