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.
In Embedded_Files.s I have several INCBIN that then compile in several .bin files. I don't want to include those files unless there is a project-level #define made (either in a file that is global to all, or in the actual project itself). I've tried what several Google searches suggested (#ifdef USE_WIFI and %ifdef USE_WIFI at the top of the file, and I get :
Embedded_Files.s(1): error: A1163E: Unknown opcode USE_WIFI , expecting opcode or Macro
What is going on here? What am I missing?
Thanks Andrew. I reviewed the link, and yes it makes sense for some assembly calls to be tool specific. I was down the wrong-track think that compiler pre-processor commands were compiler specific and that Keil based commands would be consistent across all tools. Clearly I was mistaken :-)