-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename memory blocks to memory regions
- Loading branch information
1 parent
1c14b46
commit 0391713
Showing
22 changed files
with
114 additions
and
114 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...tsheets/linker_memory_blocks/STM32F0.json → ...sheets/linker_memory_regions/STM32F0.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"blocks": [ | ||
"regions": [ | ||
"FLASH_BANK_1", | ||
"SRAM_1" | ||
], | ||
|
2 changes: 1 addition & 1 deletion
2
...tsheets/linker_memory_blocks/STM32F1.json → ...sheets/linker_memory_regions/STM32F1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"blocks": [ | ||
"regions": [ | ||
"FLASH_BANK_1", | ||
"FLASH_BANK_2", | ||
"SRAM_1", | ||
|
2 changes: 1 addition & 1 deletion
2
...tsheets/linker_memory_blocks/STM32F2.json → ...sheets/linker_memory_regions/STM32F2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"blocks": [ | ||
"regions": [ | ||
"FLASH_BANK_1", | ||
"SRAM_1", | ||
"SRAM_2", | ||
|
2 changes: 1 addition & 1 deletion
2
...tsheets/linker_memory_blocks/STM32F3.json → ...sheets/linker_memory_regions/STM32F3.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"blocks": [ | ||
"regions": [ | ||
"FLASH_BANK_1", | ||
"SRAM_1", | ||
"CCM_SRAM", | ||
|
2 changes: 1 addition & 1 deletion
2
...tsheets/linker_memory_blocks/STM32F4.json → ...sheets/linker_memory_regions/STM32F4.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"blocks": [ | ||
"regions": [ | ||
"FLASH_BANK_1", | ||
"SRAM_1", | ||
"SRAM_2", | ||
|
2 changes: 1 addition & 1 deletion
2
...tsheets/linker_memory_blocks/STM32F7.json → ...sheets/linker_memory_regions/STM32F7.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"blocks": [ | ||
"regions": [ | ||
"FLASH_BANK_1", | ||
"FLASH_ITCM", | ||
"SRAM_1", | ||
|
12 changes: 6 additions & 6 deletions
12
_includes/table-memory-blocks.html → _includes/table-memory-regions.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ | |
} | ||
} | ||
|
||
.memory-blocks-table { | ||
.memory-regions-table { | ||
td { | ||
text-align: right; | ||
min-width: 12rem; | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: "STM32F0 Memory regions" | ||
layout: "cheatsheet-table" | ||
back_location: "/cheatsheets/linker-memory-regions/" | ||
--- | ||
|
||
# {{ page.title }} | ||
|
||
{% include table-memory-regions.html data=site.data.cheatsheets.linker_memory_regions.STM32F0 %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: "STM32F1 Memory regions" | ||
layout: "cheatsheet-table" | ||
back_location: "/cheatsheets/linker-memory-regions/" | ||
--- | ||
|
||
# {{ page.title }} | ||
|
||
{% include table-memory-regions.html data=site.data.cheatsheets.linker_memory_regions.STM32F1 %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: "STM32F2 Memory regions" | ||
layout: "cheatsheet-table" | ||
back_location: "/cheatsheets/linker-memory-regions/" | ||
--- | ||
|
||
# {{ page.title }} | ||
|
||
{% include table-memory-regions.html data=site.data.cheatsheets.linker_memory_regions.STM32F2 %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: "STM32F3 Memory regions" | ||
layout: "cheatsheet-table" | ||
back_location: "/cheatsheets/linker-memory-regions/" | ||
--- | ||
|
||
# {{ page.title }} | ||
|
||
{% include table-memory-regions.html data=site.data.cheatsheets.linker_memory_regions.STM32F3 %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: "STM32F4 Memory regions" | ||
layout: "cheatsheet-table" | ||
back_location: "/cheatsheets/linker-memory-regions/" | ||
--- | ||
|
||
# {{ page.title }} | ||
|
||
{% include table-memory-regions.html data=site.data.cheatsheets.linker_memory_regions.STM32F4 %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: "STM32F7 Memory regions" | ||
layout: "cheatsheet-table" | ||
back_location: "/cheatsheets/linker-memory-regions/" | ||
--- | ||
|
||
# {{ page.title }} | ||
|
||
{% include table-memory-regions.html data=site.data.cheatsheets.linker_memory_regions.STM32F7 %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
title: "Linker: Memory regions" | ||
--- | ||
|
||
# {{ page.title }} | ||
|
||
This cheatsheet page contains an overview of available memory regions for use in the project level linker scripts. regions having a size are already defined in the linker scripts provided by STM32-base. | ||
|
||
## STM32F0 | ||
|
||
The `FLASH_BANK_1` and `SRAM_1` memory regions are available to all devices in the STM32F0 series. These devices to not support any other type of memory. | ||
|
||
[Show table for STM32F0]({{ site.url }}/cheatsheets/linker-memory-regions/STM32F0) | ||
|
||
## STM32F1 | ||
|
||
The `FLASH_BANK_1` and `SRAM_1` memory regions are available to all devices in the STM32F1 series. The `FLASH_BANK_2` memory region is available for devices with more than 512KiB of flash memory. Some devices support external memory. | ||
|
||
[Show table for STM32F1]({{ site.url }}/cheatsheets/linker-memory-regions/STM32F1) | ||
|
||
## STM32F2 | ||
|
||
The `FLASH_BANK_1`, `SRAM_1`, `SRAM_2`, and `BKP_SRAM` memory regions are available to all devices in the STM32F2 series. All devices support external memory. | ||
|
||
[Show table for STM32F2]({{ site.url }}/cheatsheets/linker-memory-regions/STM32F2) | ||
|
||
## STM32F3 | ||
|
||
The `FLASH_BANK_1` and `SRAM_1` memory regions are available to all devices in the STM32F3 series. The `CCM_SRAM` memory region is available on some devices. Some devices support external memory. | ||
|
||
[Show table for STM32F3]({{ site.url }}/cheatsheets/linker-memory-regions/STM32F3) | ||
|
||
## STM32F4 | ||
|
||
The `FLASH_BANK_1` and `SRAM_1` memory regions are available to all devices in the STM32F4 series. The `SRAM_2`, `SRAM_3`, `CCM_SRAM`, and `BKP_SRAM` memory regions are available for some devices in varying configurations. Some devices support external memory. | ||
|
||
The CCM SRAM available on STM32F4x3xx devices is available through the addresses defined for `SRAM_2` and `CCM_SRAM`. Use only one of those to load data into this part of SRAM. | ||
|
||
[Show table for STM32F4]({{ site.url }}/cheatsheets/linker-memory-regions/STM32F4) | ||
|
||
## STM32F7 | ||
|
||
The `FLASH_BANK_1`, `FLASH_ITCM`, `SRAM_1`, `SRAM_2`, `DTCM_RAM`, `ITCM_RAM`, and `BKP_SRAM` memory regions are available to all devices in the STM32F7 series. All devices support external memory. | ||
|
||
Note that the flash memory cannot be written to via the `ICTM_FLASH` memory region. | ||
|
||
[Show table for STM32F7]({{ site.url }}/cheatsheets/linker-memory-regions/STM32F7) |