avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Sharing code between a bootloader and an application.


From: dpharris
Subject: [avr-gcc-list] Sharing code between a bootloader and an application.
Date: Sun, 28 Dec 2008 23:10:46 -0700 (MST)

Since bootloaders need to establish communications in order to function, it would seem useful to be able to use some of this functionality by the bootloaded application code.  In particular, this is in relation to CAN, where the boot-up code will need to establish a node-id, and be able to communicate serial number information to a central node. 

 

Obviously, access to the serial number, and links to the CAN driver routines, would be useful in the applications code, and would save duplication.  

 

How would one go about producing a header or library file that would let you link references to the routines in the bootloader for use in the application?  

 

Thanks,

David

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]