Petro Karashchenko
1528b8dcca
nuttx: resolve various 'FAR' and 'CODE' issues
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2024-08-26 10:21:03 +08:00
chao an
664927c86e
mm/alloc: remove all unnecessary cast for alloc
...
Fix the minor style issue and remove unnecessary cast
Signed-off-by: chao an <anchao@xiaomi.com>
2023-08-30 14:34:20 +08:00
Xiang Xiao
779a610ca3
Remove the unnecessary NULL fields in global instance definition of file_operations
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-04 00:32:13 +02:00
Petro Karashchenko
09b3fb25ab
drivers: remove unimplemented open/close/ioctl interfaces
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-04-15 16:56:25 +08:00
Xiang Xiao
2e54df0f35
Don't include assert.h from public header file
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-03 08:36:03 -07:00
Alin Jerpelea
e1d361eddf
drivers: nxstyle fixes
...
Fixes for errors reported by nxstyle
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-05 07:31:45 -05:00
Xiang Xiao
6a3c2aded6
Fix wait loop and void cast ( #24 )
...
* Simplify EINTR/ECANCEL error handling
1. Add semaphore uninterruptible wait function
2 .Replace semaphore wait loop with a single uninterruptible wait
3. Replace all sem_xxx to nxsem_xxx
* Unify the void cast usage
1. Remove void cast for function because many place ignore the returned value witout cast
2. Replace void cast for variable with UNUSED macro
2020-01-02 10:54:43 -06:00
Gregory Nutt
d1584d60a2
drivers/sensors: Run all sensor drivers through tools/nxstyle, correcting as many complaints as possible.
2019-12-06 19:07:34 -06:00
Gregory Nutt
244437257b
drivers/: Within the OS, nxisg_usleep() should be used instead of usleep(). usleep() is a cancellation point and sets the errno value. Neither of which should be done inside the OS.
2019-11-29 17:37:39 -06:00
Fabian Justi
beaa54cc4c
Merged in Justifa/nuttx (pull request #885 )
...
drivers/sensors/as726x.c Fix little change from tools/indent.sh
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-06-06 13:36:58 +00:00
Gregory Nutt
900c32c021
Substantial changes to last PR which was not close to the coding standard. Files ran through tools/indent.sh.
2019-06-05 07:21:55 -06:00
Fabian Justi
ff5f1945ec
Merged in Justifa/nuttx (pull request #883 )
...
Add support for AS726X spectral sensor
* configs/nucleo-l476rg/src/stm32_appinit.c Add I2C tool to board init
* configs/nucleo-l476rg/src/stm32_bmp180.c Fix comment
* configs/stm32f103-minimum/src/stm32_veml6070.c Fix name in error message
* drivers/sensor, include/nuttx/sensors and configs/nucleo-l476rg: Add support for AS726X spectral sensor
Implement driver for AS726X spectral
read as726x V,B,G,Y,O,R channel
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-06-05 12:50:03 +00:00