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
......@@ -48,7 +48,7 @@ upy = static_library(
include_directories: micropython_includes,
)
executable(
elf = executable(
name + '.elf',
'main.c',
'mphalport.c',
......@@ -62,3 +62,11 @@ executable(
'-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@'],
)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment