I'm trying to get along with ASF "properly" and make it work for me. For instance, I'd like to create a library for my Nordic nRF24L01+ modules that I could re-use among a few Xmega devices for projects I'm working on. Basically exposing a bunch of wrapped SPI calls to configure the radio, transmit packets, receive, etc.. and setup some interrupt handling callbacks. I'd like to create something that can be shared and re-used.
If I went the ASF route on this, I'd pull in their SPI service and use it. Since I'm consuming their ASF SPI service, where would my library lay on the ASF stack? Could I create an application level ASF module and extend their framework to easily use this in other projects? I haven't ran across any documentation on how to properly extend the framework, just use it.
The other option of just creating my own nRF24L01 library and supporting SPI library seems easier, but in some cases I'm already pulling along ASF for USB and feel that I should stick with ASF. Appreciate any feedback I can get. Thanks!