mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
Fix some errors in stm32_allocateheap.c for STM32 F1 and F3 that crept in recently
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5776 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
* following definitions must be provided to specify the size and
|
||||
* location of internal(system) SRAM:
|
||||
*
|
||||
* SRAM1_END : End address (+1) of SRAM (F1 family only, the
|
||||
* CONFIG_DRAM_END : End address (+1) of SRAM (F1 family only, the
|
||||
* : F4 family uses the a priori end of SRAM)
|
||||
*
|
||||
* The F4 family also contains internal CCM SRAM. This SRAM is different
|
||||
@@ -90,7 +90,7 @@
|
||||
#endif
|
||||
|
||||
/* For the STM312F10xxx family, all internal SRAM is in one contiguous block
|
||||
* starting at g_idle_topstack and extending through SRAM1_END (my apologies for
|
||||
* starting at g_idle_topstack and extending through CONFIG_DRAM_END (my apologies for
|
||||
* the bad naming). In addition, external FSMC SRAM may be available.
|
||||
*/
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
|
||||
/* Set the end of system SRAM */
|
||||
|
||||
# define SRAM1_END SRAM1_END
|
||||
# define SRAM1_END CONFIG_DRAM_END
|
||||
|
||||
/* Check if external FSMC SRAM is provided */
|
||||
|
||||
@@ -132,7 +132,7 @@
|
||||
|
||||
/* Set the end of system SRAM */
|
||||
|
||||
# define SRAM1_END SRAM1_END
|
||||
# define SRAM1_END CONFIG_DRAM_END
|
||||
|
||||
/* Set the range of CCM SRAM as well (although we may not use it) */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user