Daniel Koepping
e1da7dc918
Reduce panda power usage ( #2340 )
...
* add bootkick for ship mode
* boot standby
* comment
* stop mode
* fix som status
* exti wakeup
* all standby
* clean
* analog mode
* adc
* clean
* HSI
* stop only cuatro
* comments
* UM2331
* rm
* comment
* enforce SAFETY_SILENT
* clean
* misra
* rm
* disable pulls
* assert
* Revert "disable pulls"
This reverts commit 3b954b929a .
* pull note
* add stop mode USB cmd
* add stop mode to HITL
* fix
* async stop mode request
* test all harness/ign configs
* more time
* use uptime
* print debug
* unstuck
* show prints
* more
* logger
* loglevel
* log
* uptime test
* tighter timing
* print wakeout source
* rm debug
* clean
* robust
* add CAN2
* test more cans
* clean
* more
* longer
* multiple
* more
* can1
* reorder
* normal
* clean
* partial
* clean
* test
* time
* delay
* reset
* setup
* reset
* revert
* silent
* fix ordering
* no random
* warnings
* err
* timings
* heartbeat
* time
* faster
* can1
* simpler
* test 20x
* put back random
* clean
* comment
* jenkinsfile
* final
2026-02-19 14:14:28 -08:00
Adeeb Shihadeh
0ef2c72974
improve HITL robustness ( #2333 )
2026-02-15 11:18:20 -08:00
Andi Radulescu
1e3a52bf3a
remove mcu_type ( #2327 )
...
* remove mcu_type from Panda, it's redundant since all supported devices are H7
* revert disable automatic CAN-FD switching H7 check
* revert original can no longer be flashed error
* assert, assert, assert
* normal reset is fine
* remove assert from recover
2026-02-11 09:37:14 -08:00
Adeeb Shihadeh
b99d796924
Revert "remove mcu_type ( #2324 )"
...
This reverts commit 8922b48a30 .
2026-02-10 20:31:44 -08:00
Andi Radulescu
8922b48a30
remove mcu_type ( #2324 )
...
* remove mcu_type from Panda, it's redundant since all supported devices are H7
* revert disable automatic CAN-FD switching H7 check
* revert original can no longer be flashed error
* assert, assert, assert
* normal reset is fine
2026-02-09 09:36:32 -08:00
Adeeb Shihadeh
ce1b6a67e4
fix up fan HITL test ( #2317 )
...
* fix up fan HITL test
* cleanup
* times two
* even simpler
* append
* one more...
* speed it up now
* oops
2026-01-12 15:59:49 -08:00
Maxime Desroches
f6a06e34f2
ci: re-enable all HITL tests ( #2280 )
...
fan
2025-09-24 19:34:53 -07:00
probablyanasian
a2064b86f3
Change fan to use pure pwm ( #2267 )
...
* set cuatro fan settings
* set cuatro to use pure pwm
* use pwm on all boards
* remove fan max rpm configs, use pure pwm
* add comment about cooldown
* change max rpm in python side
* remove reference to max_fan_pwm in fan.h
* fully refactor fan configs into "has_fan"
* increase limits on fan test to 15% either way
* only tres for now
* doesn't matter
* not relevant anymore
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2025-09-13 11:09:51 -07:00
Adeeb Shihadeh
e13c3eb36d
remove spi dfu spam test
2025-09-04 11:15:38 -07:00
Adeeb Shihadeh
937626d288
SPI: ensure slave is in a consistent state after failed transfer ( #2268 )
...
* SPI: ensure slave is in a consistent state after failed transfer
* respect timeout
* swap
* clean that up
* remove whitelist
* warning
* limit attempts
---------
Co-authored-by: Comma Device <device@comma.ai >
2025-09-04 11:13:14 -07:00
Adeeb Shihadeh
1ce986f75c
bye bye f4 ( #2259 )
...
* bye bye f4
* lil more
* fix mac build
* update health idx
2025-08-26 12:37:36 -07:00
Adeeb Shihadeh
a0b52ed254
a few more spi error counts
2025-07-30 18:27:56 -07:00
Adeeb Shihadeh
edd4146635
simplify HITL tests ( #2229 )
...
* lil fixups
* revert that for now
* no n0
* also 1.8V
* global
2025-07-19 16:13:51 -07:00
Adeeb Shihadeh
76bd9e93d7
make jenkins green again ( #2230 )
...
* just make it green
* fix resetter
* fix perms
* better caching
* just copy
* simplify more
* fix that up
* nope
2025-07-19 15:49:41 -07:00
Adeeb Shihadeh
3d27233530
Deprecate white and black pandas ( #2227 )
...
* deprecate white and black pandas
* static
2025-07-19 09:55:12 -07:00
Adeeb Shihadeh
1020d35558
Deprecate uno + grey ( #2223 )
...
* Deprecate uno + grey
* lil more
2025-06-06 11:36:21 -07:00
Maxime Desroches
b4bb4e8519
cuatro: test in CI ( #2218 )
...
hitl
2025-05-27 13:04:48 -07:00
Shane Smiskol
db50523a45
Fix safety flag rename ( #2198 )
...
fix
2025-05-14 14:23:03 -07:00
Shane Smiskol
66bd9e8f25
Change safety model imports ( #2158 )
...
* fix test_pandad
* fix all the imports
2025-02-21 17:36:23 -08:00
Shane Smiskol
d3508ff042
Move safety constants to opendbc ( #2145 )
...
* move to opendbc
* all passing
* do the rest
* fix
* and another
* order
* and update ref to master
2025-02-11 20:14:44 -08:00
Shane Smiskol
72a99e9e9d
Rename to SafetyFlags ( #2144 )
...
* safety flags
* update ref
* fix ltl
2025-02-11 19:56:29 -08:00
Eric Brown
e7940cc3e9
Remove car specific flags ( #2116 )
...
* 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 >
2025-02-10 19:10:29 -08:00
Andrei Radulescu
0a0912234e
update bash scripts to #!/usr/bin/env bash ( #1987 )
...
* update bash shebang for better compatibility including macOS
* can't have anything after #bash
2024-08-26 17:25:15 -07:00
Shane Smiskol
8c3bb0151e
deprecate busTime ( #1989 )
...
* deprecate busTime
* fix test_comms.py
* update opendbc
* way more than i thought
* and here
* oops
2024-07-30 21:20:48 -07:00
Adeeb Shihadeh
dd82382d5f
instant boot ( #1910 )
...
no more boot time :P
2024-03-22 14:01:44 -07:00
Adeeb Shihadeh
091773f448
Adjust CAN bus orientation live with harness orientation ( #1913 )
...
* set orientation in one place
* no flip
* cleanup
* more explict on startup
---------
Co-authored-by: Comma Device <device@comma.ai >
2024-03-22 14:00:13 -07:00
Adeeb Shihadeh
b46a9eb2c9
CAN orientation HITL test ( #1912 )
...
test
Co-authored-by: Comma Device <device@comma.ai >
2024-03-22 13:32:31 -07:00
Adeeb Shihadeh
6b40f82bc4
harness HITL test refactor ( #1911 )
...
* harness HITL tests
* cleanup
* oops
* unused
2024-03-22 10:30:02 -07:00
Adeeb Shihadeh
8a845b973e
boot time test ( #1909 )
...
* test
* usb serial
* just test for now
* time
* close
* close after
2024-03-21 20:28:44 -07:00
Adeeb Shihadeh
de061e4f73
remove rest of gmlan ( #1908 )
...
* remove rest of gmlan
* fix
* update struct
* update
2024-03-21 13:56:36 -07:00
Cameron Clough
0c7d5f11d7
use pyupgrade to update syntax ( #1889 )
2024-02-24 13:56:28 -08:00
Justin Newberry
06feb083cf
replace pytest-timeouts with pytest-timeout ( #1820 )
...
* one timeout
* timeout
2024-01-18 14:44:32 -08:00
Adeeb Shihadeh
dc1fd96118
Revert "H7: fix GMLAN bitbang timer ( #1542 )" ( #1745 )
...
This reverts commit 5778c0ae5d .
2023-11-24 16:00:18 -08:00
Adeeb Shihadeh
7b323413d2
jenkins: run bootkick tests ( #1688 )
...
* jenkins: run bootkick tests
* flip that
* little longer
* increase
* disable can
---------
Co-authored-by: Bruce Wayne <batman@comma.ai >
2023-10-09 21:52:15 -07:00
Adeeb Shihadeh
ea826ccea6
CI: whitelist hitl jungles ( #1687 )
...
Co-authored-by: Bruce Wayne <batman@comma.ai >
2023-10-05 18:27:33 -07:00
Igor Biletskyy
5778c0ae5d
H7: fix GMLAN bitbang timer ( #1542 )
...
* init
* move Adeeb's test
* bitbang expected to fail can_health
2023-10-03 13:14:14 -07:00
Adeeb Shihadeh
43bed1aa47
jungle HITL tests setup ( #1665 )
...
* setup new zoo
* run
* fix
---------
Co-authored-by: Bruce Wayne <batman@comma.ai >
2023-09-30 23:19:06 -07:00
Adeeb Shihadeh
b6e37f25b6
Remove flash logging ( #1674 )
...
* Revert "Disable flash logging (#1667 )"
This reverts commit 62db60595b .
* Revert "Faster log retrieval (#1484 )"
This reverts commit 694aae9c26 .
* Revert "Flash bounds checking outside of bootstub (#1459 )"
This reverts commit 054344de6b .
* Revert "Logging (#1445 )"
This reverts commit 0cc91a7f7b .
* cleanup
* cleanup
2023-09-30 12:49:46 -07:00
Adeeb Shihadeh
62db60595b
Disable flash logging ( #1667 )
...
* disable logging to flash
* update tests
* fix hitl
2023-09-21 15:28:19 -07:00
Justin Newberry
4ea50fbb09
Ruff: propgate config from OP ( #1579 )
2023-08-14 12:52:02 -07:00
Igor Biletskyy
25f1444d73
panda: add CAN-FD throughput test ( #1572 )
...
init
2023-08-10 18:41:50 -07:00
Igor Biletskyy
a651fe3c6b
set OBD to False after test ( #1568 )
...
* reset OBD after test
* add comment
2023-08-07 10:54:39 -07:00
Adeeb Shihadeh
235067a22b
run HITL tests in parallel ( #1566 )
...
* seems to work
* cleanup
* run in ci
* fail on first
* fix jungle scope
---------
Co-authored-by: Bruce Wayne <batman@comma.ai >
2023-08-06 20:51:26 -07:00
Adeeb Shihadeh
77b09a3160
misc hitl test cleanup ( #1562 )
...
* misc hitl test cleanup
* adjust that
* update
* tres fix
---------
Co-authored-by: Bruce Wayne <batman@comma.ai >
Co-authored-by: Comma Device <device@comma.ai >
2023-08-06 16:30:21 -07:00
Adeeb Shihadeh
3dc3b58e20
ruff: enable bugbear checks ( #1565 )
2023-08-06 14:59:22 -07:00
Adeeb Shihadeh
33a95d6bea
pedal: fix warning on invalid serial ( #1563 )
...
* pedal: fix warning on invalid serial
* fix
* fix:
* shouldn't need that
* fix
---------
Co-authored-by: Bruce Wayne <batman@comma.ai >
2023-08-06 13:47:37 -07:00
Adeeb Shihadeh
c66b98b2a6
finish esp/gps removal ( #1559 )
2023-08-06 12:29:54 -07:00
Adeeb Shihadeh
6e1d35b033
more complete jungle reflash ( #1557 )
...
* more complete jungle reflash
* no spi!
* mv flash
* mv that
2023-08-04 21:51:09 -07:00
Adeeb Shihadeh
d7120be904
panda jungle ( #1547 )
...
* mv jungle
* match pedal style
* fix linter
* fix fw path
* fix paths
* safety!
2023-08-03 23:55:13 -07:00
Adeeb Shihadeh
1eac0d7634
HITL: remove old check, it's always checked on panda connect now
2023-07-20 11:25:06 -07:00