Skip to content

Squash and merge in changes from upstream panda#1

Closed
heysenbug wants to merge 94 commits intoboard/richie-rev1from
merge-from-master
Closed

Squash and merge in changes from upstream panda#1
heysenbug wants to merge 94 commits intoboard/richie-rev1from
merge-from-master

Conversation

@heysenbug
Copy link
Copy Markdown

Richie changes have also been adjusted in accordance with the changes from upstream

lukasloetkolben and others added 30 commits August 11, 2025 16:25
* Subaru: combine panda flags

* Remove car-specific panda flags

* Rename usages in tests

* update opendbc ref

* ?

?

* fix ltl

* order

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
* safety flags

* update ref

* fix ltl
* move to opendbc

* all passing

* do the rest

* fix

* and another

* order

* and update ref to master
* duplicate libpanda

* rename

rename

* update libpanda to remove safety helpers

* libpanda -> libsafety

* remove some stuff in libsafety

* rm some stuff from safety.c

* libc

* fix

* dont include safety helpers
* wip model3

* master

* tesla model 3 / y

* prevent tesla to reverse

* remove can 1 from safety

* use DI_vehicleSpeed

* - add APS_eacMonitor to TX
- use DI_state as a standstill signal

* block eacMonitor

* fix tesla safety tests

* fix tesla safety tests

* add generic_rx_check for eacMonitor

* fix tests

* consistent ordering of common user brake test setup

* Tesla: Panda safety update (commaai#2075)

* - match "vehicle_moving" with opendbc
- allow to cancel

* remove comment

* update _vehicle_moving_msg

* remove redundant condition

* whoops

* update ref

* spacing!

* long behind ALLOW_DEBUG

* consistent styling

* ?

* misra and clean up

* divide instead

* double (())

* more stylistic

* this is more clear

* always check aeb

* this test catches it

* it should test angle steering in both modes?

* we weren't testing long at all, and ALSO PYTEST SILENTLY SKIPS CLASSES WITH MISSING ABSTRACT METHODS WTF

* finalize safety tests

* update opendbc to master

* ltl

* revert this

* rm conftest

* loop this

---------

Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* move safety tests

* move libsafety

* move safety

* remove safety test job

* fix compilation

* update ref

* rm safety mutation test

* fix misra test

* no safety here

* fix build for both local and docker

* already tested

* fix misra mutation

* move Safety Model readme section to opendbc

* and panda

* fix

* in

* not here

* not here
* fix test_pandad

* fix all the imports
* fix rivian ignition

* rm

* fix

* wtf copilot
* Move ccp.py and xcp.py to opendbc

* move isotp

* more cleanup
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
* Lower fan setting on boot

* fix build
3 isn't defined, but you never know (2 is shutting down)
* always pick the next playback buf and wait until we've finished playing this one

* misra fix

---------

Co-authored-by: Comma Device <device@comma.ai>
* refactor out red chiplet

* global can mode set

* global led disable

* this is already done globally

* global harness init

* global spi gpio init

* init OBD_SBUx_RELAY pins in harness init

* this is already done in harness init

* global set_can_mode

* fix SWD on F4

* no more has_obd

* global enable_transceivers

* Revert "global set_can_mode"

This reverts commit 09e19c3.

---------

Co-authored-by: Comma Device <device@comma.ai>
maxime-desroches and others added 27 commits August 18, 2025 20:43
* Deprecate uno + grey

* lil more
* deprecate white and black pandas

* static
jungle: deprecate v1 board
* just make it green

* fix resetter

* fix perms

* better caching

* just copy

* simplify more

* fix that up

* nope
* lil fixups

* revert that for now

* no n0

* also 1.8V

* global
* remove DPANDA

* -22

* lil more

* canfd

* lil more

* update cppcheck

* uart cleanup

* always harness

* sbu sense

* lil more

* enable spi

* rm ENABLE_SPI
* fix include paths

* cleanup
* cleanup bootstub build

* cleanup rest of build

* less files

* all in same obj

* oops

* lil more
* opendbc updates

* get latest opendbc in docker

* .
* drive negative pin with constant value

* flag

* Revert "flag"

This reverts commit e32fee7.

* handle both

* good ol' misra

* complete

* complete

* default

---------

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* refactor panda side

* fix misra?

* use common ADC driver in jungle

* fix misra fr now

* fix oversampling

* default channel macro

* one more

* this makes more sense

---------

Co-authored-by: Comma Device <device@comma.ai>
SPI: rename spi_checksum_error_count -> spi_error_count
Co-authored-by: Comma Device <device@comma.ai>
* working adc calibration

* bit of cleanup

* cleanup more

* fix misra

---------

Co-authored-by: Comma Device <device@comma.ai>
* CI: auto-update cppcheck weekly

* no push
Co-authored-by: Comma Device <device@comma.ai>
@heysenbug
Copy link
Copy Markdown
Author

Closing out this PR to create another with better branch naming

@heysenbug heysenbug closed this Aug 21, 2025
@heysenbug heysenbug deleted the merge-from-master branch August 21, 2025 00:12
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.