mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-19 01:33:52 +08:00
* no more magic * bump version * no need for this * comment cleanup * add comms_can_reset tests * we can't ensure this for compatibility reasons * add CANPacket_t checksum
11 lines
634 B
Python
11 lines
634 B
Python
from .python import (Panda, PandaDFU, # noqa: F401
|
|
BASEDIR, pack_can_buffer, unpack_can_buffer, calculate_checksum,
|
|
DEFAULT_FW_FN, DEFAULT_H7_FW_FN, MCU_TYPE_H7, MCU_TYPE_F4, DLC_TO_LEN, LEN_TO_DLC,
|
|
ALTERNATIVE_EXPERIENCE, USBPACKET_MAX_SIZE, CANPACKET_HEAD_SIZE)
|
|
|
|
from .python.serial import PandaSerial # noqa: F401
|
|
|
|
from .python.config import (BOOTSTUB_ADDRESS, BLOCK_SIZE_FX, APP_ADDRESS_FX, # noqa: F401
|
|
BLOCK_SIZE_H7, APP_ADDRESS_H7, DEVICE_SERIAL_NUMBER_ADDR_H7, # noqa: F401
|
|
DEVICE_SERIAL_NUMBER_ADDR_FX)
|