Skip to content

Stag 12 VCU - #268

Open
maartin0 wants to merge 147 commits into
mainfrom
stag-12
Open

Stag 12 VCU#268
maartin0 wants to merge 147 commits into
mainfrom
stag-12

Conversation

@maartin0

@maartin0 maartin0 commented Aug 4, 2026

Copy link
Copy Markdown
Member

Changes

  • Brand new IOC for the new PCB
  • Invert APPS (using configurable parameter in config.c)
  • Add VCU_Input commands for inverting buffers
  • Improve CAN error handling (CAN-S now works)
  • Get logging working over UART, USART (RS232) and to the SD card (Closes Feat: logging to SD Card #267)
  • Improve Makefile to make debugging easier on new arm installations
  • Change SCS handling to multiplex ADCs for the several new inputs
  • Add interrupt-based wheelspeed implementation for all four wheels
  • Add Vector CANoe workspace to scripts/
  • Add VCU_Sensors_Raw message for raw ADC values - this has saved a huge amount of time when debugging
  • Add SAGL implementation
  • Add fan switch override (using RX from dash sensor hub)
  • Add different mode implementations (Endurance, Max, Reverse, Remote CTRL for dyno, Inverter prog etc)
  • Add exponential torque map implementation
  • Add trunk CI/CD (Closes ci: GitHub Actions implementation #218)

Checklist

  • Code has been tested on STM32 hardware.
  • Changes do not generate any new compiler warnings.
  • Code has been formatted using make format.
  • Commit messages follow the Conventional Commits specification.

Additional Notes

I haven't been using conventional commits but we'll squash this when merging so won't affect the main branch too much

r-kirkbride and others added 30 commits May 9, 2026 11:25
Added input inversion, ensured RTDS is active high. made inputs in trc.c and dash.c use new bsp functions
… inputs) and SPARE_OUT_3 was also set as an input
…e ADC per SCS), so now is dynamically changed based on the config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feat: logging to SD Card ci: GitHub Actions implementation

4 participants