Hi,
I am developing unit tests and would like to generate mocks for the following functions in the Zephyr uart driver in the file "uart.h".
- uart_irq_update
- uart_err_check
- uart_poll_out
I have included the uart.h in CMake as shown below.
cmock_handle(../../../../zephyr/include/drivers/uart.h drivers)
In the mocks directory, I can see the uart.h however they are missing all the __syscall functions. I tried adding a few configurations in the unity_cfg.yaml file but no luck.
Has anyone encountered the above and figured out a solution to this?
Any help/support would be greatly appreciated. Thanks.