mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-19 01:33:52 +08:00
* 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
17 lines
541 B
Python
17 lines
541 B
Python
import os
|
|
|
|
|
|
BASEDIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "../")
|
|
|
|
BOOTSTUB_ADDRESS = 0x8000000
|
|
|
|
BLOCK_SIZE_FX = 0x800
|
|
APP_ADDRESS_FX = 0x8004000
|
|
DEFAULT_FW_FN = os.path.join(BASEDIR, "board", "obj", "panda.bin.signed")
|
|
DEFAULT_BOOTSTUB_FN = os.path.join(BASEDIR, "board", "obj", "bootstub.panda.bin")
|
|
|
|
BLOCK_SIZE_H7 = 0x400
|
|
APP_ADDRESS_H7 = 0x8020000
|
|
DEFAULT_H7_FW_FN = os.path.join(BASEDIR, "board", "obj", "panda_h7.bin.signed")
|
|
DEFAULT_H7_BOOTSTUB_FN = os.path.join(BASEDIR, "board", "obj", "bootstub.panda_h7.bin")
|