You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have checked dot-product example, but likely applies to other examples.
In the linker options, the entry-point is not set, and so the default C-library entry (__main) is used in the ELF.
Loading into some debuggers (such as uVision) hide this issue, as the starting address is read from the Vector Table.
Other debuggers start from the entry point, meaning that init code is not executed, and the examples do not work correctly (usually manifesting a Hard Fault when the code reaches __fp_init).
Solution is to simply add the following to the linker options:
--entry=Reset_Handler
The text was updated successfully, but these errors were encountered:
Have checked
dot-product
example, but likely applies to other examples.In the linker options, the entry-point is not set, and so the default C-library entry (
__main
) is used in the ELF.Loading into some debuggers (such as uVision) hide this issue, as the starting address is read from the Vector Table.
Other debuggers start from the entry point, meaning that init code is not executed, and the examples do not work correctly (usually manifesting a Hard Fault when the code reaches
__fp_init
).Solution is to simply add the following to the linker options:
The text was updated successfully, but these errors were encountered: