I'm getting started with OTA updates and was wondering about workflows for building factory vs. production apps. Ideally I want my factory application to use a stripped-down set of the code written for my production app. In order to do this without muddling up the code with a ton of #ifdefs, I currently use two separate IDF projects. Say my project organization is as follows:
Code: Select all
PROJECT_DIR/ [Organizational folder for entire project/product]
-> FACTORY_APP_DIR/ [Holds code and other IDF project files for factory app]
-> PRODUCTION_APP_DIR/ [Holds code and other IDF project files for production app]