Skip to content

Commit 409325a

Browse files
franciscomunozandrewboie
authored andcommitted
ext: hal: microchip: Fix compilation issue in HAL
Fix compilation error when using MCHP_ECS_DCTRL_MODE_SWD Signed-off-by: Francisco Munoz <francisco.munoz.ruiz@intel.com>
1 parent 2c92ea7 commit 409325a

File tree

1 file changed

+2
-0
lines changed
  • mec/mec1501/component

1 file changed

+2
-0
lines changed

mec/mec1501/component/ecs.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@
7171
#define MCHP_ECS_DCTRL_MODE_MASK00x03ul
7272
#define MCHP_ECS_DCTRL_MODE_MASK \
7373
((MCHP_ECS_DCTRL_DBG_MODE_MASK0) << (MCHP_ECS_DCTRL_DBG_MODE_POS))
74+
75+
#define MCHP_ECS_DCTRL_DBG_MODE_POS1u
7476
#define MCHP_ECS_DCTRL_MODE_JTAG(0x00 << (MCHP_ECS_DCTRL_DBG_MODE_POS))
7577
#define MCHP_ECS_DCTRL_MODE_SWD(0x02 << (MCHP_ECS_DCTRL_DBG_MODE_POS))
7678
#define MCHP_ECS_DCTRL_MODE_SWD_SWV(0x01 << (MCHP_ECS_DCTRL_DBG_MODE_POS))

0 commit comments

Comments
 (0)