-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Convert TMS to FreeRTOS. Use FrontController as a template
- Open the IOC in STM32CubeMX 6.15 and enable FreeRTOS under Middlewares
- Also open FrontController's ioc in another CubeMX window. Diligently copy all of FrontController's FreeRTOS settings for TMS.
- Remove the
cli
environment andplatform/
since FreeRTOS is not supported on PC'sAfter this issue, consider trying RTOS on Linux / POSIX #206 so that we can run RTOS projects in SIL. good luck :)
- Copy the FreeRTOS library lines from
front_controller/platformio.ini
intotms/platformio.ini
so that the STM compiler can find the FreeRTOS source code. - Following the style of FrontController main.cc, convert TMS's
main.cc
to use FreeRTOS tasks. TMS only needs a single 10 Hz task. - Coordinate with Kartikeya on the electrical team to find time to flash and test the TMS code. You should connect to the CAN bus and make sure that the TMS's CAN messages are being sent at 10 Hz and that the temperature values look reasonable (i.e. temperatures should probably bee around room temperature).
Metadata
Metadata
Assignees
Labels
No labels