arch/xtensa/esp32s2: Define syscall table to enable using ROM functions

This commit aims to enable the use of ROM functions on ESP32-S2.
This is done by creating the required syscall stubs table and adding the missing symbols to the linker script.
This commit is contained in:
Lucas Saavedra Vaz
2023-05-10 09:28:13 -03:00
committed by Alan Carvalho de Assis
parent 274a79fd34
commit a895cd4854
5 changed files with 470 additions and 1 deletions
@@ -618,7 +618,9 @@ PROVIDE ( SendMsg = 0x40012d0c );
PROVIDE ( send_packet = 0x40012cc8 );
PROVIDE ( set_rtc_memory_crc = 0x40010010 );
PROVIDE ( SetSpiDrvs = 0x40015c18 );
PROVIDE ( __sfp_recursive_mutex = 0x3ffffd88 );
PROVIDE ( sig_matrix = 0x3ffffd57 );
PROVIDE ( __sinit_recursive_mutex = 0x3ffffd84 );
PROVIDE ( software_reset = 0x40010068 );
PROVIDE ( software_reset_cpu = 0x40010080 );
PROVIDE ( SPI_block_erase = 0x4001623c );