Select Git revision
-
Damien George authored
Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
Damien George authoredBlanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
meson.build 669 B
project(
'card10-firmware',
'c',
default_options: [
'buildtype=minsize',
'c_lto=true',
'c_std=c99',
'b_staticpic=false',
'b_asneeded=false',
],
)
assert(
meson.is_cross_build(),
'card10-firmware can only be cross-compiled for card10.\n' +
'Please use `--cross-file card10-cross.ini`.',
)
add_global_arguments(
meson.get_cross_property('target_defs'),
language: 'c',
)
add_global_link_arguments(
'-Wl,--gc-sections',
'-lm',
language: 'c',
)
# python3 = import('python').find_installation('python3')
python3 = 'python3'
subdir('lib/')
subdir('bootloader/')
subdir('epicardium/')
subdir('pycardium/')
subdir('hw-tests/')