kasjer opened a new pull request #2627: URL: https://github.com/apache/mynewt-core/pull/2627
This adds driver to read and write flash across core domains. APP core can for example read net core crash dump flash area. To use this setup bsp.yml file have to have flash area from flash device 2. This changes priority of syscfg init for flash_map to be executed after IPC. IPC flash driver uses 2 IPC channels so **IPC_NRF5340_CHANNELS** must specify value high enough to accommodate those two channels. By default channels 2 and 3 are set but they can be change in syscfg. Core that wants to expose its flash to other core does it by adding ``` IPC_NRF5340_FLASH_SERVER: 1 ``` to its syscfg values, client core specifies: ``` IPC_NRF5340_FLASH_CLIENT: 1 ``` Read and write sized are currently limited to **IPC_NRF5340_BUF_SZ - 16** -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
