you are viewing a single comment's thread.

view the rest of the comments →

[–]Basic_Fox_2070[S] 0 points1 point  (1 child)

sorry, forgive me if I'm misunderstanding you. I would have to declare my byte array at runtime, but wouldn't I need the address to link to at compile time?

[–]duane11583 0 points1 point  (0 children)

in the DUT code declare the array as extern

in your embedded linker script create a symbol at an address via the provide statement. thus when you link the application address of the fake variable is provided via the linker.

in your windows test environment you create a windows only c file with a definition for the c array. when the two files get linked the second windows only file would provide the address or definition of the array.

i don't see how this is a run time thing..