mirror of
https://github.com/blackmagic-debug/blackmagic.git
synced 2025-10-14 02:58:36 +08:00
build: Add ctxLink to Meson build system
This commit is contained in:
23
cross-file/ctxlink.ini
Normal file
23
cross-file/ctxlink.ini
Normal file
@@ -0,0 +1,23 @@
|
||||
# This a cross-file for the ctxLink probe, providing sane default options for it.
|
||||
|
||||
[binaries]
|
||||
c = 'arm-none-eabi-gcc'
|
||||
ld = 'arm-none-eabi-gcc'
|
||||
ar = 'arm-none-eabi-ar'
|
||||
nm = 'arm-none-eabi-nm'
|
||||
strip = 'arm-none-eabi-strip'
|
||||
objcopy = 'arm-none-eabi-objcopy'
|
||||
objdump = 'arm-none-eabi-objdump'
|
||||
size = 'arm-none-eabi-size'
|
||||
|
||||
[host_machine]
|
||||
system = 'bare-metal'
|
||||
cpu_family = 'arm'
|
||||
cpu = 'arm'
|
||||
endian = 'little'
|
||||
|
||||
[project options]
|
||||
probe = 'ctxlink'
|
||||
targets = 'cortexar,cortexm,riscv32,riscv64,efm,hc32,lpc,nrf,nxp,renesas,rp,sam,stm,ti,xilinx'
|
||||
rtt_support = true
|
||||
bmd_bootloader = false
|
@@ -8,6 +8,7 @@ option(
|
||||
'blackpill-f401ce',
|
||||
'blackpill-f411ce',
|
||||
'bluepill',
|
||||
'ctxlink',
|
||||
'f072',
|
||||
'f3',
|
||||
'f4discovery',
|
||||
@@ -58,22 +59,41 @@ option(
|
||||
value: false,
|
||||
description: 'Enable debug output (for debugging the BMD stack, not debug targets)'
|
||||
)
|
||||
option('rtt_support', type: 'boolean', value: true, description: 'Enable RTT (Real Time Transfer) support')
|
||||
option('rtt_ident', type: 'string', description: 'RTT (Real Time Transfer) identifier string')
|
||||
option(
|
||||
'rtt_support',
|
||||
type: 'boolean',
|
||||
value: true,
|
||||
description: 'Enable RTT (Real Time Transfer) support'
|
||||
)
|
||||
option(
|
||||
'rtt_ident',
|
||||
type: 'string',
|
||||
description: 'RTT (Real Time Transfer) identifier string'
|
||||
)
|
||||
option(
|
||||
'no_own_ll',
|
||||
type: 'boolean',
|
||||
value: false,
|
||||
description: 'Use generic interface routines (for when low level routines are not available)'
|
||||
)
|
||||
option('bmd_bootloader', type: 'boolean', value: true, description: 'Use the BMD bootloader (not always applicable)')
|
||||
option(
|
||||
'bmd_bootloader',
|
||||
type: 'boolean',
|
||||
value: true,
|
||||
description: 'Use the BMD bootloader (not always applicable)'
|
||||
)
|
||||
option(
|
||||
'stlink_swim_nrst_as_uart',
|
||||
type: 'boolean',
|
||||
value: false,
|
||||
description: 'Repurpose the SWIM and NRST pins as the UART RX and TX (only applicable to stlink)'
|
||||
description: 'Repurpose the SWIM pins as the UART (only applicable to stlink)'
|
||||
)
|
||||
option(
|
||||
'serialno',
|
||||
type: 'string',
|
||||
value: '1',
|
||||
description: 'Serial number to report (only applicable to some probes)'
|
||||
)
|
||||
option('serialno', type: 'string', value: '1', description: 'Serial number to report (only applicable to some probes)')
|
||||
option(
|
||||
'advertise_noackmode',
|
||||
type: 'boolean',
|
||||
|
Reference in New Issue
Block a user