diff --git a/README.md b/README.md index 68fbe83..67d5e0b 100644 --- a/README.md +++ b/README.md @@ -311,12 +311,6 @@ in the address space, and which symbols to create. Create a minimal linker script `link.ld`, and copy-paste contents from [step-0-minimal/link.ld](step-0-minimal/link.ld). Below is the explanation: -``` -ENTRY(_reset); -``` - -This line tells the linker, that the program's entry point. - ``` MEMORY { flash(rx) : ORIGIN = 0x08000000, LENGTH = 2048k diff --git a/step-0-minimal/link.ld b/step-0-minimal/link.ld index 695513c..b229908 100644 --- a/step-0-minimal/link.ld +++ b/step-0-minimal/link.ld @@ -1,4 +1,3 @@ -ENTRY(_reset); MEMORY { flash(rx) : ORIGIN = 0x08000000, LENGTH = 2048k sram(rwx) : ORIGIN = 0x20000000, LENGTH = 192k /* remaining 64k in a separate address space */ diff --git a/step-1-blinky/link.ld b/step-1-blinky/link.ld index 695513c..b229908 100644 --- a/step-1-blinky/link.ld +++ b/step-1-blinky/link.ld @@ -1,4 +1,3 @@ -ENTRY(_reset); MEMORY { flash(rx) : ORIGIN = 0x08000000, LENGTH = 2048k sram(rwx) : ORIGIN = 0x20000000, LENGTH = 192k /* remaining 64k in a separate address space */ diff --git a/step-2-blinky-systick/link.ld b/step-2-blinky-systick/link.ld index 695513c..b229908 100644 --- a/step-2-blinky-systick/link.ld +++ b/step-2-blinky-systick/link.ld @@ -1,4 +1,3 @@ -ENTRY(_reset); MEMORY { flash(rx) : ORIGIN = 0x08000000, LENGTH = 2048k sram(rwx) : ORIGIN = 0x20000000, LENGTH = 192k /* remaining 64k in a separate address space */ diff --git a/step-3-uart/link.ld b/step-3-uart/link.ld index 695513c..b229908 100644 --- a/step-3-uart/link.ld +++ b/step-3-uart/link.ld @@ -1,4 +1,3 @@ -ENTRY(_reset); MEMORY { flash(rx) : ORIGIN = 0x08000000, LENGTH = 2048k sram(rwx) : ORIGIN = 0x20000000, LENGTH = 192k /* remaining 64k in a separate address space */ diff --git a/step-4-printf/link.ld b/step-4-printf/link.ld index 695513c..b229908 100644 --- a/step-4-printf/link.ld +++ b/step-4-printf/link.ld @@ -1,4 +1,3 @@ -ENTRY(_reset); MEMORY { flash(rx) : ORIGIN = 0x08000000, LENGTH = 2048k sram(rwx) : ORIGIN = 0x20000000, LENGTH = 192k /* remaining 64k in a separate address space */ diff --git a/step-5-cmsis/link.ld b/step-5-cmsis/link.ld index 695513c..b229908 100644 --- a/step-5-cmsis/link.ld +++ b/step-5-cmsis/link.ld @@ -1,4 +1,3 @@ -ENTRY(_reset); MEMORY { flash(rx) : ORIGIN = 0x08000000, LENGTH = 2048k sram(rwx) : ORIGIN = 0x20000000, LENGTH = 192k /* remaining 64k in a separate address space */