anchao commented on code in PR #7121:
URL: https://github.com/apache/incubator-nuttx/pull/7121#discussion_r973591231


##########
arch/arm/src/Makefile:
##########
@@ -102,8 +102,9 @@ ifeq ($(CONFIG_ARM_TOOLCHAIN_ARMCLANG),)
   SCRIPT_OPT  = -T
 else
   LIBPATH_OPT = --userlibpath
-  EXTRA_LIBS += arm_vectors.o
   SCRIPT_OPT  = --scatter=
+  EXTRA_LIBS += arm_vectors.o arm_link_steering.o

Review Comment:
   arm_vectors.o must be declared on the command line on cortex-m(use vector 
array), otherwise the following error will occur:
   `Error: L6236E: No section matches selector - no section to be FIRST/LAST.`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to