Working on my Logic Analyzer project, I wanted to setup a combined target structure in XCode, to have the complete E2E scenario built, from μC firmware to the cocoa libraries and application code. This means adding custom targets for μC build and upload. Well, as a short reminder, for now I am using a simple Arduino Uno to mock the data passed to the software logic analyzer, but I frankly hate the default Arduino code editor and I want to use XCode without switching between different IDE’s.
For those who know, there are several solutions for building your Arduino (or other custom μC programmer-based code) on Macs with Xcode. Probably the best is the CrossPack solution, that also has a comprehensive guide on how to achieve this. But they provide separate project based on separate project template and I did not want that. I wrote a post on how to achieve this, but one problem I was facing was when I tried to delete some entries (most of them) in the build settings of my custom target:
Handy PrefSetter Application.
Googling did not help, but the solution is not as straightforward as it seems. But there is a solution. Let’s take the GCC_PREPROCESSOR_DEFINITIONS example. First, delete values for each build scheme: delete DEBUG=1:
Leave a Reply