(1) Embedded Studio 4.12 on Windows10, Cortex-M7 target.
(2) source-code under test has calls to Cortex-M7 functions __dsb(), __isb(), __nop().
SEGGER IDE Embedded Studio 4.12 resolves these references, and creates runnable elf-file.
(3) When using tool emBuild with same emProject file (used above with Embedded Studio),
these functions (__dsb(), __isb(), __nop()) are not resolved. But they are resolved when using SEGGER IDE Embedded Studio.
(4) Warning(Error?)-Message for all three functions looks like this:
warning: implicit declaration of function '__dsb'; did you mean '__divsc3'? [-Wimplicit-function-declaration]
(5) No elf-file, no map-file, no linker address map file is created.
(6) Command-Line used:
"c:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.12"\bin\emBuild -config "Release" -echo Executable_BOOT.emProject
(7) Have added the following lines to the Used project-file Executable_BOOT.emProject :
<file file_name="C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.12/lib/libdebugio_mempoll_v7em_fpv5_sp_d16_hard_t_le_eabi.a" />
<!--
<file file_name="C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.12/lib/libm_v7em_fpv5_sp_d16_hard_t_le_eabi.a" />
-->
<file file_name="C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.12/lib/libc_v7em_fpv5_sp_d16_hard_t_le_eabi.a" />
<file file_name="C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.12/lib/libcpp_v7em_fpv5_sp_d16_hard_t_le_eabi.a" />
<file file_name="C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.12/lib/libdebugio_v7em_fpv5_sp_d16_hard_t_le_eabi.a" >
<!--
<file file_name="C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.12/lib/libvfprintf_v7em_fpv5_sp_d16_hard_t_le_eabi.o" />
<file file_name="C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.12/lib/libvfscanf_v7em_fpv5_sp_d16_hard_t_le_eabi.o" >
-->
(8) Do I miss a command-line option for emBuild ? Do I miss an archive/library in the project-file ? Sequence of archives/libraries in project-file ? Location of library-listings in project-file ? ...?
Please advise.
Thank you very much in advance!
(2) source-code under test has calls to Cortex-M7 functions __dsb(), __isb(), __nop().
SEGGER IDE Embedded Studio 4.12 resolves these references, and creates runnable elf-file.
(3) When using tool emBuild with same emProject file (used above with Embedded Studio),
these functions (__dsb(), __isb(), __nop()) are not resolved. But they are resolved when using SEGGER IDE Embedded Studio.
(4) Warning(Error?)-Message for all three functions looks like this:
warning: implicit declaration of function '__dsb'; did you mean '__divsc3'? [-Wimplicit-function-declaration]
(5) No elf-file, no map-file, no linker address map file is created.
(6) Command-Line used:
"c:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.12"\bin\emBuild -config "Release" -echo Executable_BOOT.emProject
(7) Have added the following lines to the Used project-file Executable_BOOT.emProject :
<file file_name="C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.12/lib/libdebugio_mempoll_v7em_fpv5_sp_d16_hard_t_le_eabi.a" />
<!--
<file file_name="C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.12/lib/libm_v7em_fpv5_sp_d16_hard_t_le_eabi.a" />
-->
<file file_name="C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.12/lib/libc_v7em_fpv5_sp_d16_hard_t_le_eabi.a" />
<file file_name="C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.12/lib/libcpp_v7em_fpv5_sp_d16_hard_t_le_eabi.a" />
<file file_name="C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.12/lib/libdebugio_v7em_fpv5_sp_d16_hard_t_le_eabi.a" >
<!--
<file file_name="C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.12/lib/libvfprintf_v7em_fpv5_sp_d16_hard_t_le_eabi.o" />
<file file_name="C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.12/lib/libvfscanf_v7em_fpv5_sp_d16_hard_t_le_eabi.o" >
-->
(8) Do I miss a command-line option for emBuild ? Do I miss an archive/library in the project-file ? Sequence of archives/libraries in project-file ? Location of library-listings in project-file ? ...?
Please advise.
Thank you very much in advance!