This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

CONFIG_PCD includes code for both application and network processors which brings unwanted dependencies

I'm writing custom boot loaders.  One of the capabilities is to update the network processor from code running on the application processor.  The PCD subsystem looks like it has what I need to do this nicely.  However, the PCD subsystem has a single configuration option that brings in code for both the network and application processor.  Thus when using PCD on the application side the function pcd_fw_copy is compiled - even though that function is only for the network processor.  That in turn requires FLASH_PAGE_LAYOUT, STREAM_FLASH, and STREAM_ERASE.  The application code that I'm writing does not want those (unused) requirements.  It would be great if the Kconfig for PCD had two different config options.  For example, PCD_APP and PCD_NET, so that you can bring in only the code (and dependencies) needed for the application processor or the network processor.  [A PCD configuration could select both for backwards compatibility if desired.]

Is this forum the place to post such things?  If so any thoughts on this?  If not where should it be posted?

Parents Reply Children
No Data
Related