Hello Nordic Semi team,
I am porting the Modem Library to run on a different OS.
The documentation provide is great, but I have a two minor questions.
1. The documentation says, we need to implement the functions in nrf_modem_os.h and provides guidance on how to implement.
However, when I downloaded the nrf modem library from github, in the nrf_modem_os.h , there are 3 additional functions.
File for reference: github.com/.../nrf_modem_os.h
int nrf_modem_os_sem_init(void **sem, unsigned int initial_count, unsigned int limit);
void nrf_modem_os_sem_give(void *sem);
int nrf_modem_os_sem_take(void *sem, int timeout);
The porting documentation here does not mention these functions. https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/nrf_modem/doc/ug_nrf_modem_porting_os.html
Could you please confirm if these semaphore functions are really needed. And if yes, some guidance on why it is needed.
2. The porting document says
"If you are using the hard-float variant of the Modem library, the FPU must be activated in both the secure domain and the non-secure domain, and must be configured to allow the non-secure application to run FPU instructions."
Is there any disadvantage to using the soft-float version of the modem library? Any conditions to be met with respect to secure/ non secure worlds while using soft-float?
Thank you
Hari
T