From 075538abb9af8a31fa8239ecfda592b968cd53d8 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Wed, 23 Nov 2011 14:09:01 +0000 Subject: Use the proper "-Wl,--undefined=BootloaderAPI_JumpTable" linker command line parameter in the bootloaders to ensure that the API jump tables are not discarded, rather than the previous C volatile pointer hack (thanks to Opendous Inc.). --- Bootloaders/DFU/BootloaderAPI.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'Bootloaders/DFU/BootloaderAPI.h') diff --git a/Bootloaders/DFU/BootloaderAPI.h b/Bootloaders/DFU/BootloaderAPI.h index 9c9d5a4ce..e9709125d 100644 --- a/Bootloaders/DFU/BootloaderAPI.h +++ b/Bootloaders/DFU/BootloaderAPI.h @@ -43,9 +43,6 @@ #include - /* External Variables: */ - extern uint8_t* BootloaderAPI_JumpTable; - /* Function Prototypes: */ void BootloaderAPI_ErasePage(uint32_t Address); void BootloaderAPI_WritePage(uint32_t Address); -- cgit v1.2.3