Skip to content

Commit

Permalink
Add wbx5 to handlebar templates
Browse files Browse the repository at this point in the history
  • Loading branch information
rubdos committed Oct 2, 2019
1 parent 2d862f9 commit 7a4f083
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/templates/bmp/gdb.gdb.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ set mem inaccessible-by-default off
"stm32l4r9"
"stm32l4s5"
"stm32l4s7"
"stm32l4s9" }}
"stm32l4s9"
"stm32wbx5" }}
{{> bmp/stm32.gdb }}
set {int}$DBGMCU_CR = {int}$DBGMCU_CR | $DBGMCU_CR_DBG_STANDBY | $DBGMCU_CR_DBG_STOP | $DBGMCU_CR_DBG_SLEEP
{{/bmp-devices}}
3 changes: 2 additions & 1 deletion src/templates/bmp/itm.gdb.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ set mem inaccessible-by-default off
"stm32l4r9"
"stm32l4s5"
"stm32l4s7"
"stm32l4s9" }}
"stm32l4s9"
"stm32wbx5" }}
{{> bmp/cortex_m.gdb }}
{{> bmp/stm32.gdb }}
set {int}$DBGMCU_CR = ({int}$DBGMCU_CR & ~$DBGMCU_CR_TRACE_MODE_MASK) | $DBGMCU_CR_TRACE_IOEN | \
Expand Down
3 changes: 2 additions & 1 deletion src/templates/bmp/stm32.gdb.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ set $DEFAULT_HCLK = 8000000
"stm32l4r9"
"stm32l4s5"
"stm32l4s7"
"stm32l4s9" }}
"stm32l4s9"
"stm32wbx5" }}
set $DEFAULT_HCLK = 4000000
{{/bmp-devices}}

0 comments on commit 7a4f083

Please sign in to comment.