diff --git a/cross_arm.txt b/cross_arm.txt index ffbe346f..fd8a0153 100644 --- a/cross_arm.txt +++ b/cross_arm.txt @@ -28,7 +28,6 @@ c_link_args = [ '-Wl,--gc-sections', '-Wl,-Map,main.map', '-nostdlib', - '-Wl,-T../platform/mcu/STM32F4xx/linker_script.ld', '-Wl,--start-group', '-lc', '-lgcc', diff --git a/meson.build b/meson.build index c1137dd9..25498bce 100644 --- a/meson.build +++ b/meson.build @@ -188,11 +188,13 @@ linux_opts = {'sources': linux_src, md380_opts = {'sources': md380_src, 'c_args': md380_args, + 'link_args' : '-Wl,-T../platform/mcu/STM32F4xx/linker_script.ld', 'include_directories': md380_inc} mduv380_opts = {'sources': mduv380_src, 'c_args': mduv380_args, + 'link_args' : '-Wl,-T../platform/mcu/STM32F4xx/linker_script.ld', 'include_directories': mduv380_inc} ##