Alin Jerpelea
8dcd16d5a6
arch: arm: nxstyle fixes
...
Fixes for nxstyle warnigs
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-08 22:48:46 -05:00
Alin Jerpelea
d2e7ea05c6
NuttX: typo fix
...
Yype fix for Public Functions reported by nxstyle
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-08 22:48:46 -05:00
wangshuo
cb54c838a0
vfs: adjust the error code of write to be consistent with read
...
According to POSIX, the EACCES will be set when file can not be
written access. Just like fs_read
2021-04-08 21:52:14 -05:00
Abdelatif Guettouche
7fb6a92e35
Documentation/esp32: Add unsupported peripherals.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-04-08 20:02:56 -03:00
Abdelatif Guettouche
183735336d
Documentation/esp32: Add supported peripherals.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-04-08 20:02:56 -03:00
Abdelatif Guettouche
4f9b280987
Documentation/esp32: Fix a couple of typos and add some notes.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-04-08 20:02:56 -03:00
Gustavo Henrique Nihei
c4ed7361b7
boards/sama5d3-xplained: Fix a typo on the EINTR error code
2021-04-08 14:41:22 -03:00
Gustavo Henrique Nihei
ada84cacda
drivers/input: Rename AJOYSTICK configs to INPUT_AJOYSTICK
2021-04-08 14:41:22 -03:00
Gustavo Henrique Nihei
3054237d2e
drivers/input: Rename DJOYSTICK configs to INPUT_DJOYSTICK
2021-04-08 14:41:22 -03:00
Gustavo Henrique Nihei
2efae6928d
drivers/input: Rename BUTTONS configs to INPUT_BUTTONS
2021-04-08 14:41:22 -03:00
Gustavo Henrique Nihei
5719dab8ec
drivers/input: Rename MOUSE configs to INPUT_MOUSE
2021-04-08 14:41:22 -03:00
Gustavo Henrique Nihei
00e68bb38d
drivers/input: Add TOUCHSCREEN config for touchscreen input devices
2021-04-08 09:17:58 -07:00
Alin Jerpelea
628d8ca9e1
arch: mips: nxstyle fixes
...
fixes for errors reported by nxstyle
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-08 11:41:02 -03:00
Alin Jerpelea
63ca633aef
LICENSE: add 3rd party license for Broadcom
...
Add 3rd party licenses for Broadcom to the LICENSE file.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-08 11:41:02 -03:00
Alin Jerpelea
b1581efacc
boards: nrf52: remove empty files
...
Remove the empty files from the board folder (reported by nxstyle tool).
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-08 09:20:35 -03:00
Alin Jerpelea
8bdcca039e
boards: stm32f334-disco: remove empty files
...
Remove the empty files from the board folder (reported by nxstyle tool).
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-08 09:20:35 -03:00
Alin Jerpelea
413f11c598
boards: nucleo-f334r8: remove empty files
...
Remove the empty files from the board folder (reported by nxstyle tool).
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-08 09:20:35 -03:00
Xiang Xiao
27425f3035
arch/z80: Remove the temporary file ez80_serial.c.SAVE
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-08 11:07:12 +02:00
Masayuki Ishikawa
445770a600
arch: sim: Refactor signal handling
...
Summary:
- This commit refactors signal handling logic
Impact:
- None
Testing:
- Tested with sim:smp and sim:ostest
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-04-08 01:59:31 -05:00
Marco Krahl
7e8424903a
drivers/sensors: Adds driver for hyt271 sensore module
...
This adds a sensor driver for the hyt271, hyt221, and hyt939 sensor module from
vendor iST (Innovative Sensor Technology). This sensor type is connected via i2c
bus and allows the measurement of relative humidity and temperature.
Each driver instance supports two different character device for each type
(/dev/sensor/tempX and /dev/sensor/humiX).
This driver also supports changing the i2c address of one connected sensor on
the bus. This requires a callback to the platform-specific board logic which
must ensure a power-on reset.
Optional the driver allows setting up a read interval for fetching sensor data.
This is done by a worker thread and can be useful when watching several sensors
via poll() by the userspace application.
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2021-04-07 21:29:51 -05:00
Matias N
ab206687bb
Replace wrong inclusion of sys/errno.h (toolchain provided) with errno.h
2021-04-07 21:27:06 -05:00
Alin Jerpelea
cb2ecefbf1
arch: xtensa: fix nxstyle errors
...
Fix for errors reported by nxstyle tool
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 21:21:51 -05:00
Alin Jerpelea
55ca83cbc9
LICENSE: add 3rd party license for Cadence Design Systems
...
Add 3rd party licenses for Cadence Design Systems to the LICENSE file.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 21:21:51 -05:00
Alin Jerpelea
da6d03b9c1
LICENSE: add 3rd party license for Tensilica Inc
...
Add 3rd party licenses for Tensilica Inc to the LICENSE file.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 21:21:51 -05:00
Alin Jerpelea
bc5f0092f1
arch: x86: fix Mixed Case errors
...
Fix for Mixed Case errors reported by the nxstyle tool
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 21:21:51 -05:00
Gregory Nutt
a9e2195e65
Remove unused 'running' field from freerun lower half drivers.
...
That field is never used and, in most cases, is never initialized correctly.
This should have no impact to anything with the possible exception of free-running drivers.
Verified using CI builds only.
2021-04-07 20:35:50 -03:00
Matias N
bc8a6772f6
Documentation: migrate ESP32DevKit README into docs
2021-04-07 22:34:33 +01:00
Matias N
d3fe676d0a
Documentation: update pipenv to include sphinx-autobuild
2021-04-07 22:34:33 +01:00
Matias N
d88b5aac97
esp32: move common XTAL and RUN_IRAM configs to ESP32 KConfig
2021-04-07 21:45:48 +01:00
Alin Jerpelea
8e54d6862a
LICENSE: add 3rd party license for Free Software Foundation
...
Add 3rd party licenses for Free Software Foundation to the LICENSE file.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 10:48:26 -05:00
Alin Jerpelea
2c4e9e7664
arch: x86_64: fix Mixed Case errors
...
Fix for Mixed Case errors reported by nxstyle tool
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 10:48:26 -05:00
Alin Jerpelea
72fb895d41
arch: x86_64: fix nxstyle errors
...
Fix for errors reported by nxstyle tool
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 10:48:26 -05:00
Fotis Panagiotopoulos
ac7feda1bc
syslog: Proper uninit of syslog_device.
2021-04-07 08:38:53 -05:00
Alin Jerpelea
a1131a8175
LICENSE: add 3rd party license for Atmel Corporation
...
Add 3rd party licenses for Atmel Corporation to the LICENSE file.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 06:43:20 -05:00
Alin Jerpelea
abdc60e72f
arch: samXX: Gregory Nutt: update licenses to Apache
...
Gregory Nutt has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 06:43:20 -05:00
Alin Jerpelea
9be2db897d
arch: sam: move references from License header
...
for compliance references should be moved after the license header
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 06:43:20 -05:00
Alin Jerpelea
74cde4f9bf
arch: armv7-r: Gregory Nutt: update licenses to Apache
...
Gregory Nutt has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 06:43:20 -05:00
Alin Jerpelea
68cd957c62
arch: armv7-r: move references from License header
...
for compliance references should be moved after the license header
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 06:43:20 -05:00
Alin Jerpelea
ce08e0ca6c
arch: armv7-a: move references from License header
...
for compliance references should be moved after the license header
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 06:43:20 -05:00
Alexander Vasiljev
74230c5371
lib_fgets: don't check for printability, as it doesn't allow to work with extended ASCII
2021-04-07 08:29:46 -03:00
Xiang Xiao
bfbe705e3f
arch/arm: Fix nxstyle warning
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-07 16:18:27 +09:00
Xiang Xiao
eeb8931c04
arch/arm: align arm vector related code with armv7-a
...
commit 3c30c8b90b
Author: Xiang Xiao <xiaoxiang@xiaomi.com>
Date: Tue Apr 6 15:47:27 2021 +0800
arch/arm: Remove g_irqtmp, g_undeftmp and g_aborttmp
to avoid multiple CPU access them concurrently in SMP case
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-07 16:18:27 +09:00
Xiang Xiao
0779f34390
arch/arm: Add PSR_ prefix to the mode state like armv7-a
...
no real function change
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-07 16:18:27 +09:00
liuhaitao
bcaf5d75e5
libc: update stream getoffset to handle write case
...
Change-Id: I80b01b446446d5a631d40822f220a0177a95e7e6
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2021-04-07 00:59:36 -05:00
liuhaitao
dc14f89909
fs/romfs: fix open zero-byte file fail issue
...
N/A
Error log as below:
romfs_open: ERROR: Failed to locate start of file data: -5
Change-Id: I0594a84b727077606450dea3ea348cfc2390458b
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2021-04-07 00:57:08 -05:00
Anthony Merlino
01fabe6c67
stm32h7: Actually use the AXI SRAM as the main heap as the documentation describes.
...
The comments at the top of the file say this:
```
This will be automatically registered
* - AXI SRAM is a 512kb memory area. This will be automatically registered
* with the system heap in up_allocate_heap, all the other memory
* regions will be registered in arm_addregion().
```
but the implementation was using SRAM123 instead. Furthermore, arm_addregion then re-adds SRAM123 again.
2021-04-06 22:47:20 -05:00
Anthony Merlino
d69cd4ba03
stm32h7: Adds stm32_dbgmcu.h to match stm32f7 port.
2021-04-06 22:44:07 -05:00
Anthony Merlino
3a10f88bdf
stm32h7: Fixes bug in stm32_sdmmc.c where DCACHE guards were blocking a needed variable.
2021-04-06 22:43:27 -05:00
Anthony Merlino
068e71d0c6
stm32h7: Expose flash lock, unlock, and write protect functions to boards.
2021-04-06 22:42:52 -05:00
Anthony Merlino
028aca433c
Removes STM32_BOARD_HCLK from all board.h files. It is now unneccessary. Use STM32_HCLK_FREQUENCY instead.
2021-04-06 22:42:06 -05:00