diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-07 20:54:45 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-07 20:54:45 +0000 |
commit | bcb1a538de42c6ac901be52239a9e907734a9e0f (patch) | |
tree | 440b149e9a017d48b397c19243363c57cc7ada7b /nuttx/configs/stm32f4discovery | |
parent | 45ad2f7a8b237cf58518b874326078659ff90011 (diff) | |
download | px4-nuttx-bcb1a538de42c6ac901be52239a9e907734a9e0f.tar.gz px4-nuttx-bcb1a538de42c6ac901be52239a9e907734a9e0f.tar.bz2 px4-nuttx-bcb1a538de42c6ac901be52239a9e907734a9e0f.zip |
Fix much replicated typo. STM32 F4 SRAM is CCM, not TCM
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4571 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm32f4discovery')
-rwxr-xr-x | nuttx/configs/stm32f4discovery/README.txt | 20 | ||||
-rwxr-xr-x | nuttx/configs/stm32f4discovery/nsh/ld.script | 2 | ||||
-rwxr-xr-x | nuttx/configs/stm32f4discovery/ostest/ld.script | 2 |
3 files changed, 12 insertions, 12 deletions
diff --git a/nuttx/configs/stm32f4discovery/README.txt b/nuttx/configs/stm32f4discovery/README.txt index e685d2767..d9720fdf2 100755 --- a/nuttx/configs/stm32f4discovery/README.txt +++ b/nuttx/configs/stm32f4discovery/README.txt @@ -432,11 +432,11 @@ reference in case you choose to add some. Configuration Options --------------------- Internal SRAM is available in all members of the STM32 family. The F4 family -also contains internal TCM SRAM. This SRAM is different because it cannot +also contains internal CCM SRAM. This SRAM is different because it cannot be used for DMA. So if DMA needed, then the following should be defined -to exclude TCM SRAM from the heap: +to exclude CCM SRAM from the heap: - CONFIG_STM32_TCMEXCLUDE : Exclude TCM SRAM from the HEAP + CONFIG_STM32_CCMEXCLUDE : Exclude CCM SRAM from the HEAP In addition to internal SRAM, SRAM may also be available through the FSMC. In order to use FSMC SRAM, the following additional things need to be @@ -459,19 +459,19 @@ There are 4 possible SRAM configurations: Configuration 1. System SRAM (only) CONFIG_MM_REGIONS == 1 CONFIG_STM32_FSMC_SRAM NOT defined - CONFIG_STM32_TCMEXCLUDE defined - Configuration 2. System SRAM and TCM SRAM + CONFIG_STM32_CCMEXCLUDE defined + Configuration 2. System SRAM and CCM SRAM CONFIG_MM_REGIONS == 2 CONFIG_STM32_FSMC_SRAM NOT defined - CONFIG_STM32_TCMEXCLUDE NOT defined + CONFIG_STM32_CCMEXCLUDE NOT defined Configuration 3. System SRAM and FSMC SRAM CONFIG_MM_REGIONS == 2 CONFIG_STM32_FSMC_SRAM defined - CONFIG_STM32_TCMEXCLUDE defined - Configuration 4. System SRAM, TCM SRAM, and FSMC SRAM + CONFIG_STM32_CCMEXCLUDE defined + Configuration 4. System SRAM, CCM SRAM, and FSMC SRAM CONFIG_MM_REGIONS == 3 CONFIG_STM32_FSMC_SRAM defined - CONFIG_STM32_TCMEXCLUDE NOT defined + CONFIG_STM32_CCMEXCLUDE NOT defined Configuration Changes --------------------- @@ -557,7 +557,7 @@ STM32F4Discovery-specific Configuration Options CONFIG_DRAM_END=(CONFIG_DRAM_START+CONFIG_DRAM_SIZE) - CONFIG_STM32_TCMEXCLUDE - Exclude TCM SRAM from the HEAP + CONFIG_STM32_CCMEXCLUDE - Exclude CCM SRAM from the HEAP In addition to internal SRAM, SRAM may also be available through the FSMC. In order to use FSMC SRAM, the following additional things need to be diff --git a/nuttx/configs/stm32f4discovery/nsh/ld.script b/nuttx/configs/stm32f4discovery/nsh/ld.script index 264440d14..899cba9a8 100755 --- a/nuttx/configs/stm32f4discovery/nsh/ld.script +++ b/nuttx/configs/stm32f4discovery/nsh/ld.script @@ -38,7 +38,7 @@ * * 1) 112Kb of SRAM beginning at address 0x2000:0000 * 2) 16Kb of SRAM beginning at address 0x2001:c000 - * 3) 64Kb of TCM SRAM beginning at address 0x1000:0000 + * 3) 64Kb of CCM SRAM beginning at address 0x1000:0000 * * When booting from FLASH, FLASH memory is aliased to address 0x0000:0000 * where the code expects to begin execution by jumping to the entry point in diff --git a/nuttx/configs/stm32f4discovery/ostest/ld.script b/nuttx/configs/stm32f4discovery/ostest/ld.script index 274f020ae..c3a5ed818 100755 --- a/nuttx/configs/stm32f4discovery/ostest/ld.script +++ b/nuttx/configs/stm32f4discovery/ostest/ld.script @@ -38,7 +38,7 @@ * * 1) 112Kb of SRAM beginning at address 0x2000:0000 * 2) 16Kb of SRAM beginning at address 0x2001:c000 - * 3) 64Kb of TCM SRAM beginning at address 0x1000:0000 + * 3) 64Kb of CCM SRAM beginning at address 0x1000:0000 * * When booting from FLASH, FLASH memory is aliased to address 0x0000:0000 * where the code expects to begin execution by jumping to the entry point in |