Dear all,
I'm developing a wince7 BSP on an i.MX53 board, my board is boot from nand flash, so the nand driver would be used by both eboot and OS, but now I have some code in nand driver should be used only in eboot, so I want to use some macro to make those code out of build when I building the OS, are there any macros could distinguish which program is building(eboot or OS)? Or are there any macro & environment only available in eboot/OS?
Thank you very much.
Hi cheng
frankly speaking I am not aware of such macros.
In general NAND algorithms (and BBT in particular) are quite complex
to be implemeneted as macros.
Best regards
chip
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------