An item resources in project property does not works as this purpose.
This is only a suggestion, but if you look through the Processor Expert, there is a component called "ExternalFile"
You will need to add your source file to the list of files included in your project.
Then specify this file in the ExternalFile component in Processor Expert
The rebuild your project. Processor Expert creates a new source file which has all your binary data in code format, defined as an array of bytes.
Your ExternalFile bean has 3 methods, which return the size of the array, a pointer to its start and an indexed value.
Sadly, I could not find any better documentation in the help file, but I am sure someone can point us to it.
Hope this helps
The answer is dependent on which tool chain you are using for compiler and linker.Which one are you using?
See chapter 3.5 of http://www.utasker.com/docs/uTasker/uTaskerLCD.PDF
The utilities are at http://www.utasker.com/forum/index.php?topic=1445.0
This works with any compiler/tool chain.
Do you mean the only way to embed a small binary resource to my executable is insert it as program code?
Thank you for your introducing an useful tool.
There are probaby many different ways to insert binary but inserting it as code means that it is compiler independent and so portable.
Other methods will tend to be rather tool-chain specific and so more difficult to maintain and require re-inventing the solution each time it is to be repeated in a different environment.
I am working on Kinetis Design Studio with the Cross ARM GCC.
I also use Processor Expert tool.
I tried as you suggested, and I could get a binary file's reference.
Thank you so much.
Retrieving data ...