OS abstraction layer
The Modem library requires the implementation of an OS abstraction layer, which is an interface over the operating system functionalities such as interrupt setup, threads, and heap.
The integration layer provides an implementation of the OS abstraction layer using nRF Connect SDK components.
The OS abstraction layer is implemented in
The behavior of the functions in the OS abstraction layer is dependent on the nRF Connect SDK components that are used in their implementation.
This is relevant for functions such as
nrf_modem_os_shm_tx_alloc(), which uses Zephyr’s Heap implementation to dynamically allocate memory.
In this case, the characteristics of the allocations made by these functions depend on the heap implementation by Zephyr.