Alin Jerpelea
f44001363d
AUTHORS: add Giorgio Groß to Authors file
...
Giorgio Groß submitted the ICLA
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-23 12:06:54 +01:00
chao.an
d93fb526c7
boards/sama5: update the reserved syscall count
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-02-23 15:04:29 +09:00
chao.an
6cc0aaf5b9
arch/arm: unify switch context from software interrupt
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-02-23 15:04:29 +09:00
chao.an
db3a40ac25
arch/armv7-r: unify switch context from software interrupt
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-02-23 15:04:29 +09:00
chao.an
61cd9dfca1
arch/armv7-a: unify switch context from software interrupt
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-02-23 15:04:29 +09:00
Piet
29c55cdda6
ci: harmonize rust installation paths.
2022-02-23 10:31:01 +08:00
Gregory Nutt
1ded8bbabb
Garbage configuration setting in EFM32 code
...
arch/arm/src/efm32/efm32_start.c:
/* For the case of the separate user-/kernel-space build, perform whatever
* platform specific initialization of the user memory is required.
* Normally this just means initializing the user space .data and .bss
* segments.
*/
#ifdef CONFIG_NUTTX_KERNEL
efm32_userspace();
showprogress('E');
#endif
But there is no CONFIG_NUTTX_KERNEL configuration setting. Comparing this to other architectures it is clear this should be
#ifdef CONFIG_BUILD_PROTECTED
2022-02-23 03:40:44 +08:00
Xiang Xiao
9836c6be9b
boards: Remove CONFIG_CLOCK_MONOTONIC from all defconfig
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-23 01:21:26 +08:00
Xiang Xiao
f1ed349dd9
sched/clock: Remove CLOCK_MONOTONIC option from Kconfig
...
here is the reason:
1.clock_systime_timespec(core function) always exist regardless the setting
2.CLOCK_MONOTONIC is a foundamental clock type required by many places
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-23 01:21:26 +08:00
zhuyanlin
7b00c8bdb8
arch:xtensa: modify svcall to swint
...
Reason: xtensa svcall only have level-1 interrupt level.
Sush do not generate interrupt when up_irq_save.
Software int can generate interrupt when up_irq_save.
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2022-02-22 14:06:24 -03:00
Xiang Xiao
a5a25f72ab
pty: Move the post process after reading the buffer
...
to simplify the code logic
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-22 16:17:07 +01:00
Xiang Xiao
630b55feec
serial/pty: Remove the TODO comment for O_NONBLOCK
...
since it is fully suppported now
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-22 09:34:57 -03:00
chao.an
0aa0022b12
arch/armv7-a: replace SYS_signal_handler_return hardcode
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-02-22 17:59:02 +08:00
chao.an
e0fabbfdd6
arch/arm: replace SYS_syscall_return hardcode from syscall
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-02-22 17:59:02 +08:00
Masayuki Ishikawa
6a1a7bf455
Revert "pm: remove unnecessary depends on OSINIT_OS_READY"
...
This reverts commit 8785673a70
.
2022-02-22 10:56:14 +01:00
Masayuki Ishikawa
fccdcf7011
Revert "os init_state: add new state OSINIT_IDLELOOP"
...
This reverts commit 051bb32010
.
2022-02-22 10:56:14 +01:00
Huang Qi
db260593f1
vncserver: Correct size calculation of rfb_setencodings_s
...
Fix
```
video/vnc/vnc_negotiate.c:426:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
DEBUGASSERT(nrecvd >= SIZEOF_RFB_SETENCODINGS_S(0));
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/huang/Work/nx/nuttx/include/nuttx/video/rfb.h:359:51: note: expanded from macro 'SIZEOF_RFB_SETENCODINGS_S'
(sizeof(struct rfb_setencodings_s) + (((n) - 1) << 2))
^
/home/huang/Work/nx/nuttx/include/assert.h:56:33: note: expanded from macro 'DEBUGASSERT'
~~~~~~~^~
/home/huang/Work/nx/nuttx/include/assert.h:51:37: note: expanded from macro 'ASSERT'
```
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-02-22 17:54:13 +08:00
ligd
051bb32010
os init_state: add new state OSINIT_IDLELOOP
...
This is for distinguish we are in init idle or idle loop.
Use for assertion for sem_trywait & sem_wait
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-02-22 07:58:55 +01:00
ligd
8785673a70
pm: remove unnecessary depends on OSINIT_OS_READY
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-02-22 07:58:55 +01:00
fangzhenwei
84b88205ab
serial/pty:Don't assert EBUSY when pty unregister driver
...
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2022-02-22 13:42:44 +08:00
fangzhenwei
88e871b13e
nuttx/pty: pty FIONBIO return -ENOTTY when pipe_ioctl return OK
...
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2022-02-22 13:42:44 +08:00
fangzhenwei
37730a1fce
nuttx/fcntl:pass O_NONBLOCK flag to ioctl
...
1. fix pty fcntl F_SETFL(O_NONBLOCK) fail issue
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2022-02-22 13:42:44 +08:00
fangzhenwei
c7c91488d1
nuttx/pty: pass read nonblock flag to pipe
...
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2022-02-22 13:42:44 +08:00
fangzhenwei
1afdb06981
nuttx/pty:pty FIONBIO pass to pipe control
...
1. pass FIONBIO ioctl to pipe
2. resolve the return value error
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2022-02-22 13:42:44 +08:00
YAMAMOTO Takashi
2d6774536e
.github/workflows/build.yml: Enable the "run" step in testbuild.sh
2022-02-22 13:30:57 +08:00
YAMAMOTO Takashi
3987d39be1
boards/sim/sim/sim/configs/ostest: Add a script to run ostest
2022-02-22 13:30:57 +08:00
YAMAMOTO Takashi
3aa83d6146
tools/testbuild.sh: Add an optional step to run NuttX
...
I plan to use this to run sim:ostest (and probably other tests later)
on the CI.
The script indirection might allow future non-sim usage as well.
(like running it with qemu, or even on the real hardware.)
I have no plan to do it by myself right now though.
2022-02-22 13:30:57 +08:00
YAMAMOTO Takashi
e5d7179e4c
boards/sim/sim/sim/configs/ostest/defconfig: Reduce the number of loops
...
I plan to run this on the CI. 100 is too much for the purpose.
2022-02-22 13:30:57 +08:00
YAMAMOTO Takashi
75c5ae1207
tools/README.txt: Update testbuild.sh help text
2022-02-22 13:30:57 +08:00
Piet
fbfe457ced
ci: add RUSTUP_HOME to get rustup parts into container
2022-02-21 18:45:47 -08:00
Piet
c5bdbc810d
ci: get rust copied to final image.
2022-02-21 16:58:29 -08:00
ligd
419bc2fd04
mm: handle take mm sem in IRQ
...
This is a fix of:
0169a51220
This is caused by wrong memory sem operation in IDLE.
Fix:
Obey the original design, don't check the IDLE in mm_takesemaphore()
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-02-21 23:41:06 +08:00
Alin Jerpelea
ee0a0735e3
LICENSE: document code found in drivers: sensors:
...
Document the licenses for non Apache code found in the mentioned folder
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-21 23:30:15 +08:00
Alin Jerpelea
21bf96e123
LICENSE: document code found in drivers: power:
...
Document the licenses for non Apache code found in the mentioned folder
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-21 23:30:15 +08:00
Alin Jerpelea
96a3209174
LICENSE: document code found in drivers: net:
...
Document the licenses for non Apache code found in the mentioned folder
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-21 23:30:15 +08:00
Alin Jerpelea
c95349f402
LICENSE: document code found in drivers: modem:
...
Document the licenses for non Apache code found in the mentioned folder
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-21 23:30:15 +08:00
Alin Jerpelea
fc55934271
LICENSE: document code found in drivers: lcd:
...
Document the licenses for non Apache code found in the mentioned folder
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-21 23:30:15 +08:00
Alin Jerpelea
25fcc7e4a6
LICENSE: document code found in drivers: i2c:
...
Document the licenses for non Apache code found in the mentioned folder
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-21 23:30:15 +08:00
Alin Jerpelea
3301fc76bc
LICENSE: document code found in drivers: analog:
...
Document the licenses for non Apache code found in the mentioned folder
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-21 23:30:15 +08:00
Piet
bc3c316f5b
ci: Install Rust via RUN. (2nd try)
2022-02-21 11:25:42 -03:00
Alan C. Assis
9480ec54eb
drivers: Fix DAC license, the copyright owner didn't modify any line
2022-02-21 14:35:44 +01:00
Alan C. Assis
4553406ad4
drivers: Fix ADC license, the copyright owner didn't modify any line
2022-02-21 14:35:44 +01:00
Petro Karashchenko
9b02a91c72
libc/sched/task_setcanceltype: fix function name in comment
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-02-21 20:32:49 +08:00
Petro Karashchenko
7744ca998f
Revert "ci: Install Rust via RUN."
...
This reverts commit 2e3b77da8e
.
2022-02-21 11:41:32 +01:00
Xiang Xiao
928d52f315
libc/machine: Implement ARM aeabi_xxx API called by clang
...
specified here:
https://developer.arm.com/documentation/ihi0043/latest
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-21 09:29:18 +01:00
Xiang Xiao
2f24d2c265
arch/ceva: Replace OUTDIR with TOPDIR
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-21 09:25:26 +01:00
Piet
2e3b77da8e
ci: Install Rust via RUN.
2022-02-21 11:04:58 +08:00
Xiang Xiao
2dcaab8af8
serial/pty: Remove the unused code related to CONFIG_PSEUDOTERM_FULLBLOCKS
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-20 21:22:24 +01:00
Xiang Xiao
163fe4ff0b
boards: Replace CONFIG_CYGWIN_WINTOOL with CONVERT_PATH
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-20 21:15:36 +01:00
Xiang Xiao
1d1bdd85a3
Remove the double blank line from source files
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-20 20:10:14 +01:00