multiple apps in a single firmware.
this seems straightforward in some ways. but flash size is a significant limitation.
[sorry, i keep editing this as i peer at the the objdump outputs.]
the code and data space in each modules main doesn’t actually seem that significant. so i think there is plenty of room in flash for lots of different module logics. but they all use different amounts of NVRAM, for preset/scales data. (WW is ~30k, kria is ~60k) and each one tries to put that data at the top of the nvram section. so there would need to be some wrangling of that. (max nvram looks to be 128k by default for all the modules, which leaves another 128k for code space if i read it right.)
is possible to go the other way… run bees on the modules with a statically configured network
i guess so? kind of but bees assumes a lot of specifics about the available peripherals - as do all the modules, of course, but to a much more involved degree. it is also pretty specifically designed to be possible to edit the patch with the aleph UI (maybe not ideal, but still.) bees could be stripped down a lot and respun for the other boards. but there are probably better systems for offline program generation if that is the only goal.
submodules
seems like a generally good idea, pretty confusing to me to set this up on github. particularly with forks and stuff. of course it would mean extra care not to break anything with changes to the lib modules.
one of the end objectives is to merge system, skeleton and avr32_lib.
well at some level of course there will be differences. the modules and aleph have totally different processors for one thing (UC3B0256 vs UC3A0512 - maybe some of the module hardware is UC3B0512? i’m seeing linker scripts for both.) i don’t really know what the functional differences are, but i don’t think they’re profound. of course they have different register maps and whatnot, and they use different parts of the ASF, but that stuff can be customized in the library headers and makefiles.
of course this all means work to do and i don’t expect monome to give it any kind of a high priority.