mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-03-21 09:11:00 +03:00
3steppers next stage
This commit is contained in:
@@ -73,8 +73,9 @@ SECTIONS {
|
||||
|
||||
.myvars :
|
||||
{
|
||||
. = ALIGN(1024);
|
||||
KEEP(*(.myvars))
|
||||
. = ALIGN(_BLOCKSIZE);
|
||||
__varsstart = ABSOLUTE(.);
|
||||
KEEP(*(.myvars));
|
||||
} > rom
|
||||
|
||||
_ldata = LOADADDR(.data);
|
||||
|
||||
@@ -7,6 +7,8 @@ MEMORY
|
||||
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 4K
|
||||
}
|
||||
|
||||
PROVIDE(_BLOCKSIZE = 1024);
|
||||
|
||||
/* Include the common ld script. */
|
||||
INCLUDE stm32f01234.ld
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@ MEMORY
|
||||
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 6K
|
||||
}
|
||||
|
||||
PROVIDE(_BLOCKSIZE = 1024);
|
||||
|
||||
/* Include the common ld script. */
|
||||
INCLUDE stm32f01234.ld
|
||||
|
||||
|
||||
14
F1-nolib/inc/ld/stm32f042x6.ld
Normal file
14
F1-nolib/inc/ld/stm32f042x6.ld
Normal file
@@ -0,0 +1,14 @@
|
||||
/* Linker script for STM32F042x6, 32K flash, 6K RAM. */
|
||||
|
||||
/* Define memory regions. */
|
||||
MEMORY
|
||||
{
|
||||
rom (rx) : ORIGIN = 0x08000000, LENGTH = 32K
|
||||
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 6K
|
||||
}
|
||||
|
||||
PROVIDE(_BLOCKSIZE = 1024);
|
||||
|
||||
/* Include the common ld script. */
|
||||
INCLUDE stm32f01234.ld
|
||||
|
||||
@@ -7,6 +7,8 @@ MEMORY
|
||||
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 8K
|
||||
}
|
||||
|
||||
PROVIDE(_BLOCKSIZE = 1024);
|
||||
|
||||
/* Include the common ld script. */
|
||||
INCLUDE stm32f01234.ld
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@ MEMORY
|
||||
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 16K
|
||||
}
|
||||
|
||||
PROVIDE(_BLOCKSIZE = 1024);
|
||||
|
||||
/* Include the common ld script. */
|
||||
INCLUDE stm32f01234.ld
|
||||
|
||||
|
||||
14
F1-nolib/inc/ld/stm32f072B.ld
Normal file
14
F1-nolib/inc/ld/stm32f072B.ld
Normal file
@@ -0,0 +1,14 @@
|
||||
/* Linker script for STM32F072xB, 128K flash, 16K RAM. */
|
||||
|
||||
/* Define memory regions. */
|
||||
MEMORY
|
||||
{
|
||||
rom (rx) : ORIGIN = 0x08000000, LENGTH = 128K
|
||||
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 16K
|
||||
}
|
||||
|
||||
_BLOCKSIZE = 2048;
|
||||
|
||||
/* Include the common ld script. */
|
||||
INCLUDE stm32f01234.ld
|
||||
|
||||
@@ -26,6 +26,8 @@ MEMORY
|
||||
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 6K
|
||||
}
|
||||
|
||||
PROVIDE(_BLOCKSIZE = 1024);
|
||||
|
||||
/* Include the common ld script. */
|
||||
INCLUDE stm32f01234.ld
|
||||
|
||||
|
||||
@@ -26,6 +26,8 @@ MEMORY
|
||||
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 10K
|
||||
}
|
||||
|
||||
PROVIDE(_BLOCKSIZE = 1024);
|
||||
|
||||
/* Include the common ld script. */
|
||||
INCLUDE stm32f01234.ld
|
||||
|
||||
|
||||
@@ -26,6 +26,8 @@ MEMORY
|
||||
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
|
||||
}
|
||||
|
||||
PROVIDE(_BLOCKSIZE = 1024);
|
||||
|
||||
/* Include the common ld script. */
|
||||
INCLUDE stm32f01234.ld
|
||||
|
||||
|
||||
@@ -26,6 +26,8 @@ MEMORY
|
||||
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
|
||||
}
|
||||
|
||||
PROVIDE(_BLOCKSIZE = 1024);
|
||||
|
||||
/* Include the common ld script. */
|
||||
INCLUDE stm32f01234.ld
|
||||
|
||||
|
||||
@@ -26,6 +26,8 @@ MEMORY
|
||||
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 48K
|
||||
}
|
||||
|
||||
PROVIDE(_BLOCKSIZE = 1024);
|
||||
|
||||
/* Include the common ld script. */
|
||||
INCLUDE stm32f01234.ld
|
||||
|
||||
|
||||
@@ -26,6 +26,8 @@ MEMORY
|
||||
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
|
||||
}
|
||||
|
||||
PROVIDE(_BLOCKSIZE = 1024);
|
||||
|
||||
/* Include the common ld script. */
|
||||
INCLUDE stm32f01234.ld
|
||||
|
||||
|
||||
@@ -26,6 +26,8 @@ MEMORY
|
||||
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
|
||||
}
|
||||
|
||||
PROVIDE(_BLOCKSIZE = 1024);
|
||||
|
||||
/* Include the common ld script. */
|
||||
INCLUDE stm32f01234.ld
|
||||
|
||||
|
||||
@@ -26,6 +26,8 @@ MEMORY
|
||||
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 96K
|
||||
}
|
||||
|
||||
PROVIDE(_BLOCKSIZE = 1024);
|
||||
|
||||
/* Include the common ld script. */
|
||||
INCLUDE stm32f01234.ld
|
||||
|
||||
|
||||
@@ -26,6 +26,8 @@ MEMORY
|
||||
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 96K
|
||||
}
|
||||
|
||||
PROVIDE(_BLOCKSIZE = 1024);
|
||||
|
||||
/* Include the common ld script. */
|
||||
INCLUDE stm32f01234.ld
|
||||
|
||||
|
||||
Reference in New Issue
Block a user