chao.an
904348302a
sched/backtrace: simplify the assign of tcb in case of negative pid
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-08-20 13:11:45 -03:00
Sara Souza
e092c457e6
xtensa/lx7: Fix the CROSSDEV variable
2021-08-20 16:48:20 +02:00
Jiuzhu Dong
ccaea473f3
endian.h: add prefix for __LITTLE/__BIG_ENDIAN, __BYTE_ODRER
...
Change-Id: If072b69e37a89ccd6dc62e1d485b15703da029ac
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-08-20 07:47:07 -07:00
Jiuzhu Dong
1f93071370
byteswap.h: add byteswap.h header file
...
Change-Id: I2b00618f608efbb8834328823b5e0eaa66f42aba
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-08-20 07:47:07 -07:00
Xiang Xiao
af72376773
fs: Remove magic field from partition_info_s
...
since it is wrong and impossible to return file
system magic number from the block or mtd layer.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-20 09:19:52 -03:00
Antti Vähälummukka
3421a0be38
drivers/timers/Kconfig: Increase PWM_NCHANNELS range to 1..16
2021-08-20 08:56:30 -03:00
Antti Vähälummukka
6eb73ced51
arch/risc-v/src/mpfs: Add CorePWM driver
...
Add a driver for CorePWM block, which can be instantiated on PolarFire SOC FPGA
This supports 2 CorePWM blocks on the FPGA. One CorePWM block provides 8 PWM output signals
2021-08-20 08:56:30 -03:00
Alin Jerpelea
bed0f50182
Kconfig: add NuttX License setup for BSD components
...
This commit will add a build option to enable BSD code in License setup.
NOTE: When this option is enabled components with BSD licenses can be
added to the build. Please make sure that the licenses match your
project.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-20 01:45:00 -07:00
Alin Jerpelea
c7a2da8acf
update licenses to Apache
...
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-20 01:45:00 -07:00
chao.an
c19edbd08e
net/rpmsg: add nonblock connect(2) support
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-08-19 22:25:44 -07:00
chao.an
498830d3f4
net/rpmsg: fix typo in comment
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-08-19 22:25:44 -07:00
chao.an
afef9c2044
net/rpmsg: move the sync handshark to ns_bind callback
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-08-19 22:25:44 -07:00
chao.an
64e95dc1f5
net/rpmsg: simplify the socket timeout of connect
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-08-19 22:25:44 -07:00
Jiuzhu Dong
dc97ee9b36
fs/mount: fix crash becauseof bad release order
...
N/A
Change-Id: I850f0706f4554d140a86f935b8dce07d23beedaf
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-08-19 20:44:18 -07:00
Jiuzhu Dong
35b3898ce1
task_spawn: release g_spawn_parmsem and sched_unlock at the ending
...
Change-Id: Ifcb5b9921e82fc495c4457fdb5f0607f40b07fc0
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-08-19 20:43:54 -07:00
chao.an
9701a678bd
net/tcp: add nonblock connect(2) support
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-08-19 19:19:05 -07:00
chao.an
1a55d933ef
net/local: add nonblock connect(2) support
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-08-19 19:18:52 -07:00
chao.an
ee3980abd7
driver/pipe: add nonblock open support
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-08-19 19:18:52 -07:00
Abdelatif Guettouche
11ed9199c1
Documentation/esp32-wrover-kit: update the name of the GPIO interrupt
...
device.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-08-19 19:18:23 -07:00
Masayuki Ishikawa
cb167c3f7d
sched: Allow CONFIG_SMP_NCPUS=1 without CONFIG_DEBUG_FEATURES
...
Summary:
- This commit allows CONFIG_SMP_NCPUS=1 without CONFIG_DEBUG_FEATURES
Impact:
- None
Testing:
- Tested with sim:smp
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-08-19 19:17:56 -07:00
Xiang Xiao
4b41579ccf
arch/armv8-m: Add SAU support
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-20 10:22:43 +09:00
raiden00pl
06cf12617c
nucleo-f446re: add 3-phase Hall effect sensor support
2021-08-19 08:19:38 -07:00
raiden00pl
dbe4cd88dd
boards/stm32/common: add 3-phase Hall effect sensor common logic
2021-08-19 08:19:38 -07:00
raiden00pl
78962165d8
arch/stm32: add 3-phase Hall effect sensor lower half
2021-08-19 08:19:38 -07:00
raiden00pl
b30f5e146d
drivers/sensors: add an upper half 3-phase Hall effect sensor driver
2021-08-19 08:19:38 -07:00
Abdelatif Guettouche
15fb70cb00
libs/libxx: Download C++ libraries during context.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-08-19 03:05:54 -07:00
SPRESENSE
9732334b5d
net/socket: Fix bug that sendto did not return an error
...
When `tolen` is not 0 and `to` is NULL, it causes illegal buffer access.
Add a parameter check in this condition.
2021-08-19 01:31:05 -07:00
SPRESENSE
d17d877764
net/local: Fix receive data size calculation for local_recvmsg
...
In psock_dgram_recvfrom function, fix code logic.
2021-08-19 01:31:05 -07:00
chao.an
1060953567
sched/backtrace: add sched_backtrace support
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-08-19 01:30:50 -07:00
chao.an
83964231a5
libs/libc: move the backtrace implement to sched
...
1. move the backtrace implement to sched
2. rename CONFIG_UNWINDER to CONFIG_SCHED_BACKTRACE
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-08-19 01:30:50 -07:00
chao.an
0a8d951837
arch/arm: correct the frame pointer register declare
...
In AArch32, the frame pointer is stored in register R11 for ARM code or register R7 for Thumb code.
In AArch64, the frame pointer is stored in register X29.
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-08-19 01:26:07 -07:00
SPRESENSE
38bfadbeb9
drivers/sensors/bmp280.c: Correct bmp280 driver
...
There were some mistakes in porting to the common sensors, and they
caused the following problems.
- Hardfault by bmp280_set_interval
- Read data always zero
2021-08-18 23:22:21 -07:00
SPRESENSE
f8d036d70b
drivers/Makefile: Use the -include directive for platform/Make.defs
...
Since `platform` of `platform/Make.defs` is a symbolic link created during
the build process, we use -include directive instead of include for safety.
2021-08-18 23:21:47 -07:00
Abdelatif Guettouche
0ac02765bd
libs/libxx/uClibc++.defs: Download the correct file type.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-08-18 12:19:16 -07:00
Abdelatif Guettouche
cd0f64d779
xtensa/irq.h: Add a macro to convert to an IRQ from a peripheral ID.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-08-18 10:49:58 -03:00
Xiang Xiao
7dc31637aa
sama5d3x-ek/ov2640: Enable CONFIG_ALLOW_GPL_COMPONENT
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-18 13:48:45 +02:00
raiden00pl
532ec126e9
stm32/stm32_serial.c fix compile error when CONFIG_STM32_SERIALBRK_BSDCOMPAT=y.
...
Fix for https://github.com/apache/incubator-nuttx/issues/4353
2021-08-18 04:43:32 -07:00
Abdelatif Guettouche
52f32cb367
boards/xtensa/esp32: Don't include esp32_cpuint.h, it's not needed.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-08-18 04:42:18 -07:00
Abdelatif Guettouche
a220766d57
xtensa.h: Remove unused function prototype.
...
ESP32 uses a different function to start the app CPU and no other xtensa
CPU uses this __cpu1_start function.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-08-18 04:41:40 -07:00
chao.an
e37d8da074
riscv/common: add CURRENT_REGS declare in RV32
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-08-18 04:40:38 -07:00
Alin Jerpelea
ef4ba8cb6c
drivers: lcd: update licenses to Apache
...
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-17 19:52:31 -07:00
Alin Jerpelea
50976fef14
Uniquix Ltda: update licenses to Apache
...
Uniquix Ltda has submitted the SGA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-17 19:52:31 -07:00
Alin Jerpelea
418919b4b6
LICENSE: add remaining Silicon Laboratories files
...
In the remaining Silicon Laboratories files to the LICENSE
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-17 19:52:31 -07:00
Alin Jerpelea
9cb132e797
drivers: video: ov2640: add GPL build barrier
...
Exclude the ov2640 driver from build unless the license is set to
allow GPL code in the build.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-17 19:48:45 -07:00
Alin Jerpelea
b0c860ea9b
Kconfig: add NuttX License setup
...
This commit will add License setup as a barrier for non Apache/BSD/MIT
code.
NOTE: When this option is enabled components with GPL licenses can be
added to the build. Please make sure that the licenses match your
project.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-17 19:48:45 -07:00
Alin Jerpelea
dc7b9b8dbb
include: can: move error.h to apps/canutils
...
This file is used by the libcanutils and can be isolated in apps
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-17 06:28:12 -07:00
Juha Niskanen
e02e1c25f6
arch/arm/src/stm32l4/Kconfig: add new STM32L4+ chip types
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
Change-Id: I74050913643db23b4d03abaf516989ff3cdac142
2021-08-17 06:27:18 -07:00
liuhaitao
0c0a43c47b
mtd: include nuttx/fs/fs.h explicitly
...
To fix struct partition_info_s undefined type issue.
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
Change-Id: I7c67d0e2f84f4251574a13c22f3bd917742975ea
2021-08-17 00:10:14 -07:00
Alin Jerpelea
4b20cf30c0
arch: misoc: update licenses to Apache
...
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-16 07:11:32 -07:00
Alin Jerpelea
2d254eb7fb
boards: rx65n: update licenses to Apache
...
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-16 07:11:32 -07:00