You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/06/04 14:02:07 UTC

[GitHub] [incubator-nuttx] davids5 commented on a change in pull request #1193: nuttx compiler.h: Add location directive

davids5 commented on a change in pull request #1193:
URL: https://github.com/apache/incubator-nuttx/pull/1193#discussion_r435281778



##########
File path: include/nuttx/compiler.h
##########
@@ -107,6 +107,10 @@
 
 #  define aligned_data(n) __attribute__ ((aligned(n)))
 
+/* Data location */
+
+#  define locate_data(n) __attribute__ ((section(n)))

Review comment:
       sure or we can add `locate_code` and keep the abstraction




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

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