panda/board
Drew Hintz 9ee628557f optimize board build for size to avoid going over the limit. (#150)
* 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
2019-01-23 13:24:29 -08:00
..
drivers compiling the use of bitbang_gmlan only for panda 2018-08-20 19:28:05 -07:00
inc initial commit 2017-04-06 18:11:36 -07:00
obj Revert commits that broke USB for openpilot. 2017-07-12 11:27:16 -07:00
pedal keep pedal obj folder 2018-08-20 07:33:58 -07:00
safety chrysler safety: fixed comments 2019-01-06 19:04:26 -08:00
tests signature checking works on ST 2017-04-26 10:41:57 -07:00
tools need to check for error pipe as well 2017-07-17 10:12:47 -07:00
Makefile cleaner 2018-04-11 19:42:14 -07:00
Makefile.legacy enable O2 2017-07-18 10:28:41 -07:00
README.md Made bash script's naming consistent and updated another typo in readme 2017-11-14 22:24:59 -05:00
__init__.py Revert commits that broke USB for openpilot. 2017-07-12 11:27:16 -07:00
bootstub.c Start introducing Bounties 2019-01-17 16:17:53 -08:00
build.mk optimize board build for size to avoid going over the limit. (#150) 2019-01-23 13:24:29 -08:00
config.h write soft flasher 2017-07-24 15:16:22 -07:00
get_sdk.sh added missing python packages 2018-03-04 15:19:28 -06:00
get_sdk_mac.sh added missing python packages 2018-03-04 15:19:28 -06:00
gpio.h use timer for can bitbanging 2018-06-11 10:06:10 -07:00
libc.h refactoring 2017-07-21 11:48:03 -07:00
main.c Update CLICKS for longer bootup time of EONS and avoid unwanted fast charge mode 2018-12-16 18:23:39 -07:00
provision.h st wifi flash is failing 2017-07-30 08:49:53 -07:00
safety.h Chrysler safety controls (#130) 2018-11-06 12:28:33 -08:00
spi_flasher.h canloader works 2018-03-10 11:28:32 -08:00
startup_stm32f205xx.s initial commit 2017-04-06 18:11:36 -07:00
startup_stm32f413xx.s initial commit 2017-04-06 18:11:36 -07:00
stm32_flash.ld initial commit 2017-04-06 18:11:36 -07:00

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