copied over logic from cortex-M4 example repo
I copy pastaed some of the linker setup from another repo I found. Had to change some stuff as their directory setup is differnt than mine.
This commit is contained in:
parent
0f331293d0
commit
533d9ab020
|
@ -2,7 +2,9 @@
|
||||||
* Filename: linker.ld
|
* Filename: linker.ld
|
||||||
* Micro-Controller: stm32f103c8t6
|
* Micro-Controller: stm32f103c8t6
|
||||||
* Cortex-M3 and Cortex-M4 only need to be 4byte aligned where as
|
* Cortex-M3 and Cortex-M4 only need to be 4byte aligned where as
|
||||||
* other's might need 8byte or something differnt.
|
* other's might need 8byte or something different.
|
||||||
|
*
|
||||||
|
* The M3/M4 are ARMv7 and ARMv7E-M respectively.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -50,6 +52,7 @@ MEMORY
|
||||||
floating_point = 0;
|
floating_point = 0;
|
||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
|
|
||||||
/* Code section, mapped to Flash memory */
|
/* Code section, mapped to Flash memory */
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue