Re: UART with Nucleo-H743zi2 board using Nuttx

2021-08-30 Thread rushi ghatkar
Hi Alan Sir, Thanks for your reply. The serial driver already exists for STM32H7. Are we willing to exchange data over serial port? -> Yes sir. I want to transmit and receive data using uart. Just do the same thing you do on Linux: open(), tcflush(), tcsetatt -> these functions we have to use wh

Re: Possibility of merging few lcd drivers into one file

2021-08-30 Thread Michal Lenc
Hi, >  I think this is a good idea, case they are really similar and you don't need to use tons of #ifdef. I think few of the #ifdefs would be used in pre processor definition section as It would be great to let predefined displays resolutions but other than that there should not be many

Re: Possibility of merging few lcd drivers into one file

2021-08-30 Thread Alan Carvalho de Assis
Hi Michael, I think this is a good idea, case they are really similar and you don't need to use tons of #ifdef. Other driver that needs some care is the OLED SSD1106/SSD1306, there are many entries in the menuconfig for the same driver. It is using some specific manufacturer name instead of the I

Re: UART with Nucleo-H743zi2 board using Nuttx

2021-08-30 Thread Alan Carvalho de Assis
Hi Rushikesh, The serial driver already exists for STM32H7. Are we willing to exchange data over serial port? Just do the same thing you do on Linux: open(), tcflush(), tcsetattr(), etc. You need to use /dev/ttyS1..N the /dev/ttyACM0 is for USB/Serial example. BR, Alan On 8/30/21, rushi ghatk

RE: Possibility of merging few lcd drivers into one file

2021-08-30 Thread Alin.Jerpelea
Hi Michal, I think that we should unify the compatible code so that we reduce the maintenance and avoid having diverging functionality and bugfixes Regards Alin -Original Message- From: Michal Lenc Sent: den 30 augusti 2021 10:21 To: dev@nuttx.apache.org Subject: Possibility of merg

Possibility of merging few lcd drivers into one file

2021-08-30 Thread Michal Lenc
Hi all, I was taking a look into the current state of files for LCD drivers (drivers/lcd/) and I am wondering about your opinion about this. Is there any particulal reason not to merge few of those drivers into one file? I am talking mostly about merging files st7735.c, st7789.c and st7796.c

UART with Nucleo-H743zi2 board using Nuttx

2021-08-30 Thread rushi ghatkar
Hi, I am trying to create my own uart serial driver which includes transmit and receive data . For that i was trying to understand a sample example which is given already. For this example given file are mentioned below, In nuttx folder, 1. nuttx/drivers/serial.c 2. nuttx/include/nuttx/serial/se