panda/board
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
..
boards fix dos usb power mode (#628) 2021-02-22 16:12:48 +01:00
drivers Move gmlan_alt to TIM12 to fix concurrency issue with IR PWM (#627) 2021-02-01 15:53:04 +01:00
inc Add pre-commit hooks (#551) 2020-06-03 15:08:57 -07:00
obj Revert commits that broke USB for openpilot. 2017-07-12 11:27:16 -07:00
pedal Switch panda to scons builder (#635) 2021-03-24 14:44:32 +01:00
safety VW MQB: Updated message and signal data, round 1 (#632) 2021-03-14 16:24:53 -07:00
tests signature checking works on ST 2017-04-26 10:41:57 -07:00
README.md Fix Mac installation instruction per: https://github.com/commaai/panda/pull/308/files 2019-10-31 16:23:55 -07:00
SConscript Switch panda to scons builder (#635) 2021-03-24 14:44:32 +01:00
__init__.py Revert commits that broke USB for openpilot. 2017-07-12 11:27:16 -07:00
board.h Deprecate ESP (#592) 2020-08-26 15:37:50 -07:00
board_declarations.h Fixed transceiver spelling 2020-09-28 16:19:09 +02:00
bootstub.c security upgrades (#397) 2019-12-10 08:14:30 -08:00
config.h Toyota: add missing offset from speed signal (#469) 2020-03-11 17:30:30 -07:00
crc.h abstract crc function (#448) 2020-02-24 15:26:59 -08:00
critical.h Revert "Revert "Register readback on most modules. Still need to convert the other ones (#396)"" 2019-12-05 14:19:29 -08:00
faults.h Clock source driver (#580) 2020-08-17 13:02:41 +02:00
flash.sh Switch panda to scons builder (#635) 2021-03-24 14:44:32 +01:00
get_sdk.sh Replace pycrypto with pycryptodome (#581) 2020-08-05 12:58:43 -07:00
get_sdk_mac.sh Replace pycrypto with pycryptodome (#581) 2020-08-05 12:58:43 -07:00
gpio.h Deprecate ESP (#592) 2020-08-26 15:37:50 -07:00
libc.h this fixes the fw on newer compilers. haven't figured out why it broke yet (#549) 2020-06-02 14:21:41 -07:00
main.c add safetyParam to health (#633) 2021-03-17 14:19:22 +01:00
main_declarations.h green led on 0xf7 (#619) 2021-01-05 14:51:58 +01:00
power_saving.h Fixed transceiver spelling 2020-09-28 16:19:09 +02:00
provision.h Allow DFU if OTP block is not locked yet (#405) 2019-12-17 22:00:17 +01:00
recover.sh Switch panda to scons builder (#635) 2021-03-24 14:44:32 +01:00
safety.h add safetyParam to health (#633) 2021-03-17 14:19:22 +01:00
safety_declarations.h Abstract RX checks for gas, brakes, and relay malfunction (#556) 2020-06-16 02:01:00 -07:00
spi_flasher.h Fixed transceiver spelling 2020-09-28 16:19:09 +02:00
startup_stm32f205xx.s remove whitespace (#255) 2019-07-19 19:35:50 -07:00
startup_stm32f413xx.s remove whitespace (#255) 2019-07-19 19:35:50 -07:00
stm32_flash.ld initial commit 2017-04-06 18:11:36 -07:00

README.md

Dependencies

Mac

xcode-select --install
./get_sdk_mac.sh

Debian / Ubuntu

./get_sdk.sh

Programming

Panda

make

Troubleshooting

If your panda will not flash and is quickly blinking a single Green LED, use:

make recover

dfu-util for flashing