From 2862fb204cb2320117e206411826927e116a8829 Mon Sep 17 00:00:00 2001 From: Alexander Lyon Date: Tue, 27 Aug 2024 07:26:14 +0100 Subject: [PATCH] Add strlen to rom_functions on esp32s3 (#475) I was getting linker issues due to a missing function. This change adds it, using the offsets from `esp32s3.rom.newlib.ld` --- esp-wifi-sys/ld/esp32s3/rom_functions.x | 1 + 1 file changed, 1 insertion(+) diff --git a/esp-wifi-sys/ld/esp32s3/rom_functions.x b/esp-wifi-sys/ld/esp32s3/rom_functions.x index 57dad158..16d10b0d 100644 --- a/esp-wifi-sys/ld/esp32s3/rom_functions.x +++ b/esp-wifi-sys/ld/esp32s3/rom_functions.x @@ -2284,6 +2284,7 @@ phy_param_rom = 0x3fcef81c; strncpy = 0x40001224; strcpy = 0x40001218; strncmp = 0x4000123c; +strlen = 0x40001248; /* from esp32s3.rom.api.ld*/ PROVIDE ( esp_rom_delay_us = ets_delay_us );