Skip to content

Commit 5c22319

Browse files
committed
Merge pull request #516 from ohagendorf/develop_coide
[EXPORT] CoIDE - linker script - none fix, memory areas for nucleo 4x1 and disco 407
2 parents 25ff4eb + f11facd commit 5c22319

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

workspace_tools/export/coide.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ def generate(self):
6262
l, _ = splitext(basename(lib))
6363
libraries.append(l[3:])
6464

65+
if self.resources.linker_script is None:
66+
self.resources.linker_script = ''
67+
6568
ctx = {
6669
'name': self.program_name,
6770
'source_files': source_files,

workspace_tools/export/coide_disco_f407vg.coproj.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
</LinkedLibraries>
4040
<MemoryAreas debugInFlashNotRAM="1">
4141
<Memory name="IROM1" type="ReadOnly" size="0x00100000" startValue="0x08000000"/>
42-
<Memory name="IRAM1" type="ReadWrite" size="0x00020000" startValue="0x20000000"/>
42+
<Memory name="IRAM1" type="ReadWrite" size="0x0001FE78" startValue="0x20000188"/>
4343
<Memory name="IROM2" type="ReadOnly" size="" startValue=""/>
4444
<Memory name="IRAM2" type="ReadWrite" size="0x00010000" startValue="0x10000000"/>
4545
</MemoryAreas>

workspace_tools/export/coide_nucleo_f401re.coproj.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
</LinkedLibraries>
4040
<MemoryAreas debugInFlashNotRAM="1">
4141
<Memory name="IROM1" type="ReadOnly" size="0x00080000" startValue="0x08000000"/>
42-
<Memory name="IRAM1" type="ReadWrite" size="0x00018000" startValue="0x20000000"/>
42+
<Memory name="IRAM1" type="ReadWrite" size="0x00017E6C" startValue="0x20000194"/>
4343
<Memory name="IROM2" type="ReadOnly" size="" startValue=""/>
4444
<Memory name="IRAM2" type="ReadWrite" size="" startValue=""/>
4545
</MemoryAreas>

workspace_tools/export/coide_nucleo_f411re.coproj.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
</LinkedLibraries>
4040
<MemoryAreas debugInFlashNotRAM="1">
4141
<Memory name="IROM1" type="ReadOnly" size="0x00080000" startValue="0x08000000"/>
42-
<Memory name="IRAM1" type="ReadWrite" size="0x00020000" startValue="0x20000000"/>
42+
<Memory name="IRAM1" type="ReadWrite" size="0x0001FE68" startValue="0x20000198"/>
4343
<Memory name="IROM2" type="ReadOnly" size="" startValue=""/>
4444
<Memory name="IRAM2" type="ReadWrite" size="" startValue=""/>
4545
</MemoryAreas>

0 commit comments

Comments
 (0)