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>
This commit is contained in:
parent
1f8f390cde
commit
8104c20891
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,8 @@
|
|||
#define MCHP_ECS_DCTRL_MODE_MASK0 0x03ul
|
||||
#define MCHP_ECS_DCTRL_MODE_MASK \
|
||||
((MCHP_ECS_DCTRL_DBG_MODE_MASK0) << (MCHP_ECS_DCTRL_DBG_MODE_POS))
|
||||
|
||||
#define MCHP_ECS_DCTRL_DBG_MODE_POS 1u
|
||||
#define MCHP_ECS_DCTRL_MODE_JTAG (0x00 << (MCHP_ECS_DCTRL_DBG_MODE_POS))
|
||||
#define MCHP_ECS_DCTRL_MODE_SWD (0x02 << (MCHP_ECS_DCTRL_DBG_MODE_POS))
|
||||
#define MCHP_ECS_DCTRL_MODE_SWD_SWV (0x01 << (MCHP_ECS_DCTRL_DBG_MODE_POS))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue