Commit Graph

17 Commits

Author SHA1 Message Date
Igor Biletskyy
1b301600ee add few mcu config consts, add exports (#704) 2021-08-03 18:26:33 -07:00
Igor Biletskyy
ba4b754678 add F4 mcu type to python lib "export" (#703) 2021-08-03 16:26:43 -07:00
Igor Biletskyy
ad90646001 Support for STM32H7 and Red Panda (#694)
* H7 drivers

* Include H7 into the code

* fix flash write for H7

* get serial from flasher.h from F4 and H7

* flash.sh and recover.sh for gen3

* add set_data_speed for BRS CAN FD

* build all fws

* gen3 to panda lib

* gen3 name in scons project

* disable fd can and brs

* gen3 to CI tests

* jenkins fix for new tests and build_all

* fix pedal test

* pedal in panda tests again...

* cleanup llfdcan.h

* cleanup clock.h

* Add LDORDY bit check instead of delay

* missing define in stm32h735xx.h lib

* board_id helper

* enable debug detection again

* clean gpio inits

* fix board_id helper, make cleaner

* comment MCUs in stm lib for faster misra

* target MCU

* misra-5.5

* improve headers and misra speed

* cleanup CI tests

* change naming from gen3 to h7

* readable if statement

* cleanup llusb.h

* only cycle one transceifer in bus-off

* move unused funcs to common header

* bus_off_err reset

* misra 10.4 fdcan

* extern to can_data_speed variable

* limit can_data_speed array size to 3

* reinit fd can on data speed change

* Improve test with ELM327 and extaddr check

* bugfix for fdcan

* panda python config naming

* abstracted init request in llfdcan

* misra fdcan

* Improve llusb.h for H7
2021-08-02 20:26:15 -07: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
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
Willem Melching
b8267341a1 Add pre commit checks + CI (#545)
* Add pre commit checks

* untested but should work

* fix typo in dockerfile

* add sqlite

* add pylintrc to ignore usb1 members

* Typo in stage name

* Move to requirements
2020-05-29 11:52:03 -07:00
rbiasini
fce38a91d7 Linter python (#299)
* Added pyflakes and Pylint for python

* Actually run linter in CI

* some simple pyflakes changes

* Add flake8 to panda reqs for linter test

* flake8 errors are fixed

* run flake8 in regression tests

* meant to run flake8

* hack to ignore unused import

* bug

* fix bugs in tucan_loopback

* Another fix by using set_safety_mode

* added pylintrc file

* more fixes and enabled pylint as well

* Fix pylint in circleci

* added linter to readme
2019-10-15 14:03:31 -07:00
George Hotz
65997ffcf5 add PandaSerial and location panda (aka pigeon) test 2018-01-07 11:31:54 -08:00
George Hotz
b74b6f2727 rename panda to python because of git ambiguity 2017-12-06 16:17:57 -08:00
George Hotz
22a00b1043 add st updater 2017-08-28 10:42:23 -07:00
George Hotz
d9e8c07725 more noob friendly release flashing 2017-08-23 20:46:34 -07:00
George Hotz
5821e28d7d move esptool 2017-08-23 18:47:58 -07:00
Firmware Batman
ae895da21e support DFU mode in python library 2017-08-22 14:02:34 -07:00
Firmware Batman
c536a8333c begin to address UDP reliability issues 2017-08-13 02:01:56 +01:00
Firmware Batman
85c0940cf9 support can speed, and test it 2017-07-17 19:43:30 -07:00
Jessy Diamond Exum
dfb69b9e62 Changed python project name and allowed a hack for openpilot to import without installing. 2017-06-20 11:27:45 -07:00
George Hotz
e07f9b111e initial commit 2017-04-06 18:11:36 -07:00