mirror of https://github.com/commaai/panda.git
9ee628557f
* optimize board build for size to avoid going over the limit. Here are the sizes of board/obj/panda.bin with different settings: -O2 32228 -Og 30172 -Os 28028 * warning if panda.bin is over the panda's limit * if bin is too big, error out |
||
---|---|---|
.. | ||
drivers | ||
inc | ||
obj | ||
pedal | ||
safety | ||
tests | ||
tools | ||
Makefile | ||
Makefile.legacy | ||
README.md | ||
__init__.py | ||
bootstub.c | ||
build.mk | ||
config.h | ||
get_sdk.sh | ||
get_sdk_mac.sh | ||
gpio.h | ||
libc.h | ||
main.c | ||
provision.h | ||
safety.h | ||
spi_flasher.h | ||
startup_stm32f205xx.s | ||
startup_stm32f413xx.s | ||
stm32_flash.ld |
README.md
Dependencies
Mac
./get_sdk_mac.sh
Debian / Ubuntu
./get_sdk.sh
Programming
Panda
make
NEO
make -f Makefile.legacy
Troubleshooting
If your panda will not flash and is quickly blinking a single Green LED, use:
make recover
dfu-util for flashing