This commit is contained in:
andreika-git 2024-03-19 20:53:12 +02:00 committed by rusefillc
parent 688bb5b142
commit b3084a4207
2 changed files with 3 additions and 0 deletions

View File

@ -23,3 +23,5 @@ DDEFS += $(PRIMARY_COMMUNICATION_PORT_USART2)
DDEFS += -DSTATIC_BOARD_ID=STATIC_BOARD_ID_ALPHAX_2CHAN
# let 2chan start asap
DDEFS += -DBOOT_BACKDOOR_ENTRY_TIMEOUT_MS=0

View File

@ -190,6 +190,7 @@
#define BOOT_XCP_UPLOAD_ENABLE (0)
#ifndef BOOT_BACKDOOR_ENTRY_TIMEOUT_MS
// 500 ms is not enough for USB init but we hope is enough for CAN
#define BOOT_BACKDOOR_ENTRY_TIMEOUT_MS (500)
#endif