rbiasini
f9053f5df4
more Python 3 fixes, attempting to fix jenkins wifi regresison test ( #295 )
...
* more Python 3 fixes, attempting to fix jenkins wifi regresison test. Not successful, but closer.
2019-10-10 12:34:52 -07:00
Jason Young
2f9e076289
Panda safety code for Volkswagen, Audi, SEAT, and Škoda ( #293 )
...
* Panda safety code for Volkswagen, Audi, SEAT, and Škoda.
* First pass at MISRA compliance.
* Second pass at MISRA compliance.
* Fix scope of violation boolean.
* MISRA doesn't care for implicit cast of unsigned int to boolean.
* Remove superfluous newline.
* Remove unused VW ignition hook code, preserve commentary.
* Add 50% padding to max delta check.
* Add 50% padding to max delta check.
* Add clarity around the origin of our safety constants.
* Update test RT delta to match safety.
2019-10-09 13:54:22 -07:00
Willem Melching
30c7ca8a53
bump version to 1.5.3
2019-10-09 10:21:25 -07:00
Riccardo
9403dbebe9
Need to fix wifi test before re-enabling.
2019-10-08 20:03:18 -07:00
robbederks
0812362b52
GPS UART fix until boardd is refactored ( #294 )
...
* Temporary GPS fix
* spaces
2019-10-08 19:41:10 -07:00
rbiasini
ffbdb87a8d
python2 -> 3 fixes to pedal flasher ( #292 )
...
* python2 -> 3 fixes to pedal flasher
* fix Debug flash as well
* Fixes to wifi-test
2019-10-08 19:07:59 -07:00
Robbe
78b75ef590
Added build type to release version strings
2019-10-07 14:42:38 -07:00
Robbe
736c2cbf7b
Fixed sending of bytes over PandaSerial
2019-10-07 14:26:44 -07:00
robbederks
0894b28f1e
Fixed USB power mode on black ( #291 )
...
* Fixed USB power mode on black
* bump version
2019-10-05 20:34:19 -07:00
rbiasini
4b3358c921
patch to be able to switch from EON to PC with a Panda that has EON b… ( #290 )
...
* fix switching from EON to PC with a Panda that has EON build and not 12V supply
2019-10-04 14:51:26 -07:00
robbederks
a95c44a717
Made setting of NOOUTPUT on no heartbeat more efficient ( #287 )
...
* Made setting of NOOUTPUT on no heartbeat more efficient
* Stupid mistake
* Fixed hardcoded safety mode
2019-10-04 13:30:00 -07:00
robbederks
9486836886
UART instability fix with high interrupt load ( #283 )
...
* Fixed UART overrun error
* Added stability test scripts
* Refactored UART code. ESP/GPS now uses DMA in circular mode to directly write into the ring buffer, saving a bunch of interrupts and potential race conditions.
* Changed stability test to use amount of bytes instead of amount of non-zero messages, since the ring buffer pointer is only updated on half or full DMA transfer or on line idle (e.g. no more 1 char messages from the gps)
* Increase data limit. It's too low sometimes in normal operation
* Forgot to set write pointer in ring buffer
* Increased test limit even more
2019-10-04 13:28:56 -07:00
rbiasini
9a9e9d47bc
Fix usb_power_mode missing initialization ( #289 )
...
* Fix usb_power_mode missing initialization
* typo
* re-added NONE usb power mode, so usb_power_mode is only set in set_usb_power_mode func
2019-10-04 10:48:17 -07:00
rbiasini
af0960ad3d
DFU fix ( #288 )
...
* DFU fix
* fix test 2
* this should fix all the remaining jenkins test
* Fixed pyenv shim not being a python file, but a sh script
2019-10-03 19:46:28 -07: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
Riccardo
a338d39322
Fix build for jenkins test
2019-10-02 18:02:49 -07:00
rbiasini
78ef4a6ebc
Stop charge ( #284 )
...
* CDP by default in EON build on white panda
* Cleaned up power mode setting
* send usb power mode in health
* cleaner CDP setting on ignition
* bump panda
2019-10-02 11:48:40 -07:00
Arne Schwarck
5266a40287
Fix typo ( #286 )
2019-10-02 11:40:38 -07:00
Riccardo
f4787ec5a2
Revert "turn on CDP when ignition switches on ( #281 )"
...
This reverts commit 8c1df559f7
.
2019-10-01 17:01:14 -07:00
Riccardo
d37daee978
Revert "NONE and CLIENT should be the same thing in white/grey pandas"
...
This reverts commit e97b283e77
.
2019-10-01 15:20:59 -07:00
Riccardo
e97b283e77
NONE and CLIENT should be the same thing in white/grey pandas
2019-10-01 15:16:13 -07:00
rbiasini
8c1df559f7
turn on CDP when ignition switches on ( #281 )
2019-09-30 21:48:30 -07:00
Riccardo
847a35d423
Fix bullet points
2019-09-27 17:22:22 -07:00
rbiasini
fac0277169
Misra update ( #280 )
...
* Updated cppcheck ref. New rules to be fixed
* changed 2 MACRO names that had more than 31 characters in common
* Fix newly popped 10.4: same type on arithmetic ops
* Fix 18.4: operators should not be applied to an expression
* ensure a NULL pointer isn't dereferenced
2019-09-27 17:18:02 -07:00
Riccardo
5a04df6b15
Added description of regression tests to README
2019-09-27 17:15:41 -07:00
Robbe
c4aabae591
Fixed some python3 bugs in the test scripts and PandaSerial
2019-09-27 15:22:13 -07:00
Robbe
9af0cb3534
Bump version
2019-09-27 13:24:46 -07:00
Robbe
c4ac3d63be
Disable GPS load switching on black pandas
2019-09-27 13:22:06 -07:00
Riccardo
078ee588c2
This is the correct table, actually
2019-09-27 11:15:29 -07:00
Riccardo
578b95ee33
Misra table of coverage added
2019-09-27 11:11:16 -07:00
Riccardo
d383a2625f
bump panda
2019-09-27 00:08:30 -07:00
rbiasini
b98ca010d2
fix sdk build in python3 env ( #279 )
2019-09-27 00:06:32 -07:00
Riccardo
63d3dc7d34
Set python3 env before runnign get_sdk, so we know if it fails
2019-09-26 17:51:14 -07:00
George Hotz
e951d79c0a
legacy code we don't control can remain python2
2019-09-26 17:41:32 -07:00
George Hotz
11b7151180
Merge pull request #276 from commaai/python3
...
Python3
2019-09-26 17:25:09 -07:00
George Hotz
9893a842a7
Merge pull request #277 from zorrobyte/patch-1
...
Update README.md
2019-09-26 17:16:58 -07:00
Riccardo
d3268690c9
Revert "revert back esptool to python2 and force to build esptools with python2"
...
This reverts commit 875e76012b
.
2019-09-26 17:02:38 -07:00
Riccardo
875e76012b
revert back esptool to python2 and force to build esptools with python2
2019-09-26 16:21:47 -07:00
Riccardo
9c40e6240b
needed to install python3
2019-09-26 02:07:03 -07:00
Riccardo
ed2ac87cf4
Also moved safety tests to python3
2019-09-26 01:06:38 -07:00
Riccardo
6842b2d2ce
move esptool sdk installation before python3 env is set. Kind of a cheat
2019-09-26 00:53:58 -07:00
Riccardo
b5a2cabcd7
this hopefully fixes build test
2019-09-25 23:31:51 -07:00
Riccardo
6280509559
Fixes safety replay
2019-09-25 23:09:22 -07:00
Riccardo
2c220b623d
this fixes language regr test
2019-09-25 21:59:18 -07:00
Riccardo
fdbe789b8d
use python 3 in Docker container
2019-09-25 19:00:57 -07:00
Riccardo
ee1ae4f861
Better hash print
2019-09-25 17:06:25 -07:00
Riccardo
0de9ef73cc
Revert "Final 2to3 on the whole repo"
...
This reverts commit c92fd3bc90
.
2019-09-25 17:01:13 -07:00
Riccardo
c92fd3bc90
Final 2to3 on the whole repo
2019-09-25 16:58:56 -07:00
Riccardo
5f2bc44606
better
2019-09-25 16:52:51 -07:00
Riccardo
b2a30fdbdf
make works!
2019-09-25 16:52:03 -07:00