Skip to content
Snippets Groups Projects
Verified Commit 63cec98c authored by rahix's avatar rahix
Browse files

build(epicardium): Create own meson file for modules


Signed-off-by: default avatarRahix <rahix@rahix.de>
parent 3b5a0b4f
No related branches found
No related tags found
No related merge requests found
...@@ -61,13 +61,15 @@ freertos = static_library( ...@@ -61,13 +61,15 @@ freertos = static_library(
# #
########################################################################## ##########################################################################
subdir('modules/')
elf = executable( elf = executable(
name + '.elf', name + '.elf',
'cdcacm.c', 'cdcacm.c',
'main.c', 'main.c',
'serial.c', 'serial.c',
'support.c', 'support.c',
'modules/leds.c', module_sources,
dependencies: [libcard10, max32665_startup_core0, maxusb], dependencies: [libcard10, max32665_startup_core0, maxusb],
link_with: [api_dispatcher_lib, freertos], link_with: [api_dispatcher_lib, freertos],
link_whole: [max32665_startup_core0_lib, board_card10_lib], link_whole: [max32665_startup_core0_lib, board_card10_lib],
......
module_sources = files(
'leds.c',
)
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