Skip to content

Commit

Permalink
Merge pull request #149 from sidprice/gdbinits
Browse files Browse the repository at this point in the history
gdbinits: Fix some incorrect names
  • Loading branch information
mubes authored Aug 7, 2024
2 parents ecd40c2 + 5ac6ef2 commit dbdc5c5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Support/gdbinits/gdbinit-bmp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ set print pretty
load
start

# Configure STM32 SWD pin
enableSTM32SWD
# Configure STM32 SWO pin
enableSTM32SWO

# ==== This Section for Bluepill =======
# 2.25Mbps, don't use TPIU, don't use Manchester encoding
Expand All @@ -22,19 +22,19 @@ enableSTM32SWD
# (e.g. by using SystemCoreClock or similar) unless you've got the
# clock running at full speed at the time when this routine is called.
monitor traceswo 2250000
prepareSWD 72000000 2250000 0 0
prepareSWO 72000000 2250000 0 0
# ======================================

# ==== This Section for genuine BMP =======
# 200Kbps, don't use TPIU and Manchester encoding
# Typically used for 'real' BMP
# monitor traceswo
# prepareSWD 72000000 200000 0 1
# prepareSWO 72000000 200000 0 1
# =========================================

dwtSamplePC 1
dwtSyncTAP 3
dwtPostTAP 1
dwtSyncTap 3
dwtPostTap 1
dwtPostInit 1
dwtPostReset 15
dwtCycEna 1
Expand Down

0 comments on commit dbdc5c5

Please sign in to comment.