Comments (2)
- 你有解决了嘛?
- 我看着也认为这是bug
将rt_timer_check
移动到rt_tick_set
后面既可;,这一块代码在中断屏蔽中执行,可以通过断言
/* enter lower power state */
pm_sleep(pm, pm->sleep_mode);
/* wake up from lower power state*/
if (pm->timer_mask & (0x01 << pm->sleep_mode))
{
delta_tick = pm_lptimer_get_timeout(pm);
pm_lptimer_stop(pm);
if (delta_tick)
{
rt_tick_set(rt_tick_get() + delta_tick);
rt_timer_check();
}
}
/* resume all device */
_pm_device_resume(pm->sleep_mode);
if (_pm_notify.notify)
_pm_notify.notify(RT_PM_EXIT_SLEEP, pm->sleep_mode, _pm_notify.data);
rt_pm_exit_critical(level, pm->sleep_mode);
from rt-thread.
fixed: #9172
from rt-thread.
Related Issues (20)
- [Feature] rtt进入临界区直接粗暴的关掉全局中断,为何不像FreeRtos那样,只关闭受操作系统管理的中断,而不关闭不受操作系统管理的中断 HOT 4
- [Bug] cvitek 驱动初始化改成 INIT_DEVICE_EXPORT HOT 1
- [Bug] Failed to bringup with ARCH_KERNEL_REMAP & ARCH_USING_ASID enabled
- [Bug] counting of vsz on ps/top commands is not correct
- [Feature] 内核中是否可以去掉结构体typedef定义的可行性 HOT 1
- [Bug] GD32303系列BSP移植过程遇到问题 HOT 2
- [Feature] 整理 libcpu 下的 Kconfig 文件 | Separate Kconfig under libcpu to each architectures
- [Feature] _serial_fifo_rx in serial.c can be better
- [Bug] cvitek adc spi wdt 驱动中,局部函数收敛 HOT 3
- [Bug] components/fal/samples/porting /fal_flash_stm32f2_port.c erase
- [Bug] bsp/cvitek aarch64 failed to build HOT 5
- [Feature] PR #9194 存在问题 | Unresolved thread on PR #9194 HOT 1
- [Bug] bsp/cvitek/drivers pinmux driver can not support cv18xx_aarch64
- [Bug] USB UAC1 is not working with smartphone. HOT 2
- [Bug] bsp/cvitek documentation needs cleanup HOT 4
- [Bug] bsp/cvitek/drivers gpio driver can not support cv18xx_aarch64 HOT 1
- [Bug] bsp/cvitek/drivers uart driver can not support cv18xx_aarch64 HOT 1
- [Bug] Could not compile the rt-thread\bsp\stm32\stm32f429-fire-challenger in
- [Feature] bsp/cvitek: drivers_path_prefix can be optimized
- [Bug] bsp/qemu-virt64-riscv/SConstruct 中的 stack_size 问题 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rt-thread.