Oopenvela-robotarm_m: merge arm/include/armv6/7/8-m/nvicpri.h into arm_m
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
dns: fix dns failed when ipv4/6 dual stack enable The ipv6 address filled the cache, and the ipv4 address did not have a place to store it, causing the resolution to fail. so if IPV6 has already filled the buffer, rewrite ipv4 DNS results from half of the buffer. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
dns: fix dns failed when ipv4/6 dual stack enable The ipv6 address filled the cache, and the ipv4 address did not have a place to store it, causing the resolution to fail. so if IPV6 has already filled the buffer, rewrite ipv4 DNS results from half of the buffer. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
nrf52/serial: always compile nrf52_serial.c So the up_putc function gets defined, just like most of other arch. Fixed compile error: nuttx/arch/arm/src/common/arm_nputs.c:44:(.text.up_nputs+0x12): undefined reference to up_putc' Make.defs has been modified before, this commit aligns CMakeLists.txt`. Signed-off-by: v-tangmeng <v-tangmeng@xiaomi.com> | 2 个月前 | |
armv7/8m: fix regresion from https://github.com/apache/nuttx/pull/14881 reason: svc call may trigger hardfault Background The origin of this issue is our desire to eliminate the function of storing "regs" in g_current_regs and instead utilize (*running_task)->xcp.regs for storage. The benefits of this approach include faster storage speed and avoiding multiple accesses to g_current_regs during context switching, thus ensuring that whether returning from an interrupt or an exception, we consistently use this_task()->xcp.regs Issue Encountered However, when storing registers, we must ensure that (running_task)->xcp.regs is invalid so that it can be safely overwritten. According to the existing logic, the only scenario where (running_task)->xcp.regs is valid is during restore_context. We must accurately identify this scenario. Initially, we used the condition (running_task)==NULL for this purpose, but we deemed this approach unsatisfactory as it did not align well with the actual logic. (running_task) should not be NULL. Consequently, we adopted other arch-specific methods for judgment, but due to special logic in some arch, the judgment was not accurate, leading to this issue. Solution: For armv6-m, we haven't found a more suitable solution, so we are sticking with (*running_task)==NULL. For armv7-m/armv8-m, by removing support for primask, we can achieve accurate judgment. PRIMASK is a design in armv6-m, that's why arm introduce BASEPRI from armv7-m. It's wrong to provide this option for armv7-m/armv8-m arch. Signed-off-by: hujun5 <hujun5@xiaomi.com> | 2 个月前 | |
nrf52/serial: always compile nrf52_serial.c So the up_putc function gets defined, just like most of other arch. Fixed compile error: ./tools/configure.sh -l arduino-nano-33ble/usbnsh; make -j nproc /home/work/ssd1/workspace/Vela-Multi-Boards-dev-system-CI/nuttx/arch/arm/src/common/arm_nputs.c:44: undefined reference to `up_putc' collect2: error: ld returned 1 exit status Signed-off-by: xuxingliang <xuxingliang@xiaomi.com> | 2 个月前 | |
Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.1-0507 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> | 2 个月前 | |
arch: Merge up_arch.h into up_internal.h neededby:partner_4262 Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
dns: fix dns failed when ipv4/6 dual stack enable The ipv6 address filled the cache, and the ipv4 address did not have a place to store it, causing the resolution to fail. so if IPV6 has already filled the buffer, rewrite ipv4 DNS results from half of the buffer. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.3-0806 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> | 2 个月前 | |
arch: Change the linker generated symbols from uint32_t to uint8_t * and remove the duplicated declaration Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
arch: Merge up_arch.h into up_internal.h neededby:partner_4262 Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.1-0507 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> | 2 个月前 | |
Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.1-0507 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> | 2 个月前 | |
dns: fix dns failed when ipv4/6 dual stack enable The ipv6 address filled the cache, and the ipv4 address did not have a place to store it, causing the resolution to fail. so if IPV6 has already filled the buffer, rewrite ipv4 DNS results from half of the buffer. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
use small lock in following files: arch/arm/src/kinetis/kinetis_serial.c arch/arm/src/kl/kl_serial.c arch/arm/src/lc823450/lc823450_irq.c arch/arm/src/lc823450/lc823450_syscontrol.c arch/arm/src/lpc54xx/lpc54_serial.c arch/arm/src/max326xx/max32660/max32660_dma.c arch/arm/src/max326xx/max32660/max32660_gpio.c arch/arm/src/max326xx/max32660/max32660_lowputc.c arch/arm/src/max326xx/max32660/max32660_serial.c arch/arm/src/mx8mp/mx8mp_serial.c arch/arm/src/nrf52/nrf52_gpio.c arch/arm/src/nrf53/nrf53_gpio.c arch/arm/src/nrf91/nrf91_gpio.c arch/arm/src/rp2040/rp2040_uart.c Signed-off-by: hujun5 <hujun5@xiaomi.com> | 2 个月前 | |
Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.1-0507 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> | 2 个月前 | |
arch/arm: fix compile error. error: implicit declaration of function 'enter_critical_section' [-Werror=implicit-function-declaration] error: implicit declaration of function 'leave_critical_section' [-Werror=implicit-function-declaration] Signed-off-by: v-tangmeng <v-tangmeng@xiaomi.com> | 2 个月前 | |
dns: fix dns failed when ipv4/6 dual stack enable The ipv6 address filled the cache, and the ipv4 address did not have a place to store it, causing the resolution to fail. so if IPV6 has already filled the buffer, rewrite ipv4 DNS results from half of the buffer. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
dns: fix dns failed when ipv4/6 dual stack enable The ipv6 address filled the cache, and the ipv4 address did not have a place to store it, causing the resolution to fail. so if IPV6 has already filled the buffer, rewrite ipv4 DNS results from half of the buffer. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.3-0806 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> | 2 个月前 | |
Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.3-0806 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> | 2 个月前 | |
Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.1-0507 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> | 2 个月前 | |
power: add PM_IDLE_DOMAIN to pm.h and remove definations Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
arch/arm: fix compile error. error: implicit declaration of function 'enter_critical_section' [-Werror=implicit-function-declaration] error: implicit declaration of function 'leave_critical_section' [-Werror=implicit-function-declaration] Signed-off-by: v-tangmeng <v-tangmeng@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
arch/arm: fix compile error. error: implicit declaration of function 'enter_critical_section' [-Werror=implicit-function-declaration] error: implicit declaration of function 'leave_critical_section' [-Werror=implicit-function-declaration] Signed-off-by: v-tangmeng <v-tangmeng@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
arm_m: merge arm/include/armv6/7/8-m/nvicpri.h into arm_m We should reduce the dup of code Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.1-0507 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.3-0806 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> | 2 个月前 | |
arch/arm:use UP_DSB, UP_DMB, UP_ISB as barrier standard API Signed-off-by: lipengfei28 <lipengfei28@xiaomi.com> | 2 个月前 | |
dns: fix dns failed when ipv4/6 dual stack enable The ipv6 address filled the cache, and the ipv4 address did not have a place to store it, causing the resolution to fail. so if IPV6 has already filled the buffer, rewrite ipv4 DNS results from half of the buffer. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
pm: Move pm_initialize call from driver_initialize to xxx_pminitialize since it's too late with the below commit: ommit a594a5d7a8dcd756884ca7d3449f37ba77f96af3 Author: chao.an <anchao@xiaomi.com> Date: Mon Apr 11 19:44:26 2022 +0800 sched/init: drivers_initialize() should be late than up_initialize() up_initialize | ->up_serialinit | ->uart_register /* ("/dev/console", &CONSOLE_DEV); */ drivers_initialize | ->syslog_console_init | ->register_driver /* ("/dev/console", &g_consoleops, 0666, NULL); */ Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
arch: Merge up_arch.h into up_internal.h neededby:partner_4262 Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
arch/{nrf52|nrf53}/pwm: fix compilation for MULTICHAN not set | 2 个月前 | |
Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.3-0806 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> | 2 个月前 | |
arch/arm:use UP_DSB, UP_DMB, UP_ISB as barrier standard API Signed-off-by: lipengfei28 <lipengfei28@xiaomi.com> | 2 个月前 | |
dns: fix dns failed when ipv4/6 dual stack enable The ipv6 address filled the cache, and the ipv4 address did not have a place to store it, causing the resolution to fail. so if IPV6 has already filled the buffer, rewrite ipv4 DNS results from half of the buffer. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
Fix the coding style and typo issue Signed-off-by: anjiahao <anjiahao@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.3-0806 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
arm_m: merge arm/include/armv6/7/8-m/nvicpri.h into arm_m We should reduce the dup of code Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.1-0507 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> | 2 个月前 | |
arch/arm: fix compile error. error: implicit declaration of function 'enter_critical_section' [-Werror=implicit-function-declaration] error: implicit declaration of function 'leave_critical_section' [-Werror=implicit-function-declaration] Signed-off-by: v-tangmeng <v-tangmeng@xiaomi.com> | 2 个月前 | |
Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.1-0507 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> | 2 个月前 | |
arch/arm:use UP_DSB, UP_DMB, UP_ISB as barrier standard API Signed-off-by: lipengfei28 <lipengfei28@xiaomi.com> | 2 个月前 | |
Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.3-0806 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> | 2 个月前 | |
libc: add instrument api support Add registration function instrumentation API, which can achieve instrumentation of entering and exiting functions through the compiler's functionality. We can use CONFIG_ARCH_INSTRUMENT_ALL to add instrumentation for all source, or add '-finstrument-functions' to CFLAGS for Part of the source. Notice: 1. use CONFIG_ARCH_INSTRUMENT_ALL must mark _start or entry noinstrument_function, becuase bss not set. 2. Make sure your callbacks are not instrumented recursively. use instrument_register to register entry function and exit function. They will be called by the instrumented function Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 2 个月前 | |
Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.1-0507 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> | 2 个月前 | |
Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.1-0507 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> | 2 个月前 | |
compile: fix compile error error: implicit declaration of function 'enter_critical_section' [-Werror=implicit-function-declaration] error: implicit declaration of function 'leave_critical_section' [-Werror=implicit-function-declaration] Signed-off-by: v-tangmeng <v-tangmeng@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.3-0806 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> | 2 个月前 | |
arch/arm: fix compile error. error: implicit declaration of function 'enter_critical_section' [-Werror=implicit-function-declaration] error: implicit declaration of function 'leave_critical_section' [-Werror=implicit-function-declaration] Signed-off-by: v-tangmeng <v-tangmeng@xiaomi.com> | 2 个月前 | |
Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.3-0806 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> | 2 个月前 | |
arch/{nrf52|nrf53}/uid: specify the length of the UID array | 2 个月前 | |
arch/{nrf52|nrf53}/uid: specify the length of the UID array | 2 个月前 | |
arch/arm: fix compile error. error: implicit declaration of function 'enter_critical_section' [-Werror=implicit-function-declaration] error: implicit declaration of function 'leave_critical_section' [-Werror=implicit-function-declaration] Signed-off-by: v-tangmeng <v-tangmeng@xiaomi.com> | 2 个月前 | |
nrf52: add usb support | 2 个月前 | |
arch/{nrf52|nrf53}: validate if EasyDMA transfer is possible Add an interface that validate if EasyDMA transfer is possible. EasyDMA cannot access flash memory which can cause hard to detect silent bugs. This feature is enabled if CONFIG_DEBUG_FEATURES=y and CONFIG_DEBUG_ASSERTIONS=y. | 2 个月前 | |
arch: Merge up_arch.h into up_internal.h neededby:partner_4262 Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.1-0507 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> | 2 个月前 | |
arch/arm: fix compile error. error: implicit declaration of function 'enter_critical_section' [-Werror=implicit-function-declaration] error: implicit declaration of function 'leave_critical_section' [-Werror=implicit-function-declaration] Signed-off-by: v-tangmeng <v-tangmeng@xiaomi.com> | 2 个月前 | |
Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.3-0806 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> | 2 个月前 |