nuttx/arch/arm
Michał Łyszczek 02dc6fa219 stm32_serial.c: fix compilation of onewire driver mode
Onewire driver wants to use "struct up_dev_s *priv", which is extracted
from "struct uart_dev_s" and "struct inode". But inode and uart dev are
only declared when TERMIOS or BSDCOMPAT is also enabled. Without these
driver fails to compile with missing declaration errors. Adding some
additional "#if defined()" to these declarations fix the issue and driver
compiles and works properly (tested with ds18b20 temp sensor).

Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
2024-03-12 13:45:41 +01:00
..
include comments/docs: fix typos in comments 2024-03-06 13:31:50 +08:00
src stm32_serial.c: fix compilation of onewire driver mode 2024-03-12 13:45:41 +01:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig arch/xmc4 Add tickless support 2024-03-11 13:56:07 -03:00