davids5 commented on a change in pull request #459: stm32h7: support SDRAM via 
FMC peripherial
URL: https://github.com/apache/incubator-nuttx/pull/459#discussion_r389018630
 
 

 ##########
 File path: arch/arm/src/stm32h7/stm32_allocateheap.c
 ##########
 @@ -246,6 +249,14 @@ void up_allocate_heap(FAR void **heap_start, size_t 
*heap_size)
 
   up_heap_color(*heap_start, *heap_size);
 #endif
+
+#if defined(CONFIG_DEBUG_FEATURES)
+
+  /* Display memory ranges to help debugging */
+
+  _info("%uKb of SRAM at %p\n", *heap_size / 1024, *heap_start);
 
 Review comment:
   In practice the underscore version is not use directly. see debug.h minfo() 
would be used here.
   ```suggestion
     minfo("%uKb of SRAM at %p\n", *heap_size / 1024, *heap_start);
   ```

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


With regards,
Apache Git Services

Reply via email to