Skip to content

Commit

Permalink
remove unneeded gpiuoB30 init in trace
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Demin committed Aug 11, 2024
1 parent 8680b16 commit ff7339c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Support/gdbtrace.init
Original file line number Diff line number Diff line change
Expand Up @@ -1520,10 +1520,6 @@ define enableSAMD5XTRACE
# GCLK->PHCTRL[47] |= GCLK_PCHCTRL_CHEN
set *(unsigned char *)0x40001D3C |= 0x40

# Configure PINMUX for GPIOB.30. '7' is SWO.
set *(unsigned char *)0x410080BF |= 0x07
set *(unsigned char *)0x410080DE = 0x01

# Setup PC28 - pmux 7
set *(unsigned char *)(0x41008000+0x80*2+0x30+28/2) &= ~0x0f
set *(unsigned char *)(0x41008000+0x80*2+0x30+28/2) |= 0x07
Expand Down

0 comments on commit ff7339c

Please sign in to comment.