Commit Graph

1581 Commits (596344e48b2db750c88f2167f4d3f11b41de656e)

Author SHA1 Message Date
Adeeb Shihadeh 596344e48b
build libpandasafety with scons (#639)
* build libpandasafety with scons

* remove makefile

* fix that
2021-03-31 18:35:47 -07:00
Willem Melching f146aa367b recover.sh: dont fail if panda already in DFU mode 2021-03-26 17:21:01 +01:00
Willem Melching 4906dc7b22 sconsfile add proper require to gitversion 2021-03-25 18:08:22 +01:00
Willem Melching e53148d4c7
Update board/readme.md after switch to scons 2021-03-24 14:56:19 +01:00
Willem Melching ad9ecefe65
Switch panda to scons builder (#635)
* add scons builder

* cleanup 1

* remove building from python code

* add pedal build

* fixup flags

* add EON flag

* change github actions to scons

* fixup automated tests

* move flashing scripts

* fix indent

* remove version.mk

* fix not in git

* fix linker script filename

* untested pedal flashing scripts

* add release option

* better asserts

* swap condition

* enable usb and fix flash script

* usb flash is not supported

* use button to enable dfu mode

* no usb because misra

* remove sleep
2021-03-24 14:44:32 +01:00
Willem Melching d572c012cb
add safetyParam to health (#633)
* add safetyParam to health

* move copies together
2021-03-17 14:19:22 +01:00
Jason Young 9108b82fb0
VW MQB: Updated message and signal data, round 1 (#632)
* EPS_01 -> LH_EPS_03

* Bump openpilot commit ref

* made echo test more stable

* update python to 3.8.5

* Revert "Bump openpilot commit ref"

This reverts commit 75ec1a0c

* Bump openpilot commit ref

* Bump openpilot commit ref

* Update Dockerfile.panda

* fixed torque signal name

* Signal naming fix, round 2

* fix CI

Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-14 16:24:53 -07:00
Adeeb Shihadeh f3cf165be0 bump openpilot 2021-03-14 14:23:01 -07:00
Adeeb Shihadeh 1fceab1ead update python to 3.8.5 2021-03-11 13:47:40 -08:00
Robbe Derks 08eec16960 made echo test more stable 2021-03-10 16:56:09 +01:00
Jason Young 3bb0408ee6
Add support for variable UDS RX offsets (#631) 2021-03-07 20:33:55 -08:00
robbederks 0ae2be95a1
fix dos usb power mode (#628) 2021-02-22 16:12:48 +01:00
Robbe Derks e7a5bf8541 ignore everything from vscode 2021-02-13 11:14:28 +01:00
robbederks f2446c35d6
Move gmlan_alt to TIM12 to fix concurrency issue with IR PWM (#627)
* Moved gmlan_alt to TIM12

* forgot some stuff
2021-02-01 15:53:04 +01:00
Willem Melching 97cd401abf
fix pc detection, remove tools (#626) 2021-02-01 14:57:49 +01:00
Dean Lee f71fd7b91b
get value by reference in ranged based loop (#624) 2021-01-27 12:01:23 +01:00
George Hotz e035fa1d09
green led on 0xf7 (#619)
* green led on 0xf7

* add python interface

Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
2021-01-05 14:51:58 +01:00
Andre Volmensky 72d6b6de69
Nissan Altima port (#612)
* Nissan Altima port

* Added bus check for Cruise Enabled message
2020-12-11 13:41:12 +01:00
robbederks 9f5f437c90
Fix C2 power draw (#614) 2020-12-03 14:32:10 +01:00
robbederks 6b869a6312
Don't turn off the phone power on C2s when changing USB mode (#611) 2020-11-10 11:26:02 +01:00
Adeeb Shihadeh 49c7615ed3
ubuntu 16.04 -> 20.04 (#608)
* ubuntu 16.04 -> 20.04

* fix pip

* think pyenv installs this

* bump python

* non interactive

* fix pyenv install

* python serial

* bump cffi

* fix index log build

* logreader dependency
2020-10-23 23:14:58 -07:00
Adeeb Shihadeh 9fb584b20c
Hyundai: increase max torque (#602)
* increase max hyundai torque

* update test threshold
2020-10-01 12:03:23 -07:00
Robbe Derks 09997428f3 Fixed transceiver spelling 2020-09-28 16:19:09 +02:00
grekiki 5e07142174
Remove reference to missing image
Image missing due to README update 533431ab17
2020-09-09 15:27:50 +02:00
Robbe Derks 229047d7c2 fix flash_release 2020-09-07 10:26:27 +02:00
Adeeb Shihadeh 8b41ed3b81
Deprecate ESP (#592)
* remove unused wifi tests

* remove that one too

* no bootmode from ESP

* clean that up

* remove two more wifi tests

* remove boardesp and esptool

* esp_gps -> gps

* missed those

* remove esptool refs

* remove esp certs

* no more wifi

* that was old

* cleanup jenkins dockerfile

* fix linter

* remove more wifi refs

* clone panda jungle from github

* no copy

* always default esp to off
2020-08-26 15:37:50 -07:00
Adeeb Shihadeh 6ae6221cf2 add driver build status to README 2020-08-22 19:21:11 -07:00
robbederks 5664a0e153
bootkick for dos (#595)
Co-authored-by: Tici <robbe@comma.ai>
2020-08-18 15:59:22 +02:00
robbederks 1515ec8bf5
Siren (#594)
* siren

* fix pedal

* update fault rate

Co-authored-by: Tici <robbe@comma.ai>
2020-08-17 15:04:01 +02:00
robbederks c3b02f3a74
Clock source driver (#580)
* Initial clock source implementation

* fix misra?

* Working now. Still need to fix board detection though

* Always stop pulse

* revert board detection bodge

Co-authored-by: Tici <robbe@comma.ai>
2020-08-17 13:02:41 +02:00
robbederks 1e60160a45
fix board detection for dos (#593) 2020-08-17 12:16:14 +02:00
Tici f7089b71b9 relay test 2020-08-17 10:15:17 +00:00
Adeeb Shihadeh ecef0a19d0 add dos to safety tests 2020-08-12 13:32:33 -07:00
Willem Melching ed0621137e Reserve Hyundai Community safety mode number 2020-08-10 11:58:06 +02:00
Adeeb Shihadeh a43abcfdf5
README update (#568)
* update readme

* more update

* black and grey

* typo

* remove buy img

* will update that later
2020-08-09 21:56:16 -07:00
Adeeb Shihadeh 5954ed7df9
Build socketcan driver in CI (#588)
* build socketcan driver in CI

* sudo

* does this work on 20.04?
2020-08-08 17:04:26 -07:00
Andre Volmensky 3a8430b9d5
Updating X-Trail/Rogue gas_pressed threshold (#585) 2020-08-08 11:10:32 -07:00
martinl 32199b2e49
Replace pycrypto with pycryptodome (#581)
* replace pycrypto with pycryptodome

* replace all instances with pycryptodome
2020-08-05 12:58:43 -07:00
Adeeb Shihadeh b88f96e72a fix linter 2020-07-30 14:36:39 -07:00
Robbe 8bdacca123 Make the gmlan test a little easier to use 2020-07-29 13:10:53 -07:00
robbederks caf8670cff
Fix uno getting detected as dos (#578) 2020-07-29 14:36:23 +02:00
martinl c55e84bf56
Change Subaru safety test to use generated dbc (#575)
* Change Subaru test to use generated dbc

* update openpilot pinned commit
2020-07-23 13:06:11 -07:00
bkralik 52583dc289
Warning of disabled safety modes (#574)
Several safety modes are available only with ALLOW_DEBUG flag. This is not noted in docs...
2020-07-22 10:38:08 +02:00
Andre Volmensky 4b576ab13d
Bugfix: Fix harness error when starting car (#572)
* Bugfix: Fix harness error when starting car

* fix misra violation

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-07-18 23:08:21 -07: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
Greg Hogan 390b8bce81
k-line 5 baud init (#565)
* k-line slow init

* k-line slow init LED bit blink

* fix misra violations

* better names for k-line methods

* debug prints match names

* switch to timer

* use TIM4 until I figure out TIM5

* tickle faster

* fix bit bug and add stop bit

* TIM5 working

* USB return after addr sent

* fix l-line reset

* fix misra violations

* blink for the ones instead of the zeros

* k-line 5 baud fault type

* lin check

* use TIM5 or wakeup

* better names
2020-07-10 14:18:24 -07:00
robbederks 2fab502cad
Increased pullup delay significantly to maybe improve board detection stability. 10 loops was only tens of ns. (#567) 2020-07-02 23:07:27 +02:00
robbederks 387fd681dd
USB enumeration detection fix (#566)
* testing

* Looks fixed now

* Cleanup
2020-07-02 00:23:12 +02:00
Adeeb Shihadeh ca12a1c660 enable flake8 F error codes 2020-06-22 14:02:18 -07:00
Adeeb Shihadeh 0d97b6d4eb
Safety Test: ensure TX msgs for other cars are blocked (#521) 2020-06-21 23:25:54 -07:00