I have a custom application that works well for my nRF52832 device, but my team is moving on to an nRF52840 chip. Long ago, I deleted the directories that were not /pca10040/s132/ because I stupidly assumed we would not need anything more than what we were working with at the time. I am now trying to go months back into our version control to re-downoad those directories for the newer chip which requires the s140 code. However, trying to run the s140 Makefile (with the newest files and directories included) isnt working well....and I wonder if there is a best practice for this type of transition. Luckily, I never deleted the same files from the secure_dfu_bootloader directory, so I am able to build/compile the bootloader successfully.
How can I recreate this pca10056/s140/ directory structure so that I can get my application code to work nicely with the new nRF52840 device? I am used to opening SES projects by looking up the .EmProject file associated with the custom application....however, I know for a fact this old .EmProject will be outdated since I deleted it months ago, and so I am here to ask for guidance in how to resolve my situation. Many thanks in advance!