There is no easy way to include Dynamic-link library, it could be done, but...
There is easy way to include static-link library. Just look up for my bootloader posts, and explanation how to pass variables between main app and bootloader.
There is no easy way to include Dynamic-link library, it could be done, but...
There is easy way to include static-link library. Just look up for my bootloader posts, and explanation how to pass variables between main app and bootloader.
There is. I can't remember topic name. In that topic I explained how variables can be shared between main app and bootloader.
Can I ask you what you are trying to accomplish?
ditto the last post. Why would you want to include pre-compiled code when its so much easier to include the source and compile the whole thing.
DLL's are commonly used to implement third party functions. The operating system controls initialization and there is a mutually understood way of defining and passing parameters. Non of these thing apply in this case.
I'm sure it's possible but the real question is why?
George
The purpose is to have an open source code that part of it is encrypted. So I don't want to release part of it.Either using an object file,DLL, or code in bootloader and then call it from main code.
If you don't want to provide the source, how can it be open source?
George
Bookmarks