eeeck
3691918196
Non-blocking on CAN1 queue check
...
- Check queue instantly
- Use DMA to move tx_buffer to UART peripheral
- Use a semaphore to DMA is being done, to avoid moving to next loop
iteration and overwriting tx_buffer
- HAL_UART_TxCpltCallback will release semaphore when DMA done
2026-06-16 21:27:52 +02:00
eeeck
79f317cec5
Wait until CAN1 or CAN2 save anything to FIFO buffer
...
- Moving CAN event flag to vCANLoggerListen to avoid possible race
condition and to make ISR leaner
2026-06-16 21:06:32 +02:00
eeeck
bc71cd7371
Add comment headers
2026-06-16 20:06:21 +02:00
eeeck
84980d2378
Implement hex converter
...
- Avoids snprintf
- Can be read from minicom/screen, but it's also friendly for other MCU
- This single function was AI generated
2026-06-16 19:55:44 +02:00
eeeck
8b1b3b7ff3
Implement safe UART semaphore release inside ISR
...
- It uses safe way to release semaphore
- Yields in case task interrupted was of lower priority: UART has
minimal latency
2026-06-16 19:49:13 +02:00
eeeck
0d0e485193
Initialize cansend headers
2026-06-16 19:34:12 +02:00