Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
|
Flash simulator specific API. More...
#include <zephyr/syscalls/flash_simulator.h>
Go to the source code of this file.
Functions | |
void * | flash_simulator_get_memory (const struct device *dev, size_t *mock_size) |
Obtain a pointer to the RAM buffer used but by the simulator. | |
Flash simulator specific API.
Extension for flash simulator.
Obtain a pointer to the RAM buffer used but by the simulator.
This function allows the caller to get the address and size of the RAM buffer in which the flash simulator emulates its flash memory content.
[in] | dev | flash simulator device pointer. |
[out] | mock_size | size of the ram buffer. |
pointer | to the ram buffer |