We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi sir,
I want to batch build the example project of microchip "trustzone_nortos", but the messages appeared as follow. File : D:\MDK525\ARM\PACK\Keil\SAML11_DFP\1.0.82\Keil.SAML11_DFP.pdsc Sequence : ProgramBootImageHash Context : Item #1: <control if="(BS_BootOpt > 0) && (BS_Length > 0)"> Item #4: <block>::Line 2 Expression : " BufferStreamIn(0, BS_HashAddr, 0x20, "$P/Boot_sha256.bin", 0, 0);" ------------------------------^ E203 : Undefined identifier - function 'BufferStreamIn'
File : D:\MDK525\ARM\PACK\Keil\SAML11_DFP\1.0.82\Keil.SAML11_DFP.pdsc Sequence : ProgramBootImageHash Context : Item #1: <control if="(BS_BootOpt > 0) && (BS_Length > 0)"> Item #5: <control while="PageAddr < (SectorAddr + SectorSize)"> Item #0: <block>::Line 4 Expression : " BufferWrite(0, PageAddr, PageAddr, 0x20, 32|1);" --------------------------------^ E203 : Undefined identifier - function 'BufferWrite'
And a lot more like this.
I am using MDK5.25-pre.
What's wrong with it? And how can i avoid it?
Thanks!
The message tells you very clearly and explicitly what is wrong:
E203 : Undefined identifier - function 'BufferStreamIn'
"And how can i avoid it?"
Define the identifier!
Hi Andrew Neil,
I didn't feel good to your way of answer. It made me feel stupid somehow. Because you just said nothing to my problem. So, i want you to answer how would you define the identifier?
In fact, I move to MDK6.26-pre and everything is OK.
So if you knew that, why didn't you say that?
What have you done to find out where that identifier should have been defined?
That identifier is clearly a function - so you are looking for a function definition.
A function definition would normally be in either a .c source file, or a library.
You would probably also expect it to have a declaration - ie, a prototype - in a .h header file.
You say this is Microchip's code - so what does their documentation tell you? Did they supply it as complete, ready-to-build Keil project? Have you contacted them for support?
"I want to batch build"
What happens if you just do a conventional, interactive build - from the IDE?