Merge pull request 'Implement CAN bus reading with CMSIS-RTOS-V2' (#14) from j1939 into main #14

Manually merged
eeeck merged 71 commits from j1939 into main 2026-06-15 10:30:45 +02:00
Owner

Features implemented:

  • RTOS based CAN bus reading
  • RTOS queue writing of each CAN frame
  • RTOS semaphore and timer based LED signalling
  • Removed Debug related directories and other minor leftovers
Features implemented: - [x] RTOS based CAN bus reading - [x] RTOS queue writing of each CAN frame - [x] RTOS semaphore and timer based LED signalling - [x] Removed Debug related directories and other minor leftovers
eeeck added this to the v0.1.0 milestone 2026-06-14 21:43:14 +02:00
eeeck added the featuretest labels 2026-06-14 21:43:14 +02:00
eeeck self-assigned this 2026-06-14 21:43:14 +02:00
eeeck added this to the Thesis SCRUM project 2026-06-14 21:43:14 +02:00
eeeck added 71 commits 2026-06-14 21:43:15 +02:00
- Generated from STM32CubeMX
Initialize tasks for:
- CAN log incoming frames
- CAN blink on CANrx
- Better separation of concerns
- Create typedef for LED (port:pin)
- Define two LED as private variables
- Pass them to threads
- Avoid overwrites from STM32CubeMX
- Clarifications on existing comments
- Add TODO
- Better reliability in blinking LED
- Slightly more efficiency (fewer CPU clocks)
- Less memory overhead (no stack allocation)
- Better timing accuracy (less jitter)
- CAN bus still has higher priority than timers
- Add SPDX License Identifier and copyright notice
- Add NOTICE.md

Minor: remove unused freertos.c
- Private functions remain on canlog.c
- Better consistency for when regenerating with CubeMX
- Discard previous solution with timer only
Strucure is made of
-  LED (port, pin)
- Semaphore
- Timer handle
Reviewed-on: erickahmed/j1939_logger#8
from code-licensing into j1939

Reviewed-on: erickahmed/j1939_logger#13
eeeck changed title from Merge first compiling build to Merge pull request '' (#9) from j1939 into main 2026-06-14 21:58:15 +02:00
eeeck marked the pull request as work in progress 2026-06-14 21:58:25 +02:00
eeeck changed title from WIP: Merge pull request '' (#9) from j1939 into main to WIP: Merge pull request 'Implement CAN bus reading with CMSIS-RTOS-V2' (#9) from j1939 into main 2026-06-14 21:59:03 +02:00
eeeck changed title from WIP: Merge pull request 'Implement CAN bus reading with CMSIS-RTOS-V2' (#9) from j1939 into main to WIP: Merge pull request 'Implement CAN bus reading with CMSIS-RTOS-V2' (#14) from j1939 into main 2026-06-14 21:59:24 +02:00
eeeck added the due date 2026-06-14 2026-06-14 22:00:19 +02:00
eeeck modified the due date from 2026-06-14 to 2026-06-15 2026-06-14 22:03:20 +02:00
eeeck manually merged commit c3b1ac24e3 into main 2026-06-15 10:30:45 +02:00
eeeck marked the pull request as ready for review 2026-06-15 10:31:23 +02:00
eeeck moved this to Done in Thesis SCRUM on 2026-06-15 10:42:24 +02:00
Sign in to join this conversation.