Commit Graph

124 Commits

Author SHA1 Message Date
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
Greg Hogan 3ef9c3f9ef
remove windows driver (#1793) 2024-01-13 14:05:10 -08:00
Shane Smiskol bb75afc84e
safety: add safety param for gas interceptor (#1735)
* some refactoring still needing to be done here

* 50hz

* set rx checks

* tx msgs

* test

* fix

* forgot to check this since it's static now

* enable_gas_interceptor

* more

* remove int funcs since are common

* generic!

* not generic

* need to set counter now

* set_enable_gas_interceptor not needed

* already reset in safety init

* fix test

* remove gas_interceptor_detected (partly)

* oof need for hjonda too

* edit structs

* more honda (still broken)

* fix typo

* shift these down

* can also make this extensible

* stash

* defining classes is much simpler, maybe in future we will have some sort of wrapper after some more thought

* remove create_interceptor_test now

* add lta interceptor

* clean up print

* clean up

* once

* type hint

* rm

* no interceptor with stock long + good test

* add interceptor counter to honda

* need alt interceptor + set rx checks for honda

* we were never testing button enable with nidec + interceptor!

honda almost all passing

* these fixes make sense

* clean up

* better

* clean up test cov

* clean up

* not needed

* fix tx msgs

* clean up

* cppcheck

* fix

* unnecessary
2023-12-14 15:22:17 -08:00
Greg Hogan 0ca5ad773f
socketcan: usb bulk mode for rx (#584) 2023-10-03 17:44:10 -07:00
Adeeb Shihadeh 70c7763124
SPI kernel driver (#1497)
* kernel driver

* fix checksum check

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-07-15 12:26:24 -07:00
Erich Moraga 43c42ddc9b
README: remove backtick typo (#1040) 2022-08-23 20:09:58 -07:00
Adeeb Shihadeh ddf1eb68ba
socketcan: fix for new kernels (#907) 2022-04-04 18:03:12 -07:00
Adeeb Shihadeh bb5e2ccd00
socketcan: support newer kernels with renamed macro (#765) 2021-11-04 15:01:12 -07:00
Willem Melching 06ec4331f4 small docs tweaks 2021-10-27 11:54:15 +02:00
Chad Bailey 2da5ea3e4e
Fixup broken links and references in README (#661)
* Fixup broken links and remove references to now-defunct eon gold dashcam devkit

* Update README.md

* Update README.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-16 21:37:34 -07:00
vanillagorillaa 729b4db369
Fix linux can-utils bus numbering (#637) 2021-03-31 18:40:15 -07:00
Dean Lee f71fd7b91b
get value by reference in ranged based loop (#624) 2021-01-27 12:01:23 +01:00
Greg Hogan b3e278755c
J2534 iso14230 (#563)
* ISO14230

* ISO9141 (excluding 5 baud init)

* j2534 5 baud init

* disable unsupported pin select protocols

* update README for new installer

* cleanup

* cleanup

* J2534 windows registry ISO9141 flag

* make it easier to select dev J2534 driver

* update README with new installer
2020-07-10 14:43:31 -07:00
Adeeb 20eb68b179
Add pre-commit hooks (#551)
* add more pre-commit hooks

* revert misra coverage table

* fix coverage table exclusion
2020-06-03 15:08:57 -07:00
Greg Hogan 7bd01a5f04 update J2534 download link 2020-01-02 13:39:07 -08:00
Greg Hogan 77a7607185 update panda::PANDA_HEALTH type def 2020-01-02 13:39:07 -08:00
Greg Hogan fae57ae2e3 update README download link 2019-12-29 15:38:15 -08:00
Greg Hogan 356d0e11ad fix vc redist runtime install detection 2019-12-29 15:38:15 -08:00
Greg Hogan 1265aaa9b7 update vc redist runtime 2019-12-29 15:38:15 -08:00
Greg Hogan 33d0238831 update to latest versions of windows tools 2019-12-29 15:38:15 -08:00
Riccardo d19fd3e6bd better differentation of honda safety modes 2019-12-20 15:51:32 -08:00
rbiasini 597436d32a
NOOUTPUT safety mode is now SILENT. NOOUTPUT still exists but keeps C… (#388)
* NOOUTPUT safety mode is now SILENT. NOOUTPUT still exists but keeps CAN live

* README mention of 'no output'

* mispelled
2019-11-20 11:56:26 -08:00
rbiasini 70219d7bb2
match safety enum in cereal (#285)
* match safety enum in cereal

* removing tons of hardcoding

* add pythonpath to safety test

* Fix safety test in Docker
2019-10-02 18:20:32 -07:00
dekerr 45d0d286f4 remove whitespace (#255) 2019-07-19 19:35:50 -07:00
rbiasini a3f65d66e9
capitalize MIN and MAX macros (#220) 2019-06-17 13:48:14 -07:00
Greg Hogan 5c905b7525 update J2534 install instructions 2018-07-12 10:08:34 -07:00
Greg Hogan f3b6f5d919 added j2534 troubleshooting instructions 2018-03-07 14:09:21 -06:00
gregjhogan 95ab1aeffa fixed flow control message padding 2018-02-20 21:34:06 -06:00
gregjhogan bbd04d1237 updated installer 2018-02-19 11:46:42 -06:00
gregjhogan 62216d03e4 single standalone DLL for J2534 driver 2018-02-19 11:45:45 -06:00
gregjhogan 5c9138db53 fixed 11 bit address issue 2018-02-18 19:58:04 -06:00
gregjhogan f3b0ad29e2 fix LOOPBACK getting set when DATA_RATE is set 2018-02-18 11:19:37 -06:00
gregjhogan b750d36bc7 updated README 2018-02-18 11:19:37 -06:00
gregjhogan a9a097f080 lowered CPU utilization 2018-02-18 11:19:37 -06:00
gregjhogan 7c26a7028a TIS needs unsupported protocols to return an error 2018-02-18 11:19:37 -06:00
gregjhogan 42692b4673 TIS doesn't like ChannelID being zero 2018-02-18 11:19:37 -06:00
gregjhogan cf126bb119 SET_CONFIG return error for reserved parameters 2018-02-18 11:19:37 -06:00
gregjhogan 2e99dbf34a fix HDS issues 2018-02-18 11:19:37 -06:00
George Hotz 54bcc67ffa
Merge pull request #75 from gregjhogan/j2534-vs-2017-upgrade
upgrade j2534 driver projects to VS 2017
2018-01-08 14:59:39 -08:00
gregjhogan 57d633cfbf upgraded to VS 2017 2017-12-08 08:16:17 -06:00
gregjhogan 35cc32a250 fixed pointer exception on disconnect 2017-12-08 08:07:18 -06:00
George Hotz 15bfed8d34
Merge pull request #49 from diamondman/feature/–J2534_windows_driver
Feature/j2534 windows driver
2017-12-07 17:31:16 -08:00
Charles Julian Knight 279f048b0b updated docs 2017-11-12 22:36:20 -05:00
Jessy Diamond Exum c6aa4fc73d J2534_WIN: Defined minimum target version as Windows 7. 2017-10-17 16:27:59 -07:00
Jessy Diamond Exum 86cddeb95d J2534_WIN: Added VC redistributable to installer. Updated Docs. Icon fix. 2017-10-17 16:25:13 -07:00
Jessy Diamond Exum 33f60bcf01 J2534_WIN: Fixed spelling. Thanks palmerit. 2017-10-16 13:12:04 -07:00
Jessy Diamond Exum fe35c62a9c J2534_WIN: Added detail to README. Fixed spelling. 2017-10-16 06:45:09 -07:00
Jessy Diamond Exum c0097b1097 J2534_WIN: Added README. 2017-10-16 06:16:27 -07:00
Jessy Diamond Exum 0a3625228a J2534_WIN: Added basic class documentation. 2017-10-16 04:36:38 -07:00
Jessy Diamond Exum 403aeb84eb J2534_WIN: ISO15765 Flow Control WAIT and ABORT support. 2017-10-16 02:59:26 -07:00