Skip to content
Snippets Groups Projects
Commit 6a02b0e7 authored by schneider's avatar schneider
Browse files

fix(pycardium): Also build a card10.bin file. Even if at wrong offset

parent f9d79b1c
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ upy = static_library( ...@@ -48,7 +48,7 @@ upy = static_library(
include_directories: micropython_includes, include_directories: micropython_includes,
) )
executable( elf = executable(
name + '.elf', name + '.elf',
'main.c', 'main.c',
'mphalport.c', 'mphalport.c',
...@@ -62,3 +62,11 @@ executable( ...@@ -62,3 +62,11 @@ executable(
'-Wl,-Map=' + meson.current_build_dir() + '/' + name + '.map', '-Wl,-Map=' + meson.current_build_dir() + '/' + name + '.map',
], ],
) )
custom_target(
name + '.bin',
build_by_default: true,
output: name + '.bin',
input: elf,
command: [build_image, '@INPUT@', '@OUTPUT0@'],
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment