Added User Application APIs to the CDC and DFU class bootloaders.

This commit is contained in:
Dean Camera 2011-10-11 06:20:18 +00:00
parent beb069b9b8
commit 1a4a26271e
19 changed files with 436 additions and 9 deletions

View file

@ -99,6 +99,10 @@ static uint16_t EndAddr = 0x0000;
*/
int main(void)
{
/* Force a reference to the API jump table to prevent the linker from discarding it */
uint8_t* volatile Dummy = BootloaderAPI_JumpTable;
(void)Dummy;
/* Configure hardware required by the bootloader */
SetupHardware();
@ -742,4 +746,3 @@ static void ProcessReadCommand(void)
else if (IS_ONEBYTE_COMMAND(SentCommand.Data, 0x01)) // Read signature byte
ResponseByte = SignatureInfo[DataIndexToRead - 0x30];
}