mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
Support PIO Wl-T and Arduino -T linking properly (#6095)
The interrupt vectors in IRAM are omitted when there is a PROVIDE statement in the linker control files when using the PIO method of -Wl,-T<linkfile>. Drop the PROVIDES (they're in RAM anyway and not ROM related), and add the required "-u"s to the PIO build script. Should have no impact on the Arduino side. Fixes #6087
This commit is contained in:
parent
968d6fcb0a
commit
48fc8aff20
@ -89,7 +89,12 @@ env.Append(
|
||||
"-Wl,-wrap,spi_flash_read",
|
||||
"-u", "app_entry",
|
||||
"-u", "_printf_float",
|
||||
"-u", "_scanf_float"
|
||||
"-u", "_scanf_float",
|
||||
"-u", "_DebugExceptionVector",
|
||||
"-u", "_DoubleExceptionVector",
|
||||
"-u", "_KernelExceptionVector",
|
||||
"-u", "_NMIExceptionVector",
|
||||
"-u", "_UserExceptionVector"
|
||||
],
|
||||
|
||||
CPPDEFINES=[
|
||||
|
@ -41,13 +41,8 @@ PROVIDE ( UartRegReadProc = 0x4000381c );
|
||||
PROVIDE ( UartRegWriteProc = 0x400037ac );
|
||||
PROVIDE ( UartRxString = 0x40003c30 );
|
||||
PROVIDE ( Uart_Init = 0x40003a14 );
|
||||
PROVIDE ( _DebugExceptionVector = 0x40000010 );
|
||||
PROVIDE ( _DoubleExceptionVector = 0x40000070 );
|
||||
PROVIDE ( _KernelExceptionVector = 0x40000030 );
|
||||
PROVIDE ( _NMIExceptionVector = 0x40000020 );
|
||||
PROVIDE ( _ResetHandler = 0x400000a4 );
|
||||
PROVIDE ( _ResetVector = 0x40000080 );
|
||||
PROVIDE ( _UserExceptionVector = 0x40000050 );
|
||||
PROVIDE ( __adddf3 = 0x4000c538 );
|
||||
PROVIDE ( __addsf3 = 0x4000c180 );
|
||||
PROVIDE ( __divdf3 = 0x4000cb94 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user