anchao commented on code in PR #12667:
URL: https://github.com/apache/nuttx/pull/12667#discussion_r1673831402


##########
Kconfig:
##########
@@ -447,6 +447,21 @@ config DFU_PID
        hex "PID to use for DFU image"
 
 endif # DFU_BINARY
+
+config OUTPUT_STRIP_PATHS
+       bool "Strip absolute paths from binaries"
+       default y
+       depends on ARCH_TOOLCHAIN_GNU
+       ---help---
+         Cmake build provide absolute paths to compile files. If __FILE__
+         macros are used in the source code(ASSERT), the binary will be 
occupied
+         by many invalid paths.
+         This saves some memory, stops leaking user locations in binaries, 
makes

Review Comment:
   Done



-- 
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