I can’t see the event_types.h file. I assume it’s the same as the one from aleph-old?
yeah it’s in the new aleph
repo, but i suppose it should go in the lib.
i’ll break that declaration out into a header.
Alternatively, is your plan to break up the Aleph repo into smaller bits too? In that case, maybe a libblackfin? Which could also include the bits of AVR32 code that talk to it over SPI, plus the common directory and so on.
i’m not sure. to be honest i’m not really loving the feeling of many small repos, and seems kind of insane to have a separate one for each aleph app and DSP module.
Just out of interest, what’s the longer term goal for the Aleph’s point
of view. Better low level code sharing? Or being able to run the apps
(ww, kria, etc) on the Aleph? If it’s the later, it might be better to
have a think about how that should work before making too many other
changes.
both; first goal is simply be using the same avr32 library so that there isn’t massive code duplication and changes/improvements can be shared more easily, in both directions
2nd step, actuallly porting app code back and forth, does indeed require some more effort. i thought first i should identify whatever little points of friction there are on the library level, also get more familiar with module code. then think about best way to wrap module code on aleph. this would involve some rewrites of module code, which i’m trying not to touch right now except as necessary.
So a Teletype is kinda like the control half of an Aleph, right?
yeah, very similar. it does run on UC3B instead of UC3A, like the other euro modules, so it lacks the second SPI port needed to talk to the blackfin efficiently.
I’m not sure what the best plan with the blackfin and other Aleph only
code is. My gut feeling says that you should get into a state where it’s
ready to be moved into the libavr32, but then hold of until it’s had time to settle down a bit.
yeah, that’s pretty much my thought. for now i’m putting aleph additions to libavr32
here, alongside the submodule:
( https://github.com/catfact/aleph/tree/master/avr32 )
and this is easily changed in the relevant makefile:
( https://github.com/catfact/aleph/blob/master/avr32/avr32_config.mk#L10 )