diff --git a/tools/platformio-build.py b/tools/platformio-build.py index 780dcea3c..18b44c2c2 100644 --- a/tools/platformio-build.py +++ b/tools/platformio-build.py @@ -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=[ diff --git a/tools/sdk/ld/eagle.rom.addr.v6.ld b/tools/sdk/ld/eagle.rom.addr.v6.ld index 262877604..0407fb880 100644 --- a/tools/sdk/ld/eagle.rom.addr.v6.ld +++ b/tools/sdk/ld/eagle.rom.addr.v6.ld @@ -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 );