zyfeier commented on code in PR #19041:
URL: https://github.com/apache/nuttx/pull/19041#discussion_r3366671878


##########
arch/tricore/include/irq.h:
##########
@@ -223,65 +117,60 @@ int up_cpu_index(void) noinstrument_function;
 void up_irq_enable(void);
 
 /****************************************************************************
- * Inline functions
+ * Inline Functions
  ****************************************************************************/
 
 noinstrument_function static inline_function uintptr_t up_getsp(void)
 {
-#ifdef CONFIG_TRICORE_TOOLCHAIN_TASKING
-  return (uintptr_t)__get_sp();
-#else
-  return (uintptr_t)__builtin_frame_address(0);
-#endif
+  return __builtin_frame_address(0);

Review Comment:
   __builtin_frame_address not support in tasking



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to