analogdevicesinc / no-OS

Software drivers in C for systems without an operating system
http://analogdevicesinc.github.io/no-OS/
Other
971 stars 1.67k forks source link

Segmentation fault for no_os_uart fix #2366

Open CAcarADI opened 1 week ago

CAcarADI commented 1 week ago

Pull Request Description

-Added Initialization for no_os_uart_init() function -Added separate GPIO definitions.

PR Type

PR Checklist

CLAassistant commented 1 week ago

CLA assistant check
All committers have signed the CLA.

CiprianRegus commented 1 week ago

The memory allocation is done in the platform specific driver (e.g https://github.com/analogdevicesinc/no-OS/blob/main/drivers/platform/maxim/max32650/maxim_uart.c#L258).

CAcarADI commented 1 week ago

The memory allocation is done in the platform specific driver (e.g https://github.com/analogdevicesinc/no-OS/blob/main/drivers/platform/maxim/max32650/maxim_uart.c#L258).

Thanks for the reply, Ill try to initialize it on the platform driver and update my commit.

CiprianRegus commented 6 days ago

Please squash the 2 commits and remove the changes done to the AD74416H project, as they seem unrelated. When implementing changes suggested by reviewers, you'll have to edit the original commit (git interactive rebase comes in handy for that) instead of creating a new one. Also the commits need a description and have to be signed.