Skip to content

Commit

Permalink
Remove ENTRY() from the linker script
Browse files Browse the repository at this point in the history
  • Loading branch information
cpq committed Sep 26, 2022
1 parent 0065785 commit e1b8252
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions README.md
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion 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 */
Expand Down
1 change: 0 additions & 1 deletion 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 */
Expand Down
1 change: 0 additions & 1 deletion 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 */
Expand Down
1 change: 0 additions & 1 deletion 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 */
Expand Down
1 change: 0 additions & 1 deletion 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 */
Expand Down
1 change: 0 additions & 1 deletion 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 */
Expand Down

0 comments on commit e1b8252

Please sign in to comment.