rt-thread
rt-thread copied to clipboard
RT-Thread is an open source IoT real-time operating system (RTOS).
rt_thread中如何使用arm CM33内核的TrustZone?打开宏定义ARM_CM33_ENABLE_TRUSTZONE时报错(TZ_StoreContext_S等函数未定义错误)
## 拉取/合并请求描述:(PR description) [ 为什么提交这份PR (why to submit this PR) cortex-a平台下,中断中如果使用浮点计算会破坏线程栈中的浮点寄存器 你的解决方案是什么 (what is your solution) 对中断进行浮点寄存器的保护 在什么测试环境下测试通过 (what is the test environment) 在stm32mp135fae7上,基于lts-v4.1.x分支测试OK。 ] ### 当前拉取/合并请求的状态 Intent for your...
## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) 增加cpu使用率的功能,能够方便的查看每个线程在单位时间内的cpu使用率 #### 你的解决方案是什么 (what is your solution) 1. 使用scheduler hook函数统计每个线程占用cpu的时间。 2. 通过定时器事件周期性计算cpu使用率并更新显示。 3. 命令开始执行时注册hook函数,动态创建统计所需的内存并绑定到线程的userdata,命令退出时清除hook函数,并释放内存。命令退出后不占用cpu和内存。 4. 默认情况下使用tick计数统计cpu使用率,如果用户重写了三个weak函数,则能够使用硬件计数精确的统计每个线程的cpu使用率和cpu cycle。 5. 使用pingpang...
## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) lwp_pid_get_locked中,当未找到pid时,返回的pid为current_pid + 1。 #### 你的解决方案是什么 (what is your solution) 判断pid是否被找到l。 #### 在什么测试环境下测试通过 (what is the test environment) ] ###...
如题, 因当在有可能涉及到smp的代码中都加入检测,单片机的bsp可以忽略掉 大锁代码 ```c rt_hw_interrupt_disable rt_hw_interrupt_enable ```
This records the changes that need to be synchronized to v4.1.2 - [ ] https://github.com/RT-Thread/rt-thread/pull/8190
芯片: `STM32F407IGT6` RT-Thread版本: `4.0.3` lwip版本: `2.0.2`(RT-Thread自带) 工具链: `RT-Thread Studio 2.2.6 202211231640` - 问题描述: 我在我的板子上有两个网口,一个使用STM32F407默认的网卡+DM9161的PHY芯片,使用RT-Thread提供的物理层驱动注册网卡;另一个使用FSMC+DM9000A的方案,自己写了个DM9000的物理层驱动,最后调用`eth_device_init()`函数完成初始化。 实际使用时,两个网卡分别插网线,都能实现dhcp自动分配ip地址,并完成通信。 目前的问题是,串口终端输入ifconfig命令时,并不能准确的打印出netdev网卡模块中的设备信息,描述如下: 1. 我将两个网卡分别(上述顺序)在`eth_device_init()`函数中注册为"e0"和"e1"两个名字 2. 在ifconfig中只能显示出"e0"的正确ip等信息,"e1"网卡虽有该条目,但ip等信息均为0.0.0.0等空信息 效果如下 ```bash msh />ifconfig network interface device: e0 MTU: 1500...
Dear RT-Thread community, During the invocation of scons on the BSP for at32uc3b, the compilation fails at syscalls.c. Here is the gist of the problem. ``` $ scons scons: Reading...
Is the BLE functionality supported with this chip? Thanks.