mirror of
https://github.com/blackmagic-debug/blackmagic.git
synced 2025-10-14 02:58:36 +08:00
cross-file: Added the next profiles for the native firmware builds
This commit is contained in:
4
.github/workflows/build-pr.yml
vendored
4
.github/workflows/build-pr.yml
vendored
@@ -42,6 +42,10 @@ jobs:
|
|||||||
- 'hydrabus'
|
- 'hydrabus'
|
||||||
- 'launchpad-icdi'
|
- 'launchpad-icdi'
|
||||||
- 'native'
|
- 'native'
|
||||||
|
- 'native-uncommon'
|
||||||
|
- 'native-st-clones'
|
||||||
|
- 'native-riscv'
|
||||||
|
- 'native-remote'
|
||||||
- 'stlink'
|
- 'stlink'
|
||||||
- 'stlinkv3'
|
- 'stlinkv3'
|
||||||
- 'swlink'
|
- 'swlink'
|
||||||
|
26
cross-file/native-remote.ini
Normal file
26
cross-file/native-remote.ini
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# This a cross-file for the native probe. It defines a default configuration profile that
|
||||||
|
# provides only architecture support intended for probes that will be used soley via the
|
||||||
|
# Black Magic Debug remote protocol with BMDA.
|
||||||
|
|
||||||
|
[binaries]
|
||||||
|
c = 'arm-none-eabi-gcc'
|
||||||
|
cpp = 'arm-none-eabi-g++'
|
||||||
|
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 = 'native'
|
||||||
|
targets = 'cortexar,cortexm,riscv32,riscv64'
|
||||||
|
rtt_support = false
|
||||||
|
bmd_bootloader = true
|
25
cross-file/native-riscv.ini
Normal file
25
cross-file/native-riscv.ini
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
# This a cross-file for the native probe. It defines a default configuration profile that
|
||||||
|
# provides only support for both RISC-V architectures and support for RISC-V targets.
|
||||||
|
|
||||||
|
[binaries]
|
||||||
|
c = 'arm-none-eabi-gcc'
|
||||||
|
cpp = 'arm-none-eabi-g++'
|
||||||
|
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 = 'native'
|
||||||
|
targets = 'riscv32,riscv64,gd32,rp'
|
||||||
|
rtt_support = false
|
||||||
|
bmd_bootloader = true
|
26
cross-file/native-st-clones.ini
Normal file
26
cross-file/native-st-clones.ini
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# This a cross-file for the native probe. It defines a default configuration profile that
|
||||||
|
# provides support for all ARM Cortex architectures and target support for ST's parts,
|
||||||
|
# and their clones by Artery Tek, GigaDevice, WinChipHead, MindMotion, Puya and HDSC.
|
||||||
|
|
||||||
|
[binaries]
|
||||||
|
c = 'arm-none-eabi-gcc'
|
||||||
|
cpp = 'arm-none-eabi-g++'
|
||||||
|
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 = 'native'
|
||||||
|
targets = 'cortexar,cortexm,stm,at32f4,gd32,ch32,ch579,mm32,puya,hc32'
|
||||||
|
rtt_support = false
|
||||||
|
bmd_bootloader = true
|
26
cross-file/native-uncommon.ini
Normal file
26
cross-file/native-uncommon.ini
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# This a cross-file for the native probe. It defines a default configuration profile that
|
||||||
|
# provides support for all ARM Cortex architectures and target support for less commonly
|
||||||
|
# used targets such as the Energy Micro parts, Renesas parts, Xilinx Zynq and Ambiq Apollo3.
|
||||||
|
|
||||||
|
[binaries]
|
||||||
|
c = 'arm-none-eabi-gcc'
|
||||||
|
cpp = 'arm-none-eabi-g++'
|
||||||
|
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 = 'native'
|
||||||
|
targets = 'cortexar,cortexm,apollo3,efm,hc32,renesas,xilinx'
|
||||||
|
rtt_support = false
|
||||||
|
bmd_bootloader = true
|
@@ -1,4 +1,7 @@
|
|||||||
# This a cross-file for the native probe, providing sane default options for it.
|
# This a cross-file for the native probe. It defines a default configuration profile that
|
||||||
|
# provides support for only the ARM Cortex-M architecture and target support for the NXP LPC
|
||||||
|
# families, nRF series', NXP's Kinetis and i.MXRT parts, RPi Foundation's MCUs (ARM part only),
|
||||||
|
# Atmel's ATSAM parts, ST's parts, and TI's Stellaris/Tiva-C parts,
|
||||||
|
|
||||||
[binaries]
|
[binaries]
|
||||||
c = 'arm-none-eabi-gcc'
|
c = 'arm-none-eabi-gcc'
|
||||||
|
Reference in New Issue
Block a user