Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit 9792f0d

Browse files
author
mean
committed
rvswd: enable support on native, swlink, and blackpills
1 parent b8d9840 commit 9792f0d

7 files changed

Lines changed: 9 additions & 3 deletions

File tree

cross-file/blackpill-f401cc.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ probe = 'blackpill-f401cc'
2222
targets = 'cortexar,cortexm,riscv32,riscv64,apollo3,at32f4,ch32,ch579,efm,gd32,hc32,lpc,mm32,nrf,nxp,puya,renesas,rp,sam,stm,ti,xilinx'
2323
rtt_support = true
2424
bmd_bootloader = true
25+
rvswd_support = true

cross-file/blackpill-f401ce.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ endian = 'little'
1919

2020
[project options]
2121
probe = 'blackpill-f401ce'
22-
targets = 'cortexar,cortexm,riscv32,riscv64,apollo3,at32f4,ch32,ch579,efm,gd32,hc32,lpc,mm32,nrf,nxp,puya,renesas,rp,sam,stm,ti,xilinx'
22+
targets = 'cortexar,cortexm,riscv32,riscv64,apollo3,at32f4,ch32,ch32v,ch579,efm,gd32,hc32,lpc,mm32,nrf,nxp,puya,renesas,rp,sam,stm,ti,xilinx'
2323
rtt_support = true
2424
bmd_bootloader = true
25+
rvswd_support = true

cross-file/blackpill-f411ce.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ endian = 'little'
1919

2020
[project options]
2121
probe = 'blackpill-f411ce'
22-
targets = 'cortexar,cortexm,riscv32,riscv64,apollo3,at32f4,ch32,ch579,efm,gd32,hc32,lpc,mm32,nrf,nxp,puya,renesas,rp,sam,stm,ti,xilinx'
22+
targets = 'cortexar,cortexm,riscv32,riscv64,apollo3,at32f4,ch32,ch32v,ch579,efm,gd32,hc32,lpc,mm32,nrf,nxp,puya,renesas,rp,sam,stm,ti,xilinx'
2323
rtt_support = true
2424
bmd_bootloader = true
25+
rvswd_support = true

cross-file/native-riscv.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ probe = 'native'
2323
targets = 'riscv32,riscv64,gd32,rp'
2424
rtt_support = false
2525
bmd_bootloader = true
26+
rvswd_support = true

src/platforms/common/blackpill-f4/blackpill-f4.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#include "timing_stm32.h"
3434

3535
#define PLATFORM_HAS_TRACESWO
36-
36+
#define PLATFORM_HAS_RVSWD
3737
#if ENABLE_DEBUG == 1
3838
#define PLATFORM_HAS_DEBUG
3939
extern bool debug_bmp;

src/platforms/native/platform.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
#define PLATFORM_HAS_TRACESWO
3131
#define PLATFORM_HAS_POWER_SWITCH
32+
#define PLATFORM_HAS_RVSWD
3233

3334
#if ENABLE_DEBUG == 1
3435
#define PLATFORM_HAS_DEBUG

src/platforms/swlink/platform.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#include "timing_stm32.h"
3030

3131
#define PLATFORM_HAS_TRACESWO
32+
#define PLATFORM_HAS_RVSWD
3233

3334
#if ENABLE_DEBUG == 1
3435
#define PLATFORM_HAS_DEBUG

0 commit comments

Comments
 (0)