Commit Graph

35 Commits

Author SHA1 Message Date
Radek aab03bc4b6
Make can_print.py work on a all busses (#2070)
* Enable CAN3 printer (#1991) again

(cherry picked from commit 2b94e4fef7)

* print messages with same address but on different bus
2024-11-06 17:09:42 +01:00
Radek fab8d0bb4a
CAN print improvement (#2052)
* Jungle spam can.

* Print all busses by default.  Prettier print.

* can_health printer

* colors on can error
2024-10-02 12:53:32 -07:00
Radek 38cab7d501
Add multiple pandas selector (#2015)
* multiple Panda cli helper

* Don't flash all pandas by default. Use --all arg to flash all.
2024-09-24 16:37:23 -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 ee1d5ce8bc
add assert_fatal function (#1976)
* add assert function

* fix

* flip

* rename

* assert fatal
2024-06-26 16:59:08 -07:00
Adeeb Shihadeh faa1802669 even more spammy 2024-06-04 21:08:31 -07:00
Adeeb Shihadeh e2c9a81c4f jungle: more robust CAN generation mode 2024-06-04 15:37:28 -07:00
Adeeb Shihadeh fec68d0409
jungle: add debug mode with generated CAN traffic (#1966) 2024-06-03 22:25:17 -07:00
Adeeb Shihadeh 01c54d1199
enable misra-c2012-11.8 (#1916)
* fix up harness_config definition

* enable misra-c2012-11.8
2024-03-24 12:38:25 -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
Adeeb Shihadeh cccceabf8a exit flashing scripts with error if no pandas 2024-03-21 13:04:45 -07:00
Andrei Radulescu 74e6a54503
jungle: assume F4 MCU (#1907) 2024-03-21 12:45:47 -07:00
Adeeb Shihadeh 895a7001c9
Rename stm32fx/ -> stm32f4/ (#1898)
* Rename stm32fx/ -> stm32f4/

* jungle too
2024-03-11 16:18:56 -07:00
Cameron Clough 0c7d5f11d7
use pyupgrade to update syntax (#1889) 2024-02-24 13:56:28 -08:00
dzid26 04c5a00a9e
Board chip type (#1853)
Board chip type title
2024-02-06 11:15:46 -08:00
Adeeb Shihadeh 93a06f1257
remove HW GMLAN support (#1848) 2024-02-03 23:18:33 -08:00
Adeeb Shihadeh 7c613fdcb5
remove redundant board_type (#1833)
* remove redundant board_type

* fix jungle build
2024-01-23 22:08:22 -08:00
Ruben Medina 40671436ee
enable misra-constParameterPointer (#1826) 2024-01-20 21:50:42 -08:00
Aryan a902a19ead
enable misra-c2012-21.2 (#1819)
* enable misra-c2012-21.2

* Add suppressions on memset and memcpy

* revert that

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-01-18 14:29:01 -08:00
Adeeb Shihadeh f42b65ca32
skip flash if up to date (#1686)
* skip flash if up to date

* fix
2023-10-05 13:13:40 -07:00
Igor Biletskyy b12b9b9c97
jungle v2: control power individually per port (#1669)
* init

* better api
2023-09-25 17:58:11 -07:00
Igor Biletskyy 394b61cd16
H7: reset CAN core on bus off state (#1615)
* init

* misra

* merge
2023-09-06 09:50:13 -07:00
Igor Biletskyy 3ab4f43de0
enable red and green leds until USB/SPI init (#1647)
* init

* add green
2023-09-05 13:36:13 -07:00
briskspirit f7a1daab74 jungle: force CAN core reset on bus off detection 2023-08-25 17:58:10 -07:00
Igor Biletksyy 8ed82d3899 jungle: fix can_health update on request 2023-08-25 15:42:39 -07:00
Adeeb Shihadeh 09cd81752d
python lib: close USB context properly (#1606)
* python lib: close USB context properly

* fix jungle

* rm that

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-08-24 19:15:37 -07:00
Igor Biletskyy ab70a3c867
jungle: add pin header control (#1581)
* init

* style

* clean + gpio output
2023-08-14 19:38:38 -07:00
Justin Newberry 4ea50fbb09
Ruff: propgate config from OP (#1579) 2023-08-14 12:52:02 -07:00
Igor Biletskyy 413f430f4e
jungle: add back set_can_sinent() (#1571)
init
2023-08-10 16:25:56 -07:00
Adeeb Shihadeh 3dc3b58e20
ruff: enable bugbear checks (#1565) 2023-08-06 14:59:22 -07:00
Igor Biletskyy 3e21991ce2
jungle: disable transceivers while doing CAN multiplexing (#1555)
* init

* keep unneeded trans off

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-08-04 22:47:10 -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 43bde4138d
jungle: SBU provisioning tests (#1553)
* jungle: SBU provisioning tests

* update can_send

* cleanup

* fix misra

* space
2023-08-04 14:28:23 -07:00
Adeeb Shihadeh 1950ba6f83 cleanup bus count constant 2023-08-04 10:47:03 -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