Skip to content

Commit 71e2cb5

Browse files
authored
Merge pull request #69 from espressif/fix/esp32h21-linker
fix(esp32h21): use correct ROM addresses for libc functions
2 parents 1c7e750 + 983c4e0 commit 71e2cb5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/target/esp32h21/ld/esp32h21.rom.libc.ld

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
esp_rom_newlib_init_common_mutexes = 0x40000494;
22
memset = 0x40000498;
3-
memcpy = 0x4fc0026c;
4-
memmove = 0x4fc00270;
5-
memcmp = 0x4fc00274;
6-
strcpy = 0x4fc00278;
7-
strncpy = 0x4fc0027c;
8-
strcmp = 0x4fc00280;
9-
strncmp = 0x4fc00284;
3+
memcpy = 0x4000049c;
4+
memmove = 0x400004a0;
5+
memcmp = 0x400004a4;
6+
strcpy = 0x400004a8;
7+
strncpy = 0x400004ac;
8+
strcmp = 0x400004b0;
9+
strncmp = 0x400004b4;
1010
strlen = 0x400004b8;
1111
strstr = 0x400004bc;
1212
bzero = 0x400004c0;

0 commit comments

Comments
 (0)