Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync code form master #1

Merged
merged 150 commits into from
Feb 24, 2022
Merged

sync code form master #1

merged 150 commits into from
Feb 24, 2022

Commits on Feb 15, 2022

  1. mtd/filemtd: improve write and erase access

    Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
    pkarashchenko authored and xiaoxiang781216 committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    a1f6717 View commit details
    Browse the repository at this point in the history
  2. arch/sim: Always typedef xcpt_reg_t to unsigned long

    to simplify the code logic
    
    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and pkarashchenko committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    e1879e3 View commit details
    Browse the repository at this point in the history
  3. arch/sim: Remove 08 from the format string in up_vfork

    to make the code more general for both x86 and x64.
    
    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and pkarashchenko committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    6b02e32 View commit details
    Browse the repository at this point in the history
  4. boards: sabre-6quad: Add -fno-common to Make.defs

    Summary:
    - I noticed that the following error happened when loading the init
      'elf_symvalue: SHN_COMMON: Re-compile with -fno-common'
    - This commit fixes this issue
    
    Impact:
    - sabre-6quad only
    
    Testings:
    - Tested with sabre-6quad:netknsh (not merged yet)
    
    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
    masayuki2009 authored and xiaoxiang781216 committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    de8f442 View commit details
    Browse the repository at this point in the history
  5. boards: sama5d4-ek: Move -fno-common option to previous ARCHCFLAGS/AR…

    …CHCXXFLAGS
    
    Summary:
    - Apply the same style as sabre-6quad
    
    Impact:
    - None
    
    Testing:
    - Build only
    
    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
    masayuki2009 authored and xiaoxiang781216 committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    85a339e View commit details
    Browse the repository at this point in the history
  6. boards: risc-v: Move -fno-common option to ARCHCFLAGS/ARCHCXXFLAGS

    Summary:
    - Apply the same style as sabre-6quad
    
    Impact:
    - None
    - NOTE: esp32c3-devkit still remains old style because of link errors
    
    Testing:
    - Build only
    
    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
    masayuki2009 authored and xiaoxiang781216 committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    613cbbf View commit details
    Browse the repository at this point in the history
  7. arch: rt8920c: Move -fno-common option to ARCHCFLAGS/ARCHCXXFLAGS

    Summary:
    - Apply the same style as sabre-6quad
    
    Impact:
    - None
    
    Testing:
    - Build only
    
    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
    masayuki2009 authored and xiaoxiang781216 committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    e7cb1b4 View commit details
    Browse the repository at this point in the history
  8. arch: armv7-a: Add debug messages for addrenv

    Summary:
    - This commit adds debug messages for addrenv
    
    Impact:
    - None
    
    Testing:
    - Tested with sabre-6quad:netknsh (not merged yet)
    
    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
    masayuki2009 authored and xiaoxiang781216 committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    34cf694 View commit details
    Browse the repository at this point in the history
  9. Fix jlink-nuttx build with GCC 10.2

    The packed-attribute on the tcb_info_s type was misplaced, which caused
    incompatible memory layout between host and target.  According to
    current GCC documentation:
    
    > You may specify type attributes in an enum, struct or union type
    > declaration or definition by placing them immediately after the struct,
    > union or enum keyword.  You can also place them just past the closing
    > curly brace of the definition, but this is less preferred because
    > logically the type should be fully defined at the closing brace.
    
    I also added jlink-nuttx.so to the .gitignore list and updated nxstyle
    to ignore the camel case function names required by JLinkGDBServer.
    
    Signed-off-by: Michael Jung <mijung@gmx.net>
    michi-jung authored and pkarashchenko committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    0a37744 View commit details
    Browse the repository at this point in the history
  10. boards: Remove -D__NuttX__ from the individual Make.defs

    since it is defined globally in tools/Config.mk now
    
    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and pkarashchenko committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    b0fa232 View commit details
    Browse the repository at this point in the history
  11. Fix the minor style issue

    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and pkarashchenko committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    db57e2c View commit details
    Browse the repository at this point in the history
  12. Fix JLinkGDBServer crash attaching to target

    If attaching to a target that is already running JLinkGDBServer calls
    RTOS_GetNumThreads() without a prior call to RTOS_UpdateThreads().  So
    do this within RTOS_GetNumThreads() if g_plugin_priv.ntcb has not yet
    been initialized.
    
    Note: If after attaching the debugger to the target, the target is
    resumed and then stopped again, the RTOS_UpdateThreads is actually
    called.  Thus, we are not running on stale thread data in this case.
    
    I also changed PLUGIN_VER to API_VER and its value to 101, as
    RTOS_GetVersion() does not query the version of the plugin, but the API
    version implemented by the plugin, which in our case is 1.1.
    
    Signed-off-by: Michael Jung <mijung@gmx.net>
    michi-jung authored and xiaoxiang781216 committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    fd8b087 View commit details
    Browse the repository at this point in the history
  13. libdsp/lib_observer.c: separate angle observer from speed observer

    They can be used completely independently, so they should'n be coupled.
    For example, a sensored motor controller in speed control mode doesn't need an angle estimator.
    raiden00pl authored and xiaoxiang781216 committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    26f1be2 View commit details
    Browse the repository at this point in the history
  14. libdsp/lib_observer.c: update some comments

    The angle observer always refer to a motor electrical angle,
    while the speed observer can be applied to a motor electrical speed or a motor mechanical speed.
    raiden00pl authored and xiaoxiang781216 committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    01cbe91 View commit details
    Browse the repository at this point in the history
  15. libdsp/lib_observer.c: remove dir argument from speed observers

    We can automatically detect the direction of movement from angle diff
    raiden00pl authored and xiaoxiang781216 committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    31ffa6d View commit details
    Browse the repository at this point in the history
  16. libdsp: cosmetics changes from code review

    Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
    2 people authored and xiaoxiang781216 committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    5f50547 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2022

  1. libc/sim: Rename arch_setjmp[64].S to arch_setjmp_x86[_64].S

    to follow other arch/x86 arch/x86_64 convention
    
    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    5f67662 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1d89d9a View commit details
    Browse the repository at this point in the history
  3. register_driver: fix driver modes accross the code

    State of problem:
     - Some drivers that do not support write operations (does not
       have write handler or ioctl do not perform any write actions)
       are registered with write permissions
     - Some drivers that do not support read operation (does not
       have read handler or ioctl do not perform any read actions)
       are registered with read permissions
     - Some drivers are registered with execute permissions
    
    Solution:
     - Iterate code where register_driver() is used and change 'mode'
       parameter to reflect the actual read/write operations executed
       by a driver
     - Remove execute permissions from 'mode' parameter
    
    Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
    pkarashchenko authored and xiaoxiang781216 committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    41c95da View commit details
    Browse the repository at this point in the history
  4. arch: armv7-a: Fix arm_syscall for SYS_pthread_start

    Summary:
    - I noticed that pthread always crashes when started
      if CONFIG_BUILD_KERNEL=y
    - This commit fixes this issue
    
    Impact:
    - None
    
    Testing:
    - Tested with sabre-6quad:netknsh (not merged yet)
    
    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
    masayuki2009 authored and pkarashchenko committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    b60b612 View commit details
    Browse the repository at this point in the history
  5. mm: handle take mm sem in IRQ

    Signed-off-by: ligd <liguiding1@xiaomi.com>
    GUIDINGLI authored and acassis committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    0169a51 View commit details
    Browse the repository at this point in the history
  6. vncserver: Fix dead lock on re-connect

    `vnc_remove_queue` would waiting for new frame update request forever
    even if the connection is lost, the updater thread wouldn't exit.
    But the server thread will join updater thread before accept new client
    connection, then we can't re-conncet to vnc server.
    
    Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
    no1wudi authored and xiaoxiang781216 committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    ccc708a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cf008c9 View commit details
    Browse the repository at this point in the history
  8. include/nuttx/motor: add registers definitions for DRV8301 - 3-phase …

    …smart gate driver
    
    This is intended to use in a board-specific logic and depends highly on a custom application.
    That's why no common driver logic is provided for now.
    raiden00pl authored and xiaoxiang781216 committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    7675be7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c1ea377 View commit details
    Browse the repository at this point in the history
  10. boards/rv-virt: Supports FPU test and ostest in both rv32/rv64

    Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
    no1wudi authored and xiaoxiang781216 committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    f40a673 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    68a3054 View commit details
    Browse the repository at this point in the history
  12. Remove duplicate linker script definitions

     ## Summary
    A lot of linker scripts were listed twice, once for unix, once for windows.
    
    This PR cleans up the logic so they're only listed once.
    
     ## Impact
    Any opportunity to use a single source of truth and reduce lines of code is a win!
    
     ## Testing
    CI will test all build
    AlanRosenthal authored and xiaoxiang781216 committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    8defb84 View commit details
    Browse the repository at this point in the history
  13. Add CONFIG_NDEBUG Kconfig to control NDEBUG definition

    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and davids5 committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    d056834 View commit details
    Browse the repository at this point in the history
  14. sim/nimble: Enable assert

    until this patch get merged:
    apache/mynewt-nimble#1161
    
    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and davids5 committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    844ce47 View commit details
    Browse the repository at this point in the history
  15. arch/sparc: Replace adj_stack_ptr with stack_base_ptr

    since adj_stack_ptr doesn't exist anymore
    
    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and acassis committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    1d96305 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2022

  1. Configuration menu
    Copy the full SHA
    6abdf73 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7fcfe40 View commit details
    Browse the repository at this point in the history
  3. arch/sim/src/Makefile: Fix build issues with clang on linux

    This commit fixes at least two issues.
    
    * Fix a build with clang on linux
    
    ```
    /usr/bin/ld: cannot open linker script file nuttx.ld: No such file or directory
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    ```
    
    * Restore symbol renaming for clang on linux
    
    I guess it actually depends on the linker.
    For now, use CONFIG_HOST_MACOS.
    
    This fixed the following crash seen with sim/linux built with clang.
    
    ```
        #135462 0x0000000000404a81 in nxtask_exithook (tcb=0x48f310 <g_idletcb>, status=1, nonblocking=0 '\000') at task/task_exithook.c:618
        #135463 0x0000000000402aed in exit (status=1) at task/exit.c:103
        #135464 0x0000000000475833 in host_abort (status=1) at sim/up_hostmisc.c:48
        #135465 0x000000000040e6c6 in up_assert (filename=0x47b167 "semaphore/sem_wait.c", lineno=113) at sim/up_assert.c:126
        #135466 0x000000000040850b in _assert (filename=0x47b167 "semaphore/sem_wait.c", linenum=113) at assert/lib_assert.c:36
        #135467 0x0000000000403a40 in nxsem_wait (sem=0x7fca38b1c2d0) at semaphore/sem_wait.c:113
        #135468 0x0000000000403b43 in sem_wait (sem=0x7fca38b1c2d0) at semaphore/sem_wait.c:271
        #135469 0x000000000040aad3 in lib_stream_semtake (list=0x7fca38b1c2d0) at stdio/lib_libstream.c:159
        #135470 0x000000000040a8e7 in lib_flushall (list=0x7fca38b1c2d0) at stdio/lib_libflushall.c:61
        #135471 0x0000000000404c3c in nxtask_flushstreams (tcb=0x48f310 <g_idletcb>) at task/task_exithook.c:520
        #135472 0x0000000000404a81 in nxtask_exithook (tcb=0x48f310 <g_idletcb>, status=1, nonblocking=0 '\000') at task/task_exithook.c:618
        #135473 0x0000000000402aed in exit (status=1) at task/exit.c:103
        #135474 0x0000000000475833 in host_abort (status=1) at sim/up_hostmisc.c:48
        #135475 0x000000000040e6c6 in up_assert (filename=0x47b167 "semaphore/sem_wait.c", lineno=113) at sim/up_assert.c:126
        #135476 0x000000000040850b in _assert (filename=0x47b167 "semaphore/sem_wait.c", linenum=113) at assert/lib_assert.c:36
        #135477 0x0000000000403a40 in nxsem_wait (sem=0x7fca38b1c2d0) at semaphore/sem_wait.c:113
        #135478 0x0000000000403b43 in sem_wait (sem=0x7fca38b1c2d0) at semaphore/sem_wait.c:271
        #135479 0x000000000040aad3 in lib_stream_semtake (list=0x7fca38b1c2d0) at stdio/lib_libstream.c:159
        #135480 0x000000000040a8e7 in lib_flushall (list=0x7fca38b1c2d0) at stdio/lib_libflushall.c:61
        #135481 0x0000000000404c3c in nxtask_flushstreams (tcb=0x48f310 <g_idletcb>) at task/task_exithook.c:520
    
    ```
    yamt authored and xiaoxiang781216 committed Feb 17, 2022
    Configuration menu
    Copy the full SHA
    85af0f3 View commit details
    Browse the repository at this point in the history
  4. arch/ceva: Remove B2C and C2B

    since TL420 doesn't support anymore, we
    can safely remove the special hack for it
    
    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and masayuki2009 committed Feb 17, 2022
    Configuration menu
    Copy the full SHA
    4bc5b24 View commit details
    Browse the repository at this point in the history
  5. arch/ceva: Update tls handle to the latest mainline

    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and masayuki2009 committed Feb 17, 2022
    Configuration menu
    Copy the full SHA
    f8df491 View commit details
    Browse the repository at this point in the history
  6. arch/ceva: Mark the allocated stack with TCB_FLAG_FREE_STACK

    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and masayuki2009 committed Feb 17, 2022
    Configuration menu
    Copy the full SHA
    814cab1 View commit details
    Browse the repository at this point in the history
  7. arch/ceva: Replace adj_stack_ptr with stack_base_ptr

    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and masayuki2009 committed Feb 17, 2022
    Configuration menu
    Copy the full SHA
    69a6072 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    bc12260 View commit details
    Browse the repository at this point in the history
  9. binfmt: Call umm_initialize() for BUILD_KERNEL & ADDRENV

    Summary:
    - I noticed that the user heap is not initialized correctly
      if BUILD_KERNEL=y and ADDRENV=y
    - This commit fixes this issue
    
    Impact:
    - None
    
    Testing:
    - Tested with sabre-6quad:netknsh (not merged yet)
    
    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
    masayuki2009 authored and pkarashchenko committed Feb 17, 2022
    Configuration menu
    Copy the full SHA
    a44a0a0 View commit details
    Browse the repository at this point in the history
  10. mm: umm_heap: Fix umm_heap for BUILD_KERNEL & ADDRENV

    Summary:
    - I noticed that the user heap is corrupted
    - This commit fixes this issue by reverting the change to
      the NuttX-9.0.0
    
    Impact:
    - None
    
    Testing:
    - sabre6-quad:netknsh (not merged yet)
    
    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
    Co-authored-by: Oki Minabe <minabe.oki@gmail.com>
    2 people authored and pkarashchenko committed Feb 17, 2022
    Configuration menu
    Copy the full SHA
    41d6203 View commit details
    Browse the repository at this point in the history
  11. sched/semaphore/sem_clockwait: fix typo in comment

    Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
    pkarashchenko authored and Ouss4 committed Feb 17, 2022
    Configuration menu
    Copy the full SHA
    7933442 View commit details
    Browse the repository at this point in the history
  12. libs/libnx: handle the bad message correctly

    Signed-off-by: chao.an <anchao@xiaomi.com>
    anchao authored and pkarashchenko committed Feb 17, 2022
    Configuration menu
    Copy the full SHA
    4824ea6 View commit details
    Browse the repository at this point in the history
  13. mm/iob: add support of alloc with timeout iob_timedalloc()

    Signed-off-by: chao.an <anchao@xiaomi.com>
    anchao authored and acassis committed Feb 17, 2022
    Configuration menu
    Copy the full SHA
    0b18cfb View commit details
    Browse the repository at this point in the history
  14. net/socket: fix shadow variable

    socket/setsockopt.c: In function ‘psock_socketlevel_option’:
    socket/setsockopt.c:168:38: warning: declaration of ‘conn’ shadows a previous local [-Wshadow]
      168 |               FAR struct tcp_conn_s *conn;
          |                                      ^~~~
    
    Signed-off-by: chao.an <anchao@xiaomi.com>
    anchao authored and pkarashchenko committed Feb 17, 2022
    Configuration menu
    Copy the full SHA
    c73df52 View commit details
    Browse the repository at this point in the history
  15. Default macro to compile one Rust file

    Piet authored and acassis committed Feb 17, 2022
    Configuration menu
    Copy the full SHA
    8828a43 View commit details
    Browse the repository at this point in the history
  16. net/ioballoc: add support of alloc with timeout net_iobtimedalloc()

    Signed-off-by: chao.an <anchao@xiaomi.com>
    anchao authored and pkarashchenko committed Feb 17, 2022
    Configuration menu
    Copy the full SHA
    a92d5f6 View commit details
    Browse the repository at this point in the history
  17. net/tcp: add interface tcp_wrbuffer_timedalloc()

    add new interface to support alloc wrbuffer with timeout
    
    Signed-off-by: chao.an <anchao@xiaomi.com>
    anchao authored and pkarashchenko committed Feb 17, 2022
    Configuration menu
    Copy the full SHA
    1911ae2 View commit details
    Browse the repository at this point in the history
  18. drivers/pipe: Fix the format style issue

    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and pkarashchenko committed Feb 17, 2022
    Configuration menu
    Copy the full SHA
    fe04eb5 View commit details
    Browse the repository at this point in the history
  19. drivers/pipe: Don't use sched_[lock|unlock] to do protection

    since the sched lock can't work in SMP context
    
    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and pkarashchenko committed Feb 17, 2022
    Configuration menu
    Copy the full SHA
    e0ae296 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2022

  1. Configuration menu
    Copy the full SHA
    9791249 View commit details
    Browse the repository at this point in the history
  2. risc-v: Rename up_fault to riscv_fault

    Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
    no1wudi authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    7c18290 View commit details
    Browse the repository at this point in the history
  3. risc-v: Support more than 2 cores in riscv_cpu_boot

    Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
    no1wudi authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    36ff081 View commit details
    Browse the repository at this point in the history
  4. risc-v/qemu-rv: Supports SMP up to 8 cores

    Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
    no1wudi authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    0c5aff9 View commit details
    Browse the repository at this point in the history
  5. esp32_irq.c: Move interrupt initialisation for special drivers to

    `up_irqinitialize`.  `esp32_cpuint_initialize` is not a good place as
    it's also called from CPU1.
    
    Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
    Ouss4 authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    3d2771c View commit details
    Browse the repository at this point in the history
  6. esp32_irq.c: For internal interrupts use the current CPU to enable them.

    Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
    Ouss4 authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    17e43b0 View commit details
    Browse the repository at this point in the history
  7. esp32_irq.c: Don't reserve BT and Wifi CPU interrupts for APP CPU as

    they are attached to the PRO CPU.
    
    Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
    Ouss4 authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    ee88235 View commit details
    Browse the repository at this point in the history
  8. esp32xx_irq.c: Fix CPU interrupt documentation to remove the MAC

    interrupt from the internal interrupt table.
    
    Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
    Ouss4 authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    ab18b7b View commit details
    Browse the repository at this point in the history
  9. sim/usrsock: correct the xid type to uint64_t

    Signed-off-by: chao.an <anchao@xiaomi.com>
    anchao authored and pkarashchenko committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    5da5ffb View commit details
    Browse the repository at this point in the history
  10. tools/mkallsyms.sh: Disable the mismatch warning of builtin declaration

    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and pkarashchenko committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    848d1ef View commit details
    Browse the repository at this point in the history
  11. net/tcp: add support for send timeout on buffer mode

    Signed-off-by: chao.an <anchao@xiaomi.com>
    anchao authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    f073ed3 View commit details
    Browse the repository at this point in the history
  12. devif/ipv6_input.c: fix compile warning

    devif/ipv6_input.c: In function ‘ipv6_input’:
    devif/ipv6_input.c:344:32: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
      344 |       if ((ipv6->destipaddr[0] & HTONS(0xff0f) != HTONS(0xff00)) &&
          |                                ^
    devif/ipv6_input.c:345:32: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
      345 |           (ipv6->destipaddr[0] & HTONS(0xff0f) != HTONS(0xff01)) &&
          |                                ^
    devif/ipv6_input.c:346:32: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
      346 |           (ipv6->destipaddr[0] & HTONS(0xff0f) != HTONS(0xff02)))
          |                                ^
    
    Signed-off-by: chao.an <anchao@xiaomi.com>
    anchao authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    61fa5d7 View commit details
    Browse the repository at this point in the history
  13. drivers/ioexpander: minor initialize and styling fixes

    Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
    pkarashchenko authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    27d75e7 View commit details
    Browse the repository at this point in the history
  14. fix the style issue report

    liuzhao committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    2b7c83c View commit details
    Browse the repository at this point in the history
  15. fix the style issue report

    liuzhao committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    17e6eb1 View commit details
    Browse the repository at this point in the history
  16. boards: Add missing options to sim:vncserver

    Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
    no1wudi authored and acassis committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    928b90b View commit details
    Browse the repository at this point in the history
  17. arch/sim: Fix usrsock build break on macOS

    Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
    no1wudi authored and acassis committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    da25883 View commit details
    Browse the repository at this point in the history
  18. LICENSE: document code found in arch: arm: am335x

    Document the licenses for non Apache code found in the mentioned folder
    
    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
    jerpelea authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    5773d0a View commit details
    Browse the repository at this point in the history
  19. LICENSE: document code found in arch: arm: inxrt: hardware

    Document the licenses for non Apache code found in the mentioned folder
    
    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
    jerpelea authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    36205be View commit details
    Browse the repository at this point in the history
  20. LICENSE: document code found in arch: arm: inxrt:

    Document the licenses for non Apache code found in the mentioned folder
    
    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
    jerpelea authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    e86b3a7 View commit details
    Browse the repository at this point in the history
  21. LICENSE: document code found in arch: arm: kinetis:

    Document the licenses for non Apache code found in the mentioned folder
    
    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
    jerpelea authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    4af324c View commit details
    Browse the repository at this point in the history
  22. LICENSE: document code found in arch: arm: kl:

    Document the licenses for non Apache code found in the mentioned folder
    
    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
    jerpelea authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    1c38b9e View commit details
    Browse the repository at this point in the history
  23. LICENSE: document code found in arch: arm: nrf52:

    Document the licenses for non Apache code found in the mentioned folder
    
    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
    jerpelea authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    addda51 View commit details
    Browse the repository at this point in the history
  24. LICENSE: document code found in arch: arm: phy62xx:

    Document the licenses for non Apache code found in the mentioned folder
    
    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
    jerpelea authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    da8ba00 View commit details
    Browse the repository at this point in the history
  25. LICENSE: document code found in arch: arm: rp2040:

    Document the licenses for non Apache code found in the mentioned folder
    
    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
    jerpelea authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    0099001 View commit details
    Browse the repository at this point in the history
  26. LICENSE: document code found in arch: arm: s32k1xx:

    Document the licenses for non Apache code found in the mentioned folder
    
    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
    jerpelea authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    2c3ec76 View commit details
    Browse the repository at this point in the history
  27. LICENSE: document code found in arch: arm: stm32:

    Document the licenses for non Apache code found in the mentioned folder
    
    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
    jerpelea authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    f55f366 View commit details
    Browse the repository at this point in the history
  28. LICENSE: document code found in arch: arm: stm32f0l0g0:

    Document the licenses for non Apache code found in the mentioned folder
    
    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
    jerpelea authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    9899d36 View commit details
    Browse the repository at this point in the history
  29. LICENSE: document code found in arch: arm: stm32f7/stm32h7:

    Document the licenses for non Apache code found in the mentioned folder
    
    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
    jerpelea authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    1e20bdd View commit details
    Browse the repository at this point in the history
  30. LICENSE: document code found in arch: arm: stm32l4:

    Document the licenses for non Apache code found in the mentioned folder
    
    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
    jerpelea authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    32038f6 View commit details
    Browse the repository at this point in the history
  31. LICENSE: document code found in arch: arm: lc823450:

    Document the licenses for non Apache code found in the mentioned folder
    
    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
    jerpelea authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    b2048f9 View commit details
    Browse the repository at this point in the history
  32. semaphore: fix corner case sem_waitirq assert crash

    [   11.041077] [25] [ EMERG] [ap] up_assert: Assertion failed at file:semaphore/sem_waitirq.c line: 84 task: thermal service
    [   11.041407] [25] [ EMERG] [ap] backtrace:
    [   11.041517] [25] [ EMERG] [ap] [25] [<0x2c687c9e>] up_backtrace+0xa/0x164
    [   11.041627] [25] [ EMERG] [ap] [25] [<0x2c676e6c>] sched_dumpstack+0x1c/0x5c
    [   11.041682] [25] [ EMERG] [ap] [25] [<0x2c68763a>] up_assert+0x42/0x24c
    [   11.041792] [25] [ EMERG] [ap] [25] [<0x2c67355e>] _assert+0x2/0xc
    [   11.041847] [25] [ EMERG] [ap] [25] [<0x2c65d536>] nxsem_wait_irq+0x3e/0x134
    [   11.042288] [25] [ EMERG] [ap] [25] [<0x2c65d378>] nxsem_timeout+0x24/0x34
    [   11.043169] [25] [ EMERG] [ap] [25] [<0x2c65f74c>] wd_timer+0xc0/0x104
    [   11.043995] [25] [ EMERG] [ap] [25] [<0x2c65c930>] nxsched_alarm_expiration+0x4c/0xdc
    [   11.044986] [25] [ EMERG] [ap] [25] [<0x2c670872>] oneshot_callback+0x16/0x24
    [   11.045867] [25] [ EMERG] [ap] [25] [<0x2c6822b8>] bes_oneshot_irq_handler+0x18/0x28
    [   11.046858] [25] [ EMERG] [ap] [25] [<0x57e5c>] up_irq_handler+0x4/0xc
    [   11.047684] [25] [ EMERG] [ap] [25] [<0x2c65a20e>] irq_dispatch+0x5a/0xb8
    [   11.048510] [25] [ EMERG] [ap] [25] [<0x2c6864d8>] arm_doirq+0x28/0x3c
    [   11.049336] [25] [ EMERG] [ap] [25] [<0x2c681732>] exception_common+0x4a/0xac
    [   11.050272] [25] [ EMERG] [ap] [25] [<0x2c65a324>] leave_critical_section+0x2c/0x54
    [   11.051208] [25] [ EMERG] [ap] [25] [<0x2c65f472>] timer_settime+0x9e/0x10c
    
    There are 2 ways can caused this:
    1. sem_timedwait
       HW IRQ sem_post
       TIMER IRQ do wd_timer -> nxsem_timeout -> crash
    
       Note: The 2 IRQS happens amost at same time
    
    2. sem_timedwait
       TIMER IRQ do wd_timer -> wd_func1 sem_post
                             -> wd_func2 nxsem_timeout -> crash
    
    Resolve:
    Stop the watchdog when sem_post
    
    Signed-off-by: ligd <liguiding1@xiaomi.com>
    GUIDINGLI authored and xiaoxiang781216 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    756c9fb View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    baa4bf1 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2022

  1. Configuration menu
    Copy the full SHA
    9739be1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    682984e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    484eb17 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e9bd959 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2022

  1. ci: add Rust compiler suite

    Piet authored and xiaoxiang781216 committed Feb 20, 2022
    Configuration menu
    Copy the full SHA
    bb3d8c3 View commit details
    Browse the repository at this point in the history
  2. arm/rtl8720c: Remove the unused Toolchain.defs

    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and pkarashchenko committed Feb 20, 2022
    Configuration menu
    Copy the full SHA
    d29f3bd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    19e5c8f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e9a94a0 View commit details
    Browse the repository at this point in the history
  5. sim: defconfig for hello_rust based on sim:nsh

    Piet authored and xiaoxiang781216 committed Feb 20, 2022
    Configuration menu
    Copy the full SHA
    2ed4ab6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ca4790c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1366e14 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7126b82 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4e27f4a View commit details
    Browse the repository at this point in the history
  10. input: Add x11_xf86keysym.h header file

    from:
    https://github.com/freedesktop/xorg-x11proto/blob/master/XF86keysym.h
    
    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and pkarashchenko committed Feb 20, 2022
    Configuration menu
    Copy the full SHA
    4de3ec6 View commit details
    Browse the repository at this point in the history
  11. sched: Mark pthread as non-cancelable to avoid additional calls to pt…

    …hread_exit()
    
    Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
    no1wudi authored and pkarashchenko committed Feb 20, 2022
    Configuration menu
    Copy the full SHA
    f452dd7 View commit details
    Browse the repository at this point in the history
  12. boards: Remove the unnecessary customize Make.defs

    since the general Make.defs in scripts folder is enough
    
    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and pkarashchenko committed Feb 20, 2022
    Configuration menu
    Copy the full SHA
    7047ba1 View commit details
    Browse the repository at this point in the history
  13. boards/sim: Rename ARCHCPUFLAGS[XX] to ARCHC[XX]FLAGS

    follow other board files usage
    
    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and pkarashchenko committed Feb 20, 2022
    Configuration menu
    Copy the full SHA
    746b68b View commit details
    Browse the repository at this point in the history
  14. Remove the double blank line from source files

    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and pkarashchenko committed Feb 20, 2022
    Configuration menu
    Copy the full SHA
    1d1bdd8 View commit details
    Browse the repository at this point in the history
  15. boards: Replace CONFIG_CYGWIN_WINTOOL with CONVERT_PATH

    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and pkarashchenko committed Feb 20, 2022
    Configuration menu
    Copy the full SHA
    163fe4f View commit details
    Browse the repository at this point in the history
  16. serial/pty: Remove the unused code related to CONFIG_PSEUDOTERM_FULLB…

    …LOCKS
    
    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and pkarashchenko committed Feb 20, 2022
    Configuration menu
    Copy the full SHA
    2dcaab8 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2022

  1. ci: Install Rust via RUN.

    Piet authored and xiaoxiang781216 committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    2e3b77d View commit details
    Browse the repository at this point in the history
  2. arch/ceva: Replace OUTDIR with TOPDIR

    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and pkarashchenko committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    2f24d2c View commit details
    Browse the repository at this point in the history
  3. 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>
    xiaoxiang781216 authored and pkarashchenko committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    928d52f View commit details
    Browse the repository at this point in the history
  4. Revert "ci: Install Rust via RUN."

    This reverts commit 2e3b77d.
    pkarashchenko committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    7744ca9 View commit details
    Browse the repository at this point in the history
  5. libc/sched/task_setcanceltype: fix function name in comment

    Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
    pkarashchenko authored and xiaoxiang781216 committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    9b02a91 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4553406 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9480ec5 View commit details
    Browse the repository at this point in the history
  8. ci: Install Rust via RUN. (2nd try)

    Piet authored and acassis committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    bc3c316 View commit details
    Browse the repository at this point in the history
  9. 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>
    jerpelea authored and xiaoxiang781216 committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    3301fc7 View commit details
    Browse the repository at this point in the history
  10. 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>
    jerpelea authored and xiaoxiang781216 committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    25fcc7e View commit details
    Browse the repository at this point in the history
  11. 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>
    jerpelea authored and xiaoxiang781216 committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    fc55934 View commit details
    Browse the repository at this point in the history
  12. 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>
    jerpelea authored and xiaoxiang781216 committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    c95349f View commit details
    Browse the repository at this point in the history
  13. 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>
    jerpelea authored and xiaoxiang781216 committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    96a3209 View commit details
    Browse the repository at this point in the history
  14. 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>
    jerpelea authored and xiaoxiang781216 committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    21bf96e View commit details
    Browse the repository at this point in the history
  15. 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>
    jerpelea authored and xiaoxiang781216 committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    ee0a073 View commit details
    Browse the repository at this point in the history
  16. mm: handle take mm sem in IRQ

    This is a fix of:
    0169a51
    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>
    GUIDINGLI authored and xiaoxiang781216 committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    419bc2f View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2022

  1. ci: get rust copied to final image.

    Piet authored and btashton committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    c5bdbc8 View commit details
    Browse the repository at this point in the history
  2. ci: add RUSTUP_HOME to get rustup parts into container

    Piet authored and btashton committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    fbfe457 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    75c5ae1 View commit details
    Browse the repository at this point in the history
  4. 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.
    yamt authored and xiaoxiang781216 committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    e5d7179 View commit details
    Browse the repository at this point in the history
  5. 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.
    yamt authored and xiaoxiang781216 committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    3aa83d6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3987d39 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2d67745 View commit details
    Browse the repository at this point in the history
  8. 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>
    Frozen935 authored and xiaoxiang781216 committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    1afdb06 View commit details
    Browse the repository at this point in the history
  9. nuttx/pty: pass read nonblock flag to pipe

    Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
    Frozen935 authored and xiaoxiang781216 committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    c7c9148 View commit details
    Browse the repository at this point in the history
  10. 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>
    Frozen935 authored and xiaoxiang781216 committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    37730a1 View commit details
    Browse the repository at this point in the history
  11. nuttx/pty: pty FIONBIO return -ENOTTY when pipe_ioctl return OK

    Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
    Frozen935 authored and xiaoxiang781216 committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    88e871b View commit details
    Browse the repository at this point in the history
  12. serial/pty:Don't assert EBUSY when pty unregister driver

    Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
    Frozen935 authored and xiaoxiang781216 committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    84b8820 View commit details
    Browse the repository at this point in the history
  13. pm: remove unnecessary depends on OSINIT_OS_READY

    Signed-off-by: ligd <liguiding1@xiaomi.com>
    GUIDINGLI authored and pkarashchenko committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    8785673 View commit details
    Browse the repository at this point in the history
  14. 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>
    GUIDINGLI authored and pkarashchenko committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    051bb32 View commit details
    Browse the repository at this point in the history
  15. 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>
    no1wudi authored and xiaoxiang781216 committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    db26059 View commit details
    Browse the repository at this point in the history
  16. Revert "os init_state: add new state OSINIT_IDLELOOP"

    This reverts commit 051bb32.
    masayuki2009 authored and pkarashchenko committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    fccdcf7 View commit details
    Browse the repository at this point in the history
  17. Revert "pm: remove unnecessary depends on OSINIT_OS_READY"

    This reverts commit 8785673.
    masayuki2009 authored and pkarashchenko committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    6a1a7bf View commit details
    Browse the repository at this point in the history
  18. arch/arm: replace SYS_syscall_return hardcode from syscall

    Signed-off-by: chao.an <anchao@xiaomi.com>
    anchao authored and xiaoxiang781216 committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    e0fabbf View commit details
    Browse the repository at this point in the history
  19. arch/armv7-a: replace SYS_signal_handler_return hardcode

    Signed-off-by: chao.an <anchao@xiaomi.com>
    anchao authored and xiaoxiang781216 committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    0aa0022 View commit details
    Browse the repository at this point in the history
  20. serial/pty: Remove the TODO comment for O_NONBLOCK

    since it is fully suppported now
    
    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and acassis committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    630b55f View commit details
    Browse the repository at this point in the history
  21. pty: Move the post process after reading the buffer

    to simplify the code logic
    
    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 authored and pkarashchenko committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    a5a25f7 View commit details
    Browse the repository at this point in the history
  22. 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>
    zhuyanlinzyl authored and acassis committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    7b00c8b View commit details
    Browse the repository at this point in the history
  23. 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>
    xiaoxiang781216 committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    f1ed349 View commit details
    Browse the repository at this point in the history
  24. boards: Remove CONFIG_CLOCK_MONOTONIC from all defconfig

    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
    xiaoxiang781216 committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    9836c6b View commit details
    Browse the repository at this point in the history
  25. 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
    gregory-nutt authored and xiaoxiang781216 committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    1ded8bb View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2022

  1. ci: harmonize rust installation paths.

    Piet authored and xiaoxiang781216 committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    29c55cd View commit details
    Browse the repository at this point in the history
  2. arch/armv7-a: unify switch context from software interrupt

    Signed-off-by: chao.an <anchao@xiaomi.com>
    anchao authored and masayuki2009 committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    61cd9df View commit details
    Browse the repository at this point in the history
  3. arch/armv7-r: unify switch context from software interrupt

    Signed-off-by: chao.an <anchao@xiaomi.com>
    anchao authored and masayuki2009 committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    db3a40a View commit details
    Browse the repository at this point in the history
  4. arch/arm: unify switch context from software interrupt

    Signed-off-by: chao.an <anchao@xiaomi.com>
    anchao authored and masayuki2009 committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    6cc0aaf View commit details
    Browse the repository at this point in the history
  5. boards/sama5: update the reserved syscall count

    Signed-off-by: chao.an <anchao@xiaomi.com>
    anchao authored and masayuki2009 committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    d93fb52 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    755cb52 View commit details
    Browse the repository at this point in the history