Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cross-file/bluepill.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ endian = 'little'

[project options]
probe = 'bluepill'
targets = 'cortexm,lpc,nrf,nxp,renesas,rp,sam,stm,ti'
targets = 'cortexm,lpc,nrf,nxp,renesas_ra,rp,sam,stm,ti'
rtt_support = false
bmd_bootloader = true
2 changes: 1 addition & 1 deletion cross-file/f072.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ endian = 'little'

[project options]
probe = 'f072'
targets = 'cortexm,riscv32,riscv64,lpc,nrf,nxp,renesas,rp,sam,stm,ti'
targets = 'cortexm,riscv32,riscv64,lpc,nrf,nxp,renesas_ra,rp,sam,stm,ti'
rtt_support = false
bmd_bootloader = false
2 changes: 1 addition & 1 deletion cross-file/native.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ endian = 'little'

[project options]
probe = 'native'
targets = 'cortexm,lpc,nrf,nxp,renesas,rp,sam,stm,ti'
targets = 'cortexm,lpc,nrf,nxp,renesas_ra,rp,sam,stm,ti'
rtt_support = false
bmd_bootloader = true
2 changes: 1 addition & 1 deletion cross-file/swlink.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ endian = 'little'

[project options]
probe = 'swlink'
targets = 'cortexm,lpc,nrf,nxp,renesas,rp,sam,stm,ti'
targets = 'cortexm,lpc,nrf,nxp,renesas_ra,rp,sam,stm,ti'
rtt_support = false
bmd_bootloader = false
6 changes: 6 additions & 0 deletions meson_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,25 @@ option(
'ch579',
'efm',
'gd32',
'gd32_rv',
'hc32',
'lpc',
'mm32',
'nrf',
'nxp',
'puya',
'renesas_ra',
'renesas_rz',
'renesas',
'rp',
'sam',
'stm32f1',
'stm32f4',
'stm',
'ti',
'xilinx'
],
value: [],
description: 'Enabled debug targets'
)
option(
Expand Down
7 changes: 7 additions & 0 deletions src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ if advertise_noackmode
libbmd_core_args += ['-DADVERTISE_NOACKMODE=1']
endif

# Check if we should enable the RISC-V Debug remote protocol acceleration and do so if required
enable_riscv_accel = get_option('enable_riscv_accel')
if enable_riscv_accel
bmd_core_args += ['-DCONFIG_RISCV_ACCEL=1']
endif

# Get BMD targets dependency
subdir('target')

Expand Down Expand Up @@ -126,6 +132,7 @@ summary(
'RTT support': rtt_support,
'RVSWD support': rvswd_support,
'Advertise QStartNoAckMode': advertise_noackmode,
'RISC-V acceleration': enable_riscv_accel,
},
bool_yn: true,
section: 'Black Magic Debug',
Expand Down
Loading
Loading