acid/firmware2/cross-esp32s3.txt

38 lines
713 B
Plaintext
Raw Normal View History

2026-01-05 04:16:08 +01:00
[binaries]
c = 'xtensa-esp32s3-elf-gcc'
cpp = 'xtensa-esp32s3-elf-g++'
ar = 'xtensa-esp32s3-elf-ar'
strip = 'xtensa-esp32s3-elf-strip'
2026-01-11 22:37:17 +01:00
# It seems like this is not necessary:
#[build_machine]
#system = 'linux'
#cpu_family = 'x86_64'
#cpu = 'x86_64'
#endian = 'little'
2026-01-05 04:16:08 +01:00
[host_machine]
2026-01-11 22:37:17 +01:00
system = 'none'
2026-01-05 04:16:08 +01:00
cpu_family = 'xtensa'
cpu = 'esp32s3'
endian = 'little'
[built-in options]
c_args = [
'-ffreestanding',
'-fno-builtin',
'-mlongcalls',
# Manually define the missing inttypes.h macros
'-DPRId64="lld"',
'-DPRIu64="llu"',
'-DPRIi64="lli"',
'-DPRId32="d"',
'-DPRIu32="u"',
'-DPRIx64="llx"'
]
c_link_args = [
'-nostdlib',
'-static'
]
default_library = 'static'