3steppers next stage

This commit is contained in:
Edward Emelianov
2021-10-24 22:29:43 +03:00
parent 9ece1bd91e
commit 9b4bb6c02f
49 changed files with 466 additions and 107 deletions

View File

@@ -73,8 +73,9 @@ SECTIONS {
.myvars :
{
. = ALIGN(1024);
KEEP(*(.myvars))
. = ALIGN(_BLOCKSIZE);
__varsstart = ABSOLUTE(.);
KEEP(*(.myvars));
} > rom
_ldata = LOADADDR(.data);

View File

@@ -7,6 +7,8 @@ MEMORY
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 4K
}
PROVIDE(_BLOCKSIZE = 1024);
/* Include the common ld script. */
INCLUDE stm32f01234.ld

View File

@@ -7,6 +7,8 @@ MEMORY
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 6K
}
PROVIDE(_BLOCKSIZE = 1024);
/* Include the common ld script. */
INCLUDE stm32f01234.ld

View 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

View File

@@ -7,6 +7,8 @@ MEMORY
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 8K
}
PROVIDE(_BLOCKSIZE = 1024);
/* Include the common ld script. */
INCLUDE stm32f01234.ld

View File

@@ -7,6 +7,8 @@ MEMORY
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 16K
}
PROVIDE(_BLOCKSIZE = 1024);
/* Include the common ld script. */
INCLUDE stm32f01234.ld

View 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

View File

@@ -26,6 +26,8 @@ MEMORY
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 6K
}
PROVIDE(_BLOCKSIZE = 1024);
/* Include the common ld script. */
INCLUDE stm32f01234.ld

View File

@@ -26,6 +26,8 @@ MEMORY
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 10K
}
PROVIDE(_BLOCKSIZE = 1024);
/* Include the common ld script. */
INCLUDE stm32f01234.ld

View File

@@ -26,6 +26,8 @@ MEMORY
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
}
PROVIDE(_BLOCKSIZE = 1024);
/* Include the common ld script. */
INCLUDE stm32f01234.ld

View File

@@ -26,6 +26,8 @@ MEMORY
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
}
PROVIDE(_BLOCKSIZE = 1024);
/* Include the common ld script. */
INCLUDE stm32f01234.ld

View File

@@ -26,6 +26,8 @@ MEMORY
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 48K
}
PROVIDE(_BLOCKSIZE = 1024);
/* Include the common ld script. */
INCLUDE stm32f01234.ld

View File

@@ -26,6 +26,8 @@ MEMORY
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
}
PROVIDE(_BLOCKSIZE = 1024);
/* Include the common ld script. */
INCLUDE stm32f01234.ld

View File

@@ -26,6 +26,8 @@ MEMORY
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
}
PROVIDE(_BLOCKSIZE = 1024);
/* Include the common ld script. */
INCLUDE stm32f01234.ld

View File

@@ -26,6 +26,8 @@ MEMORY
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 96K
}
PROVIDE(_BLOCKSIZE = 1024);
/* Include the common ld script. */
INCLUDE stm32f01234.ld

View File

@@ -26,6 +26,8 @@ MEMORY
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 96K
}
PROVIDE(_BLOCKSIZE = 1024);
/* Include the common ld script. */
INCLUDE stm32f01234.ld