panda/board
Shane Smiskol d8e3dc0d84 tests
Co-authored-by: martinl <martin@mlp.ee>
2022-06-07 11:29:37 -07:00
..
boards Dos: PWM based camera signals (#912) 2022-04-06 17:19:42 -07:00
drivers Kia EV6 (#905) 2022-05-19 15:59:58 -07:00
obj Revert commits that broke USB for openpilot. 2017-07-12 11:27:16 -07:00
pedal use all cores (#898) 2022-04-01 19:15:04 -07:00
safety tests 2022-06-07 11:29:37 -07:00
stm32fx Calculate interrupt load and add to health packet (#913) 2022-04-11 11:59:47 +02:00
stm32h7 Calculate interrupt load and add to health packet (#913) 2022-04-11 11:59:47 +02:00
tests Refactor HAL (#656) 2021-07-02 18:25:35 -07:00
README.md use all cores (#898) 2022-04-01 19:15:04 -07:00
SConscript Revert "Split linker files for STMs F2 and F4 (#817)" (#852) 2022-02-10 19:25:25 -08:00
__init__.py Revert commits that broke USB for openpilot. 2017-07-12 11:27:16 -07:00
bootstub.c Refactor flasher (#686) 2021-07-14 13:49:28 -07:00
bootstub_declarations.h expose DEBUG flag and improve debug console output (#728) 2021-09-25 21:46:19 -07:00
build_all.sh use all cores (#898) 2022-04-01 19:15:04 -07:00
can_definitions.h Move shared definitions into separate file (#808) 2021-12-16 14:38:22 -08:00
config.h Deep sleep(stop) mode for pandas (#832) 2022-03-07 14:24:04 -08:00
crc.h Fix MISRA 12.x violations (#667) 2021-06-18 16:42:49 -07: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
dlc_to_len.h CAN_FIFOMailBox to CANPacket struct + USB dynamic packet size (#739) 2021-11-12 16:36:34 -08:00
early_init.h H7: Move from PLL3Q to HSI48 for USB FS (#800) 2021-12-01 20:28:31 -08:00
faults.h Deep sleep(stop) mode for pandas (#832) 2022-03-07 14:24:04 -08:00
flash.sh use all cores (#898) 2022-04-01 19:15:04 -07:00
flash_h7.sh use all cores (#898) 2022-04-01 19:15:04 -07:00
flasher.h Move shared definitions into separate file (#808) 2021-12-16 14:38:22 -08:00
get_sdk.sh board/get_sdk.sh: add dfu-util and python3-pip (#787) 2021-11-16 14:50:49 -08:00
get_sdk_mac.sh updated: ruby homebrew installer deprecated. (#736) 2021-10-08 17:43:22 +02:00
health.h Make safety param uint16_t (#931) 2022-05-02 13:36:19 -07:00
libc.h memcpy with 4 and 16 bytes copy support (#763) 2021-11-04 16:06:51 -07:00
main.c Make safety param uint16_t (#931) 2022-05-02 13:36:19 -07:00
main_declarations.h Deep sleep(stop) mode for pandas (#832) 2022-03-07 14:24:04 -08:00
panda.h Move shared definitions into separate file (#808) 2021-12-16 14:38:22 -08:00
power_saving.h Refactor HAL (#656) 2021-07-02 18:25:35 -07:00
provision.h Cleanup Wi-Fi leftovers (#804) 2021-12-06 14:39:28 -08:00
recover.sh use all cores (#898) 2022-04-01 19:15:04 -07:00
recover_h7.sh use all cores (#898) 2022-04-01 19:15:04 -07:00
safety.h fix missing CAN-FD safety modes 2022-05-19 16:55:53 -07:00
safety_declarations.h Kia EV6 (#905) 2022-05-19 15:59:58 -07:00
usb_comms.h Make safety param uint16_t (#931) 2022-05-02 13:36:19 -07:00
usb_protocol.h Cleanup Wi-Fi leftovers (#804) 2021-12-06 14:39:28 -08:00
utils.h Calculate interrupt load and add to health packet (#913) 2022-04-11 11:59:47 +02:00

README.md

Dependencies

Mac

xcode-select --install
./get_sdk_mac.sh

Debian / Ubuntu

./get_sdk.sh

Programming

Panda

scons -u -j$(nproc)  # Compile
./flash_h7.sh        # for red panda
./flash.sh           # for other pandas

Troubleshooting

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

./recover_h7.sh  # for red panda
./recover.sh     # for other pandas

A panda paw can be used to put panda into DFU mode.

dfu-util for flashing