mirror of
https://github.com/blackmagic-debug/blackmagic.git
synced 2025-10-14 02:58:36 +08:00

initially some additional flags where added to stm32 platform flags, but later removed, because `-ffreestanding` has a particular meaning to do with not using any libc, and this changed recently to exclude things like all libm usage by making it really mean what it says it should. Avoid this as we use newlib's libc and libm extensively Co-authored-by: dragonmux <git@dragonmux.network>
22 lines
443 B
INI
22 lines
443 B
INI
[constants]
|
|
# Allow easy overridding of the default path and prefix
|
|
gcc_path = ''
|
|
gcc_prefix = 'arm-none-eabi-'
|
|
gcc_base = gcc_path / gcc_prefix
|
|
|
|
[binaries]
|
|
c = gcc_base + 'gcc'
|
|
ld = gcc_base + 'gcc'
|
|
ar = gcc_base + 'ar'
|
|
nm = gcc_base + 'nm'
|
|
strip = gcc_base + 'strip'
|
|
objcopy = gcc_base + 'objcopy'
|
|
objdump = gcc_base + 'objdump'
|
|
size = gcc_base + 'size'
|
|
|
|
[host_machine]
|
|
system = 'bare-metal'
|
|
cpu_family = 'arm'
|
|
cpu = 'arm'
|
|
endian = 'little'
|