Skip to content

Commit

Permalink
fix: incorrect xcp IDS
Browse files Browse the repository at this point in the history
  • Loading branch information
simoneruffini committed Aug 6, 2024
1 parent 273131a commit db78e38
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Core/Inc/conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/* ---------- Exported constants --------------------------------------------*/
#define VERSION_MAJOR 3
#define VERSION_MINOR 0
#define VERSION_PATCH 2
#define VERSION_PATCH 3

#define DEBUG_SERIAL
#define DEBUG_AIN
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
######################################
#CANID_XCP_HOST_TO_TARGET__HEX=008
#CANID_XCP_TARGET_TO_HOST__HEX=182
CANID_XCP_HOST_TO_TARGET__HEX=286
CANID_XCP_TARGET_TO_HOST__HEX=464
CANID_XCP_HOST_TO_TARGET__HEX=2D6
CANID_XCP_TARGET_TO_HOST__HEX=461

######################################
# target
Expand Down
4 changes: 2 additions & 2 deletions openblt_f446re/Core/Inc/BLT/blt_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@
/** \brief Configure the desired CAN baudrate. */
#define BOOT_COM_CAN_BAUDRATE (1000000)
/** \brief Configure CAN message ID target->host. */
#define BOOT_COM_CAN_TX_MSG_ID (0x464 /*| 0x80000000*/)
#define BOOT_COM_CAN_TX_MSG_ID (0x461 /*| 0x80000000*/)
/** \brief Configure number of bytes in the target->host CAN message. */
#define BOOT_COM_CAN_TX_MAX_DATA (8)
/** \brief Configure CAN message ID host->target. */
#define BOOT_COM_CAN_RX_MSG_ID (0x286 /*| 0x80000000*/)
#define BOOT_COM_CAN_RX_MSG_ID (0x2D6 /*| 0x80000000*/)
/** \brief Configure number of bytes in the host->target CAN message. */
#define BOOT_COM_CAN_RX_MAX_DATA (8)
/** \brief Select the desired CAN peripheral as a zero based index. */
Expand Down

0 comments on commit db78e38

Please sign in to comment.