You might wonder what the hell I have been doing all this week.
I think we can confidently predict TS06 will run out of program space early.
It has to have BLE drivers, and DW drivers as well as all the other sensor stuff, and analysis software. While we wait for a Nordic processor with more memory I will probably have to partition the code development – i.e. develop and test parts of the code independently, and finally cherry-pick and squeeze bits of code to make the TS06. (Of course, the BeSpoon module has the advantage that a lot of the code that is outside the DecaWave module is inside the BeSpoon module, but who knows if BeSpoon will last much longer?)
I tried partitioning thing with TS02..5. But the toolkit was more primitive and made it hard to share code between different independent threads of development. For example, I had a code base that was designed to explore and test the hardware, and another for the networking, and another that integrated parts of the others to make TS. But it was so hard to partition the code between the two different applications, and back it up each night. Fortunately the Atmel 256K processor came along, and so I was able to do everything in one module with some squeezing. Indeed the final code base for TS05 is actually called HWTest rather than TS! So the code contains a lot of stuff that isn't really needed, and of course soaks up valuable memory.
I already have several threads going that I am trying to keep separate for simplicity and speed. But keeping all the source libraries (DW, Nordic) separate and shareable took some more study, and created it's own snags. Also I will need to keep DW and BeSpoon developments separate. Then I need to be able to keep the developments for each board definitions separate.
So organizing the development tools has taken way more time than I ever thought possible – exacerbated by my own ignorance.
I think I have it kind of organised now, but time will tell. I'm also backing it up to a git repository so I can move the code base between desktop, and laptop in anticipation of going to the UK.
It is truly amazing how much time this kind of stuff soaks up.